3 Commits

Author SHA1 Message Date
786a72c06d feat: unified model selector below mode toggle
- Model dropdown below mode switch applies to active agents
- In work mode: changes model for Rex/Maddy/Coder/Research + subagents
- In lab mode: changes model for Eric
- /api/apply-model endpoint: swap model + VRAM in current mode
- /api/switch accepts optional model param
- Removed separate lab model card (consolidated into one selector)
2026-02-18 19:51:02 +00:00
d678a4d3d4 feat: ollama VRAM status + model loading/pinning on switch
- Show loaded models with VRAM usage bar (24GB 3090)
- On mode switch: unload old model, load+pin target model (keep_alive=-1m)
- Loading banner with spinner (polls faster at 2s while loading)
- Lab model changes also trigger model swap when in lab mode
- Manual load/unload API endpoints
2026-02-18 19:47:22 +00:00
3366d6d9ec Initial commit: Ollama GPU Switcher
Simple web UI to toggle OpenClaw agents between work mode (qwen3 on ollama)
and lab mode (groq cloud fallback), giving the lab agent exclusive GPU access.

Features:
- One-click mode switching
- Real-time agent status
- Lab model selector
- Direct config file patching + gateway restart
2026-02-18 17:16:35 +00:00