Merge pull request #500 from SecretiveShell/main

fix sampling
This commit is contained in:
David Soria Parra 2025-01-08 20:19:13 +00:00 • committed by GitHub
commit 538a6a3e67
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -411,7 +411,7 @@ export const createServer = () => {
maxTokens,
);
return {
content: [{ type: "text", text: `LLM sampling result: ${result}` }],
content: [{ type: "text", text: `LLM sampling result: ${result.content.text}` }],
};
}