Adding Azure OpenAI asked only for the endpoint and key. Nothing said that,
once it is saved, magpie asks the resource for its deployments with that
key (Provider.azureModels), so people took the page for one where model ids
must be typed. A saved one whose list hadn't come back yet said "The
vendor's list is empty", the same as one asked and empty.
- The endpoint hint (presets.go) now says magpie asks the resource for its
deployments with this key once added, and the deployments' names are the
model ids.
- The add page has a Models row for Azure: nothing to type; a deployment's
name is typed as a model id only if the list can't be fetched.
- A saved Azure provider with an empty list says it is asking the resource
with this key while the background fetch runs (providers.fetching, not
yet fetched, no list error), and after it that no deployments came back,
with Fetch again or a deployment's name. Every other provider's empty
text is unchanged.
- New strings in zh, zh-TW, ja and de.
azureModels itself is unchanged.
Run: azure-endpoint.test.cjs (24 pass, Chromium and WebKit, en and zh),
extended with the add page's Models row and four empty-list cases (asking,
asked and none, asked and failed, OpenRouter unchanged). With the old
app.js put back it fails 10 of 12 on Chromium (no .azure-models row, the
generic empty text). With the old i18n.js the zh cases fail (6 of 12).
gui-de, gui-ja, gui-zh-tw, i18n-keys, provider-fetch-again,
provider-picks-stay, add-sheet: 34 pass in each engine. go test -tags nogui
./internal/provider ./internal/gui ok under a sandbox HOME; gofmt -l clean;
GOOS=linux and GOOS=windows go vet -tags nogui on both packages clean.
Not tried against a real Azure resource (no account): only the text
changed, not the fetch.