feat!: align model types with MCP 2025-11-25 spec (#927)
* feat!: align model types with MCP 2025-11-25 spec * fix: complete 2025-11-25 model spec conformance
This commit is contained in:
parent
42a1069833
commit
77932141e3
1 changed files with 4321 additions and 3886 deletions
|
|
@ -40,7 +40,7 @@ impl Demo {
|
|||
&self,
|
||||
chat_request: Parameters<ChatRequest>,
|
||||
) -> Result<CallToolResult, McpError> {
|
||||
let content = Content::json(chat_request.0)?;
|
||||
let content = ContentBlock::json(chat_request.0)?;
|
||||
Ok(CallToolResult::success(vec![content]))
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue