chore: upgrade to rmcp 0.14.0 (#6674)
This commit is contained in:
@@ -6,7 +6,7 @@ use goose::providers::anthropic::ANTHROPIC_DEFAULT_MODEL;
|
||||
use goose::providers::create_with_named_model;
|
||||
use goose::providers::databricks::DATABRICKS_DEFAULT_MODEL;
|
||||
use goose::providers::openai::OPEN_AI_DEFAULT_MODEL;
|
||||
use rmcp::model::{CallToolRequestParam, Content, Tool};
|
||||
use rmcp::model::{CallToolRequestParams, Content, Tool};
|
||||
use rmcp::object;
|
||||
use std::fs;
|
||||
use std::sync::Arc;
|
||||
@@ -33,7 +33,8 @@ async fn main() -> Result<()> {
|
||||
Message::user().with_text("Read the image at ./test_image.png please"),
|
||||
Message::assistant().with_tool_request(
|
||||
"000",
|
||||
Ok(CallToolRequestParam {
|
||||
Ok(CallToolRequestParams {
|
||||
meta: None,
|
||||
task: None,
|
||||
name: "view_image".into(),
|
||||
arguments: Some(object!({"path": "./test_image.png"})),
|
||||
|
||||
Reference in New Issue
Block a user