Repository navigation
feat(ai): gateway-sourced home model list, chat-only, newest-first - #7422
Merged
Merged
Conversation
- Home composer fetches /llm/models like the AI page; the curated list remains only as mock-mode and failed/empty-fetch fallback, and selection falls back to the configured or first model when qwen4-max is absent. - Provider listings drop image/video/audio modalities by id keywords (the OpenAI-compatible payload has no capability field) and sort by created descending, stable on ties. - Default model qwen4-max end to end; anthropic-compatible gateways list remote models with builtin fallback. - AI settings: extended catalog, custom model ids, full-width engine banner. - UI polish: Phosphor logo/breadcrumb icons (welcome emoji kept), adaptive K/M message units, right-aligned numeric columns, K8s ID casing. - Actionable no-broker write errors; interceptor-notified toasts deduped.
The 2026-11-27 batch merge touched server-side tool YAML without regenerating internal/catalog/catalog_gen.go, leaving the rmqctl catalog-verify CI step red on master. Regenerate with make catalog-generate; fmt/test-race/vet/build all pass.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Which Issue(s) This PR Fixes
No linked issue: maintainer follow-up to the 2026-11-27 batch merge (model catalog UX + CI repair).
Brief Description
GET /llm/models(same source as the AI page) instead of a hardcoded catalog; the curated list remains only as mock-mode / failed-fetch fallback. Selection falls back to the configured or first model when the recommendedqwen4-maxis absent from the catalog.createddescending (stable on ties), so newer models show first.qwen4-maxend to end; anthropic-compatible gateways list remote models with builtin fallback; AI settings accept custom model ids.fix(ci): regeneratermqctl/internal/catalog/catalog_gen.go(stale on master since the batch merge, redcatalog-verifystep).How Did You Test This Change?
cd server && mvn -B -ntp test -Dspring.profiles.active=dev→ 4394 tests, 0 failures, 0 errors (H2 dev profile; integration tests against MySQL 8 also exercised by CI).cd web && npm run build(tsc + vite + license check) andnpx vitest run→ 172 files / 2241 tests green; new HomePage tests cover fetched-catalog precedence, fallback on fetch failure, and configured-model selection; AiPage handoff test updated for the home fetch.make catalog-verify && make fmt && make test-race && make vet && make buildall pass (Go 1.27.1).created-descending order,qwen4-maxfirst and selected with the recommended badge; no image/video/audio entries.Checklist
feat:/fix:)...Testweb/src/i18n/(no new user-visible strings; badge reuse)mvn testruns the ArchUnit checks)