Update to rmcp 1.1.0 (#7619)
Co-authored-by: Alex Hancock <alexhancock@block.xyz>
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user