Repository navigation
fix(settings): keep preset provider endpoints fixed - #384
Merged
Merged
Conversation
🟡 PR judge · 7 of 7 yes · #384 ↔ #383
Acceptance criteria, 4 of 4 met
Checks the script runs itself, 4 of 4 pass
|
4 tasks
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.
Closes #383
What
Official providers now use only their fixed protocol endpoints. Previously, Settings offered editable extra protocols on preset cards; the builder could accept those additions while a launched run discarded them (#331, #332). Preset cards now show only supported endpoints, read-only. Saved and environment overrides cannot extend presets, and saving an override is rejected with a direction to use Custom.
Custom retains all six editable protocol fields. Tests cover saving its endpoints, selecting judge protocols and URLs, and handing its named base and key to a run. This replaces the need for preset-record forwarding in #332; that PR should be updated and its original problem rechecked after this lands.
Touches
Backend provider registry and settings validation; Settings route; backend and route tests; provider documentation and generated settings example; UI evidence.
Before and after
OpenRouter card at the same 1280px viewport. Custom continues to expose all six editable protocol fields.
Verified
git diff --checkpasses.Risk
Existing user-added preset endpoints stop affecting protocol selection. Users requiring those endpoints must create a Custom provider. Their stored settings are retained and reported as unsupported. Revert restores the old behavior.
Custom endpoint fields configure provider tests and judges; run relays continue forwarding agent paths below the base URL rather than rewriting them from those fields. That existing limitation is now documented. No preset configuration or secret is newly forwarded to a run.