feat: add Models diagnostic tab for upstream model discovery - #45
Merged
Conversation
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
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.
Summary
Add a new Models diagnostic tab to the TUI that queries each upstream backend's
/modelsendpoint and compares results against configured models.Changes
DiscoverModelsmethod to query upstream/modelsendpoints with proper authentication and TLS settingsNO_COLORsupport with textual Status column fallbackStatus Legend
models: allbackend