summaryrefslogtreecommitdiff
path: root/lib/hyperstack/model_switcher.rb
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-25 21:38:58 +0300
committerPaul Buetow <paul@buetow.org>2026-05-25 21:38:58 +0300
commite95ec1dd2a631a5d8790cedbe770baa95f048d94 (patch)
tree0ca18d6a0f7fe5a2c9b0e9ce64b0bd38bb593c9f /lib/hyperstack/model_switcher.rb
parent773ffb65bf36b7ec07549be1e291189e1f71c91e (diff)
chore(provisioning): remove dead LiteLLM decommission code
LiteLLM was a legacy inference proxy that was removed from the stack months ago. The SSH-based decommission helper and its script generator were kept as cleanup guardrails, but they add unnecessary round-trips and YAGNI surface. Remove: - ProvisioningScripts#litellm_decommission_script - RemoteProvisioner#decommission_litellm - Call sites in ProvisioningOrchestrator#run and ModelSwitcher#switch No remaining references in the codebase. Legacy Hyperstack cloud firewall rule cleanup (port 4000) intentionally remains in ProvisioningOrchestrator#legacy_litellm_rules.
Diffstat (limited to 'lib/hyperstack/model_switcher.rb')
-rw-r--r--lib/hyperstack/model_switcher.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/hyperstack/model_switcher.rb b/lib/hyperstack/model_switcher.rb
index 07f6cdb..379855c 100644
--- a/lib/hyperstack/model_switcher.rb
+++ b/lib/hyperstack/model_switcher.rb
@@ -27,7 +27,6 @@ module HyperstackVM
host = state['public_ip']
raise Error, 'No public IP in state file.' if host.nil? || host.empty?
- @provisioner.decommission_litellm(host)
@provisioner.stop_vllm_container(host, old_container) if old_container != new_container
info "Starting vLLM with preset '#{preset_name}' (#{preset['model']})..."