Commit Graph
1 Commits
Author SHA1 Message Date
yetone 6d51214094 gui: a custom provider's Base URL takes a URL for each API in turn: a URL typed for OpenAI and carried to Anthropic when it was picked goes back to OpenAI once Anthropic's own URL is typed, so both are saved (#1231)
Picking an API with no URL still carries a URL typed and not saved over to
it, spelled as that API wants it (#73, #105). That move emptied the API the
URL was typed for, so typing the next API's URL over the carried one left
only one URL to save. Typed over there, the carried URL now goes back where
it was typed; left as carried, it is a move, as before. A detection taken,
or the first API's URL typed under More endpoints, ends the carry.

provider-url-each-api.test.cjs: red on the parent in all 6 cases (Chromium
and WebKit, en/zh 900px, en 440px): "OpenAI's URL is back under More
endpoints" found none; green with the change. The #73 move (URL then
Responses picked, nothing typed: only the Responses URL saved) and a saved
provider's two new URLs are checked in the same test.

Full GUI suite with both #1229 and #1231 (concurrency 4): 3644 pass, 15
fail; the failures are context-window.test.cjs, usage-ledger.test.cjs
(red on origin/main alone too) and two load-only search-api /
searcher-pick cases that pass alone. gui-zh-tw, gui-ja, gui-de pass.
2026-10-08 10:29:14 +08:00