feat(ai): unify model discovery and effort handling

This commit is contained in:
Guoyu Su authored and GitHub committed 2026-07-28 21:37:55 +08:00
1 parent c54b95e274
commit c7e7b7c9d9
41 files changed
+3291 -634

No files matched your search

+2 -1
View File
@@ -300,7 +300,8 @@ impl DbxBackend for LocalBackend {
arguments: Value,
permissions: AgentSqlPermissions,
) -> ToolResult {
let call = ToolCall { id: format!("mcp-{tool_name}"), name: tool_name.to_string(), arguments };
let call =
ToolCall { id: format!("mcp-{tool_name}"), name: tool_name.to_string(), arguments, provider_payload: None };
agent_tools::execute_tool(&call, &self.state, &connection.id, database, &connection.db_type, permissions).await
}