Skip to content

Support openai wif#728

Merged
Ken Jiang (knjiang) merged 4 commits into
mainfrom
06-02-add_openai_schema_change
Jun 3, 2026
Merged

Support openai wif#728
Ken Jiang (knjiang) merged 4 commits into
mainfrom
06-02-add_openai_schema_change

Conversation

@knjiang
Copy link
Copy Markdown
Contributor

No description provided.

@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 3, 2026

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

Project Deployment Actions Updated (UTC)
ai-proxy Ready Ready Preview, Comment Jun 3, 2026 3:07pm

Request Review

Copy link
Copy Markdown
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@knjiang Ken Jiang (knjiang) marked this pull request as ready for review June 3, 2026 14:54
@knjiang Ken Jiang (knjiang) changed the title add openai schema change Support openai wif Jun 3, 2026
Comment thread packages/proxy/schema/index.test.ts Outdated
secret: "__OPENAI_WIF__",
type: "openai",
metadata: {
auth_type: "workload_identity_federation",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

is this what we want? the other providers do accept WIF as an auth_type -- its not gonna be the biggest deal either way right now, because on the control plane we transform the auth_type into bearer before storing, but if this accidentally got saved to the data plane, it would break all secret parsing.

mostly though, we probably want to keep behavior consistent across the different providers.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

oh yeah, forgot about that. let me change it back so we are consistnet

@knjiang Ken Jiang (knjiang) merged commit 3827ca5 into main Jun 3, 2026
8 of 9 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