Update to rmcp 1.1.0 (#7619)

Co-authored-by: Alex Hancock <alexhancock@block.xyz>
This commit is contained in:
Jack Amadeo
2026-03-05 21:40:52 -05:00
committed by GitHub
parent abadb87892
commit 325bf396af
61 changed files with 729 additions and 1757 deletions
+3 -15
View File
@@ -972,11 +972,7 @@ mod tests {
Message::user().with_text("user text"),
Message::assistant().with_text("assistant prelude").with_tool_request(
"call-1",
Ok(CallToolRequestParams {
meta: None, task: None,
name: "tool_name".into(),
arguments: Some(object!({"param": "value"})),
}),
Ok(CallToolRequestParams::new("tool_name").with_arguments(object!({"param": "value"}))),
),
Message::user().with_tool_response(
"call-1",
@@ -998,11 +994,7 @@ mod tests {
Message::user().with_text("user text"),
Message::assistant().with_tool_request(
"call-1",
Ok(CallToolRequestParams {
meta: None, task: None,
name: "tool_name".into(),
arguments: Some(object!({"param": "value"})),
}),
Ok(CallToolRequestParams::new("tool_name").with_arguments(object!({"param": "value"}))),
),
Message::user().with_tool_response(
"call-1",
@@ -1023,11 +1015,7 @@ mod tests {
Message::user().with_text("user text"),
Message::assistant().with_tool_request(
"call-1",
Ok(CallToolRequestParams {
meta: None, task: None,
name: "tool_name".into(),
arguments: Some(object!({"param": "value"})),
}),
Ok(CallToolRequestParams::new("tool_name").with_arguments(object!({"param": "value"}))),
),
Message::user().with_tool_response(
"call-1",