Update to rmcp 1.1.0 (#7619)
Co-authored-by: Alex Hancock <alexhancock@block.xyz>
This commit is contained in:
@@ -226,12 +226,10 @@ impl OllamaInterpreter {
|
||||
let arguments = item["arguments"].clone();
|
||||
|
||||
// Add the tool call to our result vector
|
||||
tool_calls.push(CallToolRequestParams {
|
||||
meta: None,
|
||||
task: None,
|
||||
name: name.into(),
|
||||
arguments: Some(object(arguments)),
|
||||
});
|
||||
tool_calls.push(
|
||||
CallToolRequestParams::new(name)
|
||||
.with_arguments(object(arguments)),
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user