-- Stop hardcoding agent model_name in migrations. -- -- Migration 029 previously forced model_name='qwen3.5:9b-fast' on every -- deploy, overwriting per-environment model configuration. That migration -- has been fixed to only sync system_prompt (not model_name). -- -- This migration updates agents still on the old ollama provider/model -- to use vllm with the default VLLM model. Agents already configured -- with a different model (e.g. via the API) are left untouched. UPDATE ai_agents SET model_provider = 'vllm', model_name = 'AxionML/Qwen3.5-9B-NVFP4', updated_at = NOW() WHERE model_name IN ('qwen3.5:9b-fast', 'qwen3.5:9b') AND source = 'system';