Skip to content

Commit 9624f88

Browse files
fix: 修复第三方 Anthropic base URL 应使用 ExaSearchAdapter 而非 BingSearchAdapter
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 85e5a8c commit 9624f88

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/builtin-tools/src/tools/WebSearchTool/adapters

packages/builtin-tools/src/tools/WebSearchTool/adapters/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export function createAdapter(): WebSearchAdapter {
4747
? 'bing'
4848
: isFirstPartyAnthropicBaseUrl()
4949
? 'api'
50-
: 'bing'
50+
: 'exa'
5151

5252
if (cachedAdapter && cachedAdapterKey === adapterKey) return cachedAdapter
5353

0 commit comments

Comments
 (0)