core/config: default OpenAI provider_tools to web_search

Omitted provider_tools enables web_search; use [] to disable hosted tools.
This commit is contained in:
2026-07-15 21:43:39 +08:00
parent 84a83e0485
commit 074a3313ce
5 changed files with 17 additions and 3 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ def test_openai_provider_defaults_base_url() -> None:
client = create_client(provider)
assert isinstance(client, ResponsesChatClient)
assert hasattr(client, "chat_completions")
assert client._provider_tools == []
assert client._provider_tools == [{"type": "web_search"}]
def test_openai_provider_tools_passed_to_wrapper() -> None: