Models: Provider column + top-bar stats fix #34
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_aibroker#34
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Expected Behavior
Providercolumn (e.g. OpenRouter, Groq)Acceptance Criteria
Implementation Spec for Issue #34
Objective
Fix two UI issues: (1) Add a Provider column to the Models table, (2) Fix the top-right navbar stats to show correct model/provider counts from the models configuration instead of the active registry.
Root Cause
The top-bar calls
rpc('info')which returnsmodel_countfromstate.registry(only models with active API key backends) andconfigured_providers()(only providers with keys set). When no API keys are configured, both return 0 — but the Models table reads frommodels.config(raw YAML) which always shows all configured models.Requirements
models.configRPC (matching the table)Files to Modify
templates/fragments/models_pane.htmltemplates/base.htmlextraInfoFnto derive counts frommodels.configRPCImplementation Plan
Step 1: Add Provider column to Models table (independent)
Files:
models_pane.html<th>Provider</th>after "Display Name"m.backendsand render as badgesStep 2: Fix top-bar stats (independent)
Files:
base.htmlextraInfoFnto callmodels.configand derive countsAcceptance Criteria
Notes
.provider-badgeCSS class already exists inbase.html