Skip to content

Revert "add responses to model flavor (#893)"#906

Merged
Ken Jiang (knjiang) merged 1 commit into
mainfrom
ken/revert
Jul 2, 2026
Merged

Revert "add responses to model flavor (#893)"#906
Ken Jiang (knjiang) merged 1 commit into
mainfrom
ken/revert

Conversation

@knjiang

Copy link
Copy Markdown
Contributor

This reverts commit d323865.

@vercel

vercel Bot commented Jul 2, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ai-proxy Ready Ready Preview, Comment Jul 2, 2026 1:53pm

Request Review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2fb545d5e7

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "Codex (@codex) review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "Codex (@codex) address that feedback".

"embedding",
"responses",
] as const;
export const ModelFlavors = ["chat", "completion", "embedding"] as const;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Restore responses flavor for custom models

When an API secret defines metadata.customModels for a Responses API-only/internal model with flavor: "responses", BaseMetadataSchema validates each entry with ModelSchema (packages/proxy/schema/secrets.ts:7). With this enum narrowed back to only chat/completion/embedding, APISecretSchema rejects those configured secrets before /responses requests can be routed, regressing the custom Responses model use case that the reverted change enabled.

Useful? React with 👍 / 👎.

@knjiang Ken Jiang (knjiang) merged commit 3b044f4 into main Jul 2, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants