Revert "Internal MCP Crate Cleanup (#4800)" (#4883)

This commit is contained in:
Alex Hancock
2025-09-29 14:21:30 -04:00
committed by GitHub
parent 2cfef016e2
commit b9ba8dca29
78 changed files with 1090 additions and 844 deletions
+5 -5
View File
@@ -7,8 +7,8 @@ use goose::providers::{
anthropic, azure, bedrock, databricks, google, groq, litellm, ollama, openai, openrouter,
snowflake, xai,
};
use rmcp::model::Tool;
use rmcp::model::{AnnotateAble, Content, RawImageContent};
use rmcp::model::{CallToolRequestParam, Tool};
use rmcp::object;
use std::collections::HashMap;
use std::sync::Arc;
@@ -320,10 +320,10 @@ impl ProviderTester {
let user_message = Message::user().with_text("Take a screenshot please");
let tool_request = Message::assistant().with_tool_request(
"test_id",
Ok(CallToolRequestParam {
name: "get_screenshot".into(),
arguments: Some(object!({})),
}),
Ok(mcp_core::tool::ToolCall::new(
"get_screenshot",
serde_json::json!({}),
)),
);
let tool_response = Message::user().with_tool_response(
"test_id",