fix(ui): include base URL when creating providers #2132

Merged
sam merged 1 commits from fix/provider-url-input into main 2026-11-27 01:44:04 +00:00
Owner

What

Add a Base URL field to the new model-provider form and send it when creating a provider.

Why

Classes without a default base URL, including openai-compatible, were rejected by the server, but the create form had no way to supply one.

How

Normalize the provider payload, show the input, and require an explicit URL only when the selected class has no default. Keep the entered values if creation fails.

Verification

task check passed (125 UI tests passed; the browser-only Chat More menu test skipped because Chrome/Chromium is unavailable). A local 390px browser interaction with a mock API confirmed the field renders, creation enables after input, and the trimmed URL is sent.

## What Add a Base URL field to the new model-provider form and send it when creating a provider. ## Why Classes without a default base URL, including `openai-compatible`, were rejected by the server, but the create form had no way to supply one. ## How Normalize the provider payload, show the input, and require an explicit URL only when the selected class has no default. Keep the entered values if creation fails. ## Verification `task check` passed (125 UI tests passed; the browser-only Chat More menu test skipped because Chrome/Chromium is unavailable). A local 390px browser interaction with a mock API confirmed the field renders, creation enables after input, and the trimmed URL is sent.
sam added 1 commit 2026-11-26 18:19:02 +00:00
fix(ui): include base URL when creating providers
Quality / check (pull_request) Successful in 3m2s
21980f9ced
sam merged commit 2794416272 into main 2026-11-27 01:44:04 +00:00
sam deleted branch fix/provider-url-input 2026-11-27 01:44:05 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#2132