mirror of
https://github.com/modelcontextprotocol/servers.git
synced 2026-02-19 11:54:58 -05:00
fix sampling
This commit is contained in:
@@ -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}` }],
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user