fix(providers): remove obsolete DeepSeek hosted search

Keep nanobot web_search available on DeepSeek Responses, including old saved hosted-tool settings, and remove the switch and user-facing claims.

Preserve legacy API_TYPE and APITYPE environment selectors during OpenAI connection migration.
This commit is contained in:
chengyongru authored and chengyongru committed 2026-10-10 01:33:02 +08:00
1 parent 1df2df6823
commit d808dbdb44
21 files changed
+91 -147

No files matched your search

@@ -106,15 +106,6 @@ const PROVIDER_REQUEST_OPTIONS: Partial<Record<string, ProviderRequestOption[]>>
toolType: "web_search",
forceResponses: true,
}],
deepseek: [{
kind: "hosted_tool",
titleKey: "settings.providers.capabilityDeepSeekSearch",
title: "DeepSeek web search",
helpKey: "settings.providers.capabilityDeepSeekSearchHelp",
help: "Let DeepSeek V4 Flash search the web through its Responses API. Search activity appears in chat.",
toolType: "web_search",
defaultEnabled: true,
}],
xai_grok: [{
kind: "hosted_tool",
titleKey: "settings.providers.capabilityXSearch",