You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Keep official provider endpoints fixed and reserve endpoint editing for Custom #383
The OpenRouter Settings card includes editable “Anthropic Messages” and “OpenAI Decisions” rows. providers.record() merges user-added protocols into preset records. In #331, the builder accepts one of those additions but the launched run loses it.
Screenshot
Before/after captures: #384, under “Before and after”.
Reproduction
Open Settings → Model providers → OpenRouter → Edit → Endpoints.
Add a Messages endpoint, or set an OPENROUTER record in saved settings or the environment.
Observe that the preset advertises the extra protocol.
Expected
Official providers use only their fixed endpoints. Custom providers expose all protocol fields. Existing preset overrides have no effect and direct the user to Custom.
Acceptance
Preset cards show only fixed, read-only endpoints; Custom retains every editable protocol field.
Saved and environment records cannot change preset fields or protocols; attempts to save overrides are rejected.
Custom endpoint saving, judge endpoint selection, and launch base/key handoff remain covered by tests.
Documentation states how to replace preset overrides and explains Custom run-relay path behavior.
Dependencies and related
Related: #331, #332, #148. This changes the configuration rule rather than implementing #331's preset-record-forwarding acceptance criteria. Implementation: #384. Recheck #332 after this change lands.
Activity
fix(settings): keep preset provider endpoints fixed (ThinkFlowLab#384)