summaryrefslogtreecommitdiff
path: root/snippets/hyperstack/hyperstack.rb
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-03-18 18:19:45 +0200
committerPaul Buetow <paul@buetow.org>2026-03-18 18:19:45 +0200
commit891f97cb7ae878bb51638e1e4c8f2a51b6d15733 (patch)
treeffdf829ab004f2c82f638bcc6ad3e115298de1c8 /snippets/hyperstack/hyperstack.rb
parent07f91d85eb7d115ccfbecb9841712a12d36e874e (diff)
hyperstack status: display active vLLM model
Show the currently loaded model (from state file, or config default) so it's immediately visible without running `model list`. Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'snippets/hyperstack/hyperstack.rb')
-rw-r--r--snippets/hyperstack/hyperstack.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/snippets/hyperstack/hyperstack.rb b/snippets/hyperstack/hyperstack.rb
index f46ce6b..1c9fb6e 100644
--- a/snippets/hyperstack/hyperstack.rb
+++ b/snippets/hyperstack/hyperstack.rb
@@ -846,6 +846,7 @@ module HyperstackVM
info "Tracked VM: #{state['vm_id']} #{vm['name']}"
info "Status: #{vm['status']} / #{vm['vm_state']}"
info "Public IP: #{connect_host_for(vm) || 'none'}"
+ info "Active model: #{state['vllm_model'] || @config.vllm_model}"
info "Missing firewall rules: #{missing_rules.empty? ? 'none' : missing_rules.size}"
rescue Error => e
warn "Unable to load VM #{state['vm_id']}: #{e.message}"