Skip to content

[bugfix] providers: fetch the live text model list - #462

Merged
FayeSpica merged 2 commits into
ThinkFlowLab:mainfrom
FayeSpica:fix/text-model-discovery
Nov 23, 2026
Merged

FayeSpica merged 2 commits into
ThinkFlowLab:mainfrom
FayeSpica:fix/text-model-discovery

Conversation

@FayeSpica

@FayeSpica FayeSpica commented Nov 23, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Fetch text models from the configured service's GET /models endpoint.
  • Show missing connection settings, request progress, the result count, and errors beside the fetch button. Image, video, and audio presets keep their category-specific lists.
  • Gate the new text model lifecycle independently. The bilingual Zhipu case covers feedback, retry, empty responses, and audio preset isolation.

Linked issue

  • No linked issue applies.

Labels

  • type:bug and area:provider

Test plan

  • Local: Production build, bilingual and browser manifest checks, 23 provider preset tests, 184 focused Python tests, and Chromium flows for Zhipu, MOSS, provider settings, and first-run setup. Pre-commit passed against the full PR diff.
  • Follow-up: new_model_discovery.mjs passed on a fresh isolated API and again after zhipu_provider.mjs. Browser manifest, locale, and pre-commit checks passed.
  • Left to CI: Full Release checks.

Evidence that it works

The standalone test receives a fresh text model ID over an authenticated GET /models. It selects and saves the model, verifies the saved choice after reload, and selects it in the assistant. The Zhipu feedback case verifies that the audio form keeps its glm-tts preset without issuing a discovery request.

Provider verification

  • The browser gate used a local HTTP fixture and a synthetic API key. Account entitlement and real provider calls were outside this validation.

Bilingual UI

  • Updated and exercised both zh-CN and en-US.

Signed-off-by: Weiming Liao <liaowm5@gmail.com>
@FayeSpica FayeSpica added type:bug Something is broken area:provider Model providers and generation protocols labels Nov 23, 2026
@github-actions github-actions Bot added the area:docs Documentation / 文档 label Nov 23, 2026
Signed-off-by: Weiming Liao <liaowm5@gmail.com>
@FayeSpica
FayeSpica merged commit 2cf3f89 into ThinkFlowLab:main Nov 23, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:docs Documentation / 文档 area:provider Model providers and generation protocols type:bug Something is broken

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant