feat(gateway): add model and provider info to /status command#11079
Open
brucenewup wants to merge 3 commits into
Open
feat(gateway): add model and provider info to /status command#11079brucenewup wants to merge 3 commits into
brucenewup wants to merge 3 commits into
Conversation
added 3 commits
April 16, 2026 22:21
Display configured model name and provider in gateway /status output, matching the model info already shown in /new and /reset commands. This helps users quickly verify which model configuration is active without needing to check config.yaml or run hermes status separately. Changes: - Read model config from config.yaml in _handle_status_command() - Add Model and Provider fields to status output - Handle both dict and string model config formats - Graceful fallback to 'unknown'/'auto' on config read errors Tested on: macOS 14.7.2, Python 3.13.5
- Add session override check to _handle_status_command() - Now shows the actual model being used after /model switch - Matches the logic used in /model command
Collaborator
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.
What does this PR do?
Adds model name and provider information to the gateway
/statuscommand output, with real-time session override support.Key improvement: When you switch models with
/model,/statusimmediately shows the new model instead of the global config. This brings/statusto parity with/newand/resetcommands.Related Issue
N/A - Small UX enhancement to help gateway users quickly verify their active model configuration.
Changes Made
config.yamlin_handle_status_command()/modelcommand)How to Test
hermes gateway start/status→ verify shows current model/provider/model minimax/MiniMax-M2.7/statusagain → verify shows MiniMax-M2.7 (not global config)config.yaml→ verify shows "unknown"/"auto" without crashChecklist
Code
Documentation
Screenshots
Before:
After (global config):
After model switch (session override):