Repository navigation
Add capability overrides for custom model providers - #50459
Merged
copyberry[bot] merged 1 commit intoOct 2, 2026
Merged
copyberry[bot] merged 1 commit into
copyberry[bot] merged 1 commit into
Conversation
## What changed Allow Responses-compatible providers to configure live web access and remote compaction under `model_providers.<id>.capabilities`: ```toml [model_providers.custom.capabilities] external_web_access = false remote_compaction = "v2" ``` `external_web_access = false` keeps hosted web search from accessing the live web. `remote_compaction` accepts `v2` to send `compaction_trigger` items through the Responses endpoint, or `unsupported` to use local compaction. Omitted capabilities retain existing provider defaults. ## Testing Add unit coverage for preserving unspecified defaults and a request-snapshot scenario verifying cached web search and V2 compaction for a custom provider. GitOrigin-RevId: fbcc4870aa51c112af575d711679a3941d1e7878
copyberry
Bot
force-pushed
the
copyberry/codex-internal-to-codex-oss/fbcc4870aa51c112af575d711679a3941d1e7878
branch
from
October 2, 2026 23:26
771aba6 to
c6049eb
Compare
copyberry
Bot
deleted the
copyberry/codex-internal-to-codex-oss/fbcc4870aa51c112af575d711679a3941d1e7878
branch
October 2, 2026 23:26
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add capability overrides for custom model providers
What changed
Allow Responses-compatible providers to configure live web access and remote compaction under
model_providers.<id>.capabilities:external_web_access = falsekeeps hosted web search from accessing the live web.remote_compactionacceptsv2to sendcompaction_triggeritems through the Responses endpoint, orunsupportedto use local compaction. Omitted capabilities retain existing provider defaults.Testing
Add unit coverage for preserving unspecified defaults and a request-snapshot scenario verifying cached web search and V2 compaction for a custom provider.