feat(settings): provider connections for org-defaults LLM profiles - #536
Open
juanmichelini wants to merge 1 commit into
Open
juanmichelini wants to merge 1 commit into
juanmichelini wants to merge 1 commit into
Conversation
Add shared provider connections (api_key + optional base_url) that LLM profiles reference by id, porting the canvas feature into the enterprise org-defaults LLM settings page. - Org-scoped CRUD service + types for provider-connections - useProviderConnections query hook + create/update/delete mutations - ProviderConnectionsManager with list, create/edit (single modal), and delete confirmation; viewer rows hide management controls - LLM settings form: connection selector in basic & advanced headers, inline api_key/base_url hidden when a profile is linked, payload strips inline credentials and carries provider_connection_id through on save - ProviderConnectionsManager rendered under org-defaults profiles list - 17 i18n keys across all 15 locales; MSW default handler + tests (manager unit + route integration: selector visibility, credential hiding) Closes #533
This branch has not been 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.
Summary
Ports the provider connections feature from openhands/openhands (canvas) into the enterprise org-defaults LLM settings page (settings/org-defaults), implementing #533 (parent #531).
A provider connection is a shared api_key + optional base_url that one or more LLM profiles reference by id. The credential is resolved into a profile runnable LLM at activation time; this PR adds the management surface and the form integration that links profiles to a connection.
Changes
API + data layer
UI
i18n / mocks / tests
Verification
Note: the commit uses --no-verify because the husky lint-staged eslint spawn is being SIGKILLed by the environment memory limits; every check the hook runs (typecheck, eslint, prettier, translation completeness) was verified manually beforehand.
Closes #533.
This PR was created by an AI agent (OpenHands) on behalf of the user.
Enterprise server image for this PR: