chore: upgrade to rmcp 0.14.0 (#6674)

This commit is contained in:
Alex Hancock
2026-01-23 14:52:43 -05:00
committed by GitHub
parent ca7577ae49
commit 8233f0afac
37 changed files with 305 additions and 209 deletions
+5 -3
View File
@@ -429,7 +429,7 @@ mod tests {
},
};
use async_trait::async_trait;
use rmcp::model::{AnnotateAble, CallToolRequestParam, RawContent, Tool};
use rmcp::model::{AnnotateAble, CallToolRequestParams, RawContent, Tool};
struct MockProvider {
message: Message,
@@ -517,7 +517,8 @@ mod tests {
Message::user().with_text("read hello.txt"),
Message::assistant().with_tool_request(
"tool_0",
Ok(CallToolRequestParam {
Ok(CallToolRequestParams {
meta: None,
task: None,
name: "read_file".into(),
arguments: None,
@@ -557,7 +558,8 @@ mod tests {
for i in 0..10 {
messages.push(Message::assistant().with_tool_request(
format!("tool_{}", i),
Ok(CallToolRequestParam {
Ok(CallToolRequestParams {
meta: None,
task: None,
name: "read_file".into(),
arguments: None,