The dropdown was bound to the previous server value, so a profile without a model snapped back to OpenRouter before the error was obvious.
Co-authored-by: Cursor <cursoragent@cursor.com>
Saved presets keep URL and model per stage so detect can switch to Ollama without re-entering settings or sending plaintext to OpenRouter.
Co-authored-by: Cursor <cursoragent@cursor.com>
Keep KANSHO_ENV=production and require an explicit operator flag instead of treating Prod as Development. Promote to Prod only via merge commit on main.
Co-authored-by: Cursor <cursoragent@cursor.com>