mirror of
https://github.com/openai/codex.git
synced 2026-11-20 22:40:37 +00:00
Remove model-selected Search MCP routing (#62808)
## What changed Use the turn's effective `web_search` mode for standalone and hosted web search. Remove model-selected Search MCP discovery, fallback, and provider tracking across thread resumes. Remove `web_search_provider` from model metadata, the `tools.client_search_provider` hint from configuration, and the `hosted_search_policy` feature flag. Update the app-server schemas and generated SDK types to match. GitOrigin-RevId: 59e3371f4a43d532a484db52d5998f6770292028
This commit is contained in:
@@ -7370,11 +7370,6 @@ class WebSearchMode(Enum):
|
||||
live = "live"
|
||||
|
||||
|
||||
class WebSearchProvider(Enum):
|
||||
standalone = "standalone"
|
||||
search_mcp = "search_mcp"
|
||||
|
||||
|
||||
class WebSearchToolConfig(BaseModel):
|
||||
model_config = ConfigDict(
|
||||
extra="forbid",
|
||||
@@ -12106,12 +12101,6 @@ class Config(BaseModel):
|
||||
),
|
||||
] = None
|
||||
browser_use: BrowserUseConfig | None = None
|
||||
client_search_provider: Annotated[
|
||||
WebSearchProvider | None,
|
||||
Field(
|
||||
description="Effective tools.client_search_provider hint. Model-selected providers take precedence."
|
||||
),
|
||||
] = None
|
||||
compact_prompt: str | None = None
|
||||
computer_use: ComputerUseConfig | None = None
|
||||
desktop: dict[str, Any] | None = None
|
||||
|
||||
Reference in New Issue
Block a user