Skip to content

Fix inherited availability metadata for Bedrock models#30897

Merged
shijie-oai merged 1 commit into
mainfrom
shijie/fix-bedrock-availability-nux
Jul 2, 2026
Merged

Fix inherited availability metadata for Bedrock models#30897
shijie-oai merged 1 commit into
mainfrom
shijie/fix-bedrock-availability-nux

Conversation

@shijie-oai

@shijie-oai shijie-oai commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator

Why

Amazon Bedrock's static catalog derives its GPT model definitions from bundled OpenAI model metadata. The GPT-5.6 variants introduced in #30285 clone GPT-5.5, which carries an availability_nux; because app-server forwards that metadata through model/list, clients can show GPT-5.5 launch copy for a GPT-5.6 Bedrock model.

upgrade is also model-catalog availability metadata and should not be inherited by provider-specific Bedrock models.

What changed

  • Clear availability_nux and upgrade when constructing static Bedrock GPT models.
  • Add a regression test asserting that every static Bedrock model omits both fields.

Testing

  • just test -p codex-model-provider

@shijie-oai shijie-oai changed the title Fix Bedrock models inheriting availability metadata Fix inherited availability metadata for Bedrock models Jul 2, 2026
@shijie-oai shijie-oai marked this pull request as ready for review July 2, 2026 04:23
@shijie-oai shijie-oai merged commit cbdd7f0 into main Jul 2, 2026
62 of 66 checks passed
@shijie-oai shijie-oai deleted the shijie/fix-bedrock-availability-nux branch July 2, 2026 17:01
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 2, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants