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
View File
@@ -39,6 +39,7 @@ access_key_or_token = "sk-replace-me"
# access_key_or_token = "sk-replace-me"
# url = "https://api.openai.com/v1"
# # Hosted/provider-side tools (OpenAI runs them; not local ToolRegistry).
# # Default if omitted: [{ type = "web_search" }]. Use [] to disable.
# # Examples: web_search, file_search (+ vector_store_ids), code_interpreter, mcp.
# provider_tools = [
# { type = "web_search" },