fix: 修复第三方 Anthropic base URL 应使用 ExaSearchAdapter 而非 BingSearchAdapter

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
claude-code-best
2026-04-23 21:52:16 +08:00
parent 85e5a8cffb
commit 9624f880e0

View File

@@ -47,7 +47,7 @@ export function createAdapter(): WebSearchAdapter {
? 'bing'
: isFirstPartyAnthropicBaseUrl()
? 'api'
: 'bing'
: 'exa'
if (cachedAdapter && cachedAdapterKey === adapterKey) return cachedAdapter