summaryrefslogtreecommitdiff
path: root/lib/hyperstack/model_switcher.rb
AgeCommit message (Collapse)Author
2026-05-25chore(provisioning): remove dead LiteLLM decommission codePaul Buetow
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.
2026-05-25refactor(manager): extract focused collaborators from Manager God ClassPaul Buetow
Extract VM lifecycle, SSH execution, WireGuard setup, model switching, end-to-end inference tests, and provisioning orchestration into separate collaborator classes. Manager becomes a thin facade (~80 lines). Also fixes CLI edge-cases: status/model-list when no VMs are active, and threads --vllm/--ollama flags through the provisioning pipeline.