feat: enhance web search plugin configuration

- Added `sources` array to the default web search configuration, allowing for multiple source types including 'web', 'x', and 'news'.
- This update improves the flexibility and functionality of the web search plugin.
This commit is contained in:
MyPrototypeWhat 2025-07-08 15:24:46 +08:00
parent 8317ad55e7
commit 4bfff85dc8

View File

@ -47,7 +47,8 @@ export const DEFAULT_WEB_SEARCH_CONFIG: WebSearchPluginConfig = {
xai: {
mode: 'on',
returnCitations: true,
maxSearchResults: 5
maxSearchResults: 5,
sources: [{ type: 'web' }, { type: 'x' }, { type: 'news' }]
},
anthropic: {
maxUses: 5