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:
pakrym-oai
2026-10-02 22:55:08 +00:00
committed by copyberry
parent 9b0a676d5d
commit fd75aa116c
15 changed files with 12 additions and 64 deletions
@@ -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")]