mirror of
https://github.com/openai/codex.git
synced 2026-10-19 17:28:46 +00:00
Remove the provider capability gate for tool namespaces (#50447)
## What changed - Remove `namespace_tools` from `ProviderCapabilities` and `namespaceTools` from `ModelProviderCapabilitiesReadResponse`, updating generated schemas and SDK types. - Preserve tool namespaces and configured collaboration tool namespaces without a provider capability check, and always use Responses Lite tool serialization for Responses Lite requests. - Gate tool search on `supports_search_tool` and retain the existing image generation and web search checks without requiring a namespace capability. GitOrigin-RevId: ae1843563736765a40e03a02c41ff5e470018a93
This commit is contained in:
@@ -2817,7 +2817,6 @@ class ModelProviderCapabilitiesReadResponse(BaseModel):
|
||||
populate_by_name=True,
|
||||
)
|
||||
image_generation: Annotated[bool, Field(alias="imageGeneration")]
|
||||
namespace_tools: Annotated[bool, Field(alias="namespaceTools")]
|
||||
web_search: Annotated[bool, Field(alias="webSearch")]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user