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:
1 parent
1df2df6823
commit
d808dbdb44
21 files changed
+91
-147
No files matched your search
@@ -364,7 +364,7 @@ async def test_deepseek_v4_pro_uses_responses_api() -> None:
|
||||
call_kwargs = mock_responses.call_args.kwargs
|
||||
assert call_kwargs["model"] == "deepseek-v4-pro"
|
||||
assert call_kwargs["reasoning"] == {"effort": "none"}
|
||||
assert call_kwargs["tools"] == [{"type": "web_search"}]
|
||||
assert "tools" not in call_kwargs
|
||||
assert "include" not in call_kwargs
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user