-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Feat azure OpenAI API migration to response API + minor UI improvement #6288
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
bioinfornatics
wants to merge
15
commits into
block:main
Choose a base branch
from
bioinfornatics:feat-azure-openai-entra-auth-ui
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Feat azure OpenAI API migration to response API + minor UI improvement #6288
bioinfornatics
wants to merge
15
commits into
block:main
from
bioinfornatics:feat-azure-openai-entra-auth-ui
Conversation
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
8550749 to
a8a84b0
Compare
d0d81c9 to
a0b2858
Compare
2bda0db to
f204b1e
Compare
DOsinga
reviewed
Jan 5, 2026
...top/src/components/settings/providers/modal/subcomponents/forms/DefaultProviderSetupForm.tsx
Outdated
Show resolved
Hide resolved
...top/src/components/settings/providers/modal/subcomponents/forms/DefaultProviderSetupForm.tsx
Outdated
Show resolved
Hide resolved
Collaborator
|
@katzdave can you have a look at this since you looked at the one we did for openai itself? we should make sure to reuse as much code as possible. haven't looked too closely in the auth mode stuff, but left some preliminary comments |
b80d783 to
4fd8598
Compare
Signed-off-by: Jonathan MERCIER <[email protected]>
Signed-off-by: Jonathan MERCIER <[email protected]>
Signed-off-by: Jonathan MERCIER <[email protected]>
Signed-off-by: Jonathan MERCIER <[email protected]>
Signed-off-by: Jonathan MERCIER <[email protected]>
4fd8598 to
e9f4be2
Compare
…t not azure openai Signed-off-by: Jonathan MERCIER <[email protected]>
Signed-off-by: Jonathan MERCIER <[email protected]>
Signed-off-by: Jonathan MERCIER <[email protected]>
Signed-off-by: Jonathan MERCIER <[email protected]>
Signed-off-by: Jonathan MERCIER <[email protected]>
Signed-off-by: Jonathan MERCIER <[email protected]>
Signed-off-by: Jonathan MERCIER <[email protected]>
Signed-off-by: Jonathan MERCIER <[email protected]>
ae026da to
ba1aa65
Compare
…Responses API Signed-off-by: Jonathan MERCIER <[email protected]>
Signed-off-by: Jonathan MERCIER <[email protected]>
ba1aa65 to
af14994
Compare
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.
Azure OpenAI Responses API support & auth UX improvements
This PR updates Azure OpenAI support in both the CLI and desktop app to match the Azure portal’s Responses API (including gpt‑5.x models) and makes configuration of authentication and endpoints much easier.
Highlights
api-versionvalues.Backend / CLI
Auth mode switch for Azure OpenAI
AZURE_OPENAI_AUTH_TYPEconfig key with two modes:api_key→ sendsapi-key: <AZURE_OPENAI_API_KEY>entra_id→ sendsAuthorization: Bearer <token from Azure CLI / default credentials>Endpoint and API version handling aligned with the portal
AZURE_OPENAI_ENDPOINTnow accepts:https://<resource>.cognitiveservices.azure.com)…/openai/responses)…/openai/responses?api-version=2025-04-01-preview)scheme://host[:port])api-versionextracted from the query string.AZURE_OPENAI_API_VERSIONis chosen with this priority:AZURE_OPENAI_API_VERSIONin config (if set)api-versionparsed fromAZURE_OPENAI_ENDPOINTAZURE_DEFAULT_API_VERSIONapi-version=2025-04-01-previewworked but goose used2025-04-01and got 404.Model list / defaults
gpt-5.1and related variants.Desktop UI
Authentication type dropdown for Azure OpenAI
azure_openai):AZURE_OPENAI_AUTH_TYPE=api_keyAZURE_OPENAI_AUTH_TYPE=entra_id“Paste the portal URL” endpoint UX
AZURE_OPENAI_ENDPOINT(with a short debounce ~800 ms) and applies:…/openai/responses) → rewrite to just the base endpoint; leaveAZURE_OPENAI_API_VERSIONunchanged.api-version→ rewrite to base endpoint and setAZURE_OPENAI_API_VERSIONfrom the query param.azure_openaiprovider.Fix for config field re-population
and only falls back to the server value in the latter case.