Add per-provider custom API URL configuration in AI Providers UI#132
Open
Add per-provider custom API URL configuration in AI Providers UI#132
Conversation
Open
Agent-Logs-Url: https://github.com/mithun50/openclaw-termux/sessions/0cf373fa-8392-4c58-9180-0e7b224d24f2 Co-authored-by: mithun50 <99024517+mithun50@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add menu for assigning custom API URLs for AI providers
Add per-provider custom API URL configuration in AI Providers UI
May 8, 2026
Owner
|
@copilot please study about how the OpenClaw works in that custome api url and key configuration. |
Agent-Logs-Url: https://github.com/mithun50/openclaw-termux/sessions/49ca22ca-e3e1-4cf7-b12e-cec8afa5cb53 Co-authored-by: mithun50 <99024517+mithun50@users.noreply.github.com>
Agent-Logs-Url: https://github.com/mithun50/openclaw-termux/sessions/49ca22ca-e3e1-4cf7-b12e-cec8afa5cb53 Co-authored-by: mithun50 <99024517+mithun50@users.noreply.github.com>
Contributor
Author
I reviewed OpenClaw’s provider config behavior and aligned our implementation with its expected shape ( |
Build SuccessfulVersion: Download APKs
Built from db18964 by GitHub Actions |
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.
The AI Providers flow only supported fixed provider base URLs. This update adds provider-level API URL editing so users can point each provider to custom endpoints while keeping default URLs as the initial value.
Provider configuration UI
API URLinput toProviderDetailScreen.baseUrl) or falls back to provider default (AiProvider.baseUrl).Persistence + write path updates
ProviderConfigService.saveProviderConfig(...)to acceptbaseUrl.Navigation/data wiring
ProvidersScreennow passes existing providerbaseUrlintoProviderDetailScreenso edits are round-trippable.