Skip to content

feat: add Models diagnostic tab for upstream model discovery - #45

Merged
JaredHatfield merged 1 commit into
mainfrom
feature/model-discovery-diagnostics
Jul 27, 2026
Merged

feat: add Models diagnostic tab for upstream model discovery#45
JaredHatfield merged 1 commit into
mainfrom
feature/model-discovery-diagnostics

Conversation

@JaredHatfield

Copy link
Copy Markdown
Member

Summary

Add a new Models diagnostic tab to the TUI that queries each upstream backend's /models endpoint and compares results against configured models.

Changes

  • Proxy: Add DiscoverModels method to query upstream /models endpoints with proper authentication and TLS settings
  • UI: New Models tab with color-coded status rows (MATCH, MISSING, UNCONFIGURED, ALLOWED, UNKNOWN)
  • UI: Detail page per model showing full JSON response from upstream
  • UI: Tab navigation now cycles through Stats → Models → Test
  • UI: NO_COLOR support with textual Status column fallback
  • Tests: Coverage for discovery, reconciliation, and UI interaction
  • Docs: Updated README and USAGE with Models tab documentation

Status Legend

Status Meaning
MATCH Configured model found in upstream response
MISSING Configured model not returned by upstream
UNCONFIGURED Upstream returned a model not in config
ALLOWED Response model accepted by models: all backend
UNKNOWN Discovery failed; status undetermined

Add a new Models tab to the TUI that queries each upstream backend's
/models endpoint and compares results against configured models. The
tab displays model status (MATCH, MISSING, UNCONFIGURED, ALLOWED,
UNKNOWN) with color-coded rows and a detail view for each model.

- Add DiscoverModels to proxy handler for upstream /models queries
- Add modelDiscoverer interface and discovery reconciliation logic to UI
- Add diagnostic model types, cursor navigation, and detail page
- Update tab navigation to cycle through Stats, Models, and Test
- Add NO_COLOR support with textual Status column fallback
- Add tests for discovery, reconciliation, and UI interaction
- Update documentation with Models tab usage and status legend
@JaredHatfield
JaredHatfield merged commit cc822c8 into main Jul 27, 2026
4 checks passed
@JaredHatfield
JaredHatfield deleted the feature/model-discovery-diagnostics branch July 27, 2026 11:00
@github-project-automation github-project-automation Bot moved this from Todo to Done in UnitVectorY Labs Jul 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant