From e95ec1dd2a631a5d8790cedbe770baa95f048d94 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Mon, 25 May 2026 21:38:58 +0300 Subject: 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. --- lib/hyperstack/model_switcher.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'lib/hyperstack/model_switcher.rb') 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']})..." -- cgit v1.2.3