Files
config-center/api-providers/web-search/tavily.json
Yige ef632d4e6a feat(api-providers): 新增 web_search / image_understanding 声明式后端默认配置 (#31)
- api-providers/{web-search,image-understanding}/*.json + _index.json
- 新增 schemas/api-provider.schema.json,validate.mjs 纳入校验(CI 自检)
- 不改 compute/ 与 manifest,presetDataVersion 不变:老客户端忽略新目录,线上不受影响

Co-authored-by: yi-ge <jackyoncode@gmail.com>
2026-06-09 09:54:27 +08:00

24 lines
547 B
JSON

{
"id": "tavily",
"name": "Tavily",
"capability": "web_search",
"enabled": false,
"builtin": true,
"priority": 10,
"endpoint": "https://api.tavily.com/search",
"method": "POST",
"auth": { "type": "bearer", "apiKeyRef": "tavily" },
"request": {
"bodyTemplate": {
"query": "${query}",
"max_results": "${maxResults}",
"search_depth": "basic"
}
},
"response": {
"resultsPath": "results",
"item": { "titlePath": "title", "urlPath": "url", "snippetPath": "content" }
},
"timeoutMs": 10000
}