国产模型内置的搜索工具
yjian zhu
·
2026-04-27
·
via LINUX DO - 最新话题
不清楚国产模型内置的搜索工具怎么使用,对比如何,以及在claude code等vibe coding工具中触发。这里以小米mimo为例, Xiaomi MiMo API Open Platform 是在tools参数里面配置。 --header "api-key: $MIMO_API_KEY" \ --header "Content-Type: application/json" \ --data-raw '{ "model": "mimo-v2.5-pro", "messages": [ { "role": "user", "content": "武汉明天天气怎么样?" } ], "tools": [ { "type": "web_search", "max_keyword": 3, "force_search": true, "limit": 1, "user_location": { "type": "approximate", "country": "China", "region": "Hubei", "city": "Wuhan" } } ], "max_completion_tokens": 1024, "temperature": 1.0, "top_p": 0.95, "stream": false, "stop": null, "frequency_penalty": 0, "presence_penalty": 0, "thinking": { "type": "disabled" } }'``` 2 个帖子 - 1 位参与者 阅读完整话题
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。