Files
magpie/site
yetone 430871d632 provider: SiliconFlow offers its international site as a region beside China
SiliconFlow asked (by mail) for its international site, api.siliconflow.com,
in magpie. It is a separate account with its own keys page and a $ balance,
so the siliconflow preset now has two regions: China (the default, so every
saved provider and link reads as before) and Global, with
cloud.siliconflow.com's key page and console. The balance read already knew
the .com host. Import links take region=intl; the import docs (en, zh, ja)
list it. "Global" reuses the GUI's existing translations.

Run: go test ./internal/provider/ (ok, 541s), incl. the new
TestSiliconFlowInternational: an intl link gets the .com endpoint, key
page, console and $ balance source; FromPreset stays on .cn; a saved .cn
provider sits at region cn and an intl one at intl. gofmt, go vet clean.
Not tried with a real international-site key (no account).
2026-10-14 19:52:21 +08:00
..