Repository navigation
fix(den-web): show Gateway sign-in providers as ready once set up - #7650
Merged
Merged
Conversation
The AI Gateway list judged a provider by whether the viewer could use it. A Vertex, Bedrock or Foundry provider whose members sign in with their own account has no shared key, so it read "Add a key" until the admin signed in personally, then flipped to "Ready". A configured member sign-in set now counts as set up, as LiteLLM with Microsoft sign-in already did. A sign-in set without its OAuth client still reads "Add a key". Signed-off-by: Jalil <reachjalil@gmail.com>
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
2 Skipped Deployments
|
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What is this about?
The AI Gateway provider list now shows "Ready" for a provider whose members sign in with their own account (Google for Vertex, AWS for Bedrock, Microsoft for Foundry) once its sign-in is set up.
What problem does it solve?
Admins were told to "Add a key" for a provider that has no shared key, so a correctly set-up provider looked broken.
What was the situation before?
The row read "Add a key" until the admin signed in personally, then flipped to "Ready". The status followed whether the viewer could use the provider, not whether it was set up.
How is this implemented?
ProviderRowininference-providers-screen.tsxcounts a configured member credential set as set up, as it already did for LiteLLM with Microsoft sign-in. Den reportsconfiguredonly when the sign-in settings are complete (for Google, an OAuth client ID and secret).What else changed?
none
Release note
AI Gateway no longer asks admins to "Add a key" for a sign-in provider that is already set up.
Evidence
No E2E;
ee/apps/den-web/app/(den)/dashboard/_components/inference-providers-screen.test.tsx— before: a set-up Vertex sign-in provider showed "Add a key" to an admin who had not signed in; after: it shows "Ready", and one missing its OAuth client still shows "Add a key".Design: P1