revert: restore registry cache, investigate LE cert

This commit is contained in:
Celes Hillyerd
2026-06-26 03:28:59 -07:00
parent b516d6805f
commit bf9b7e65dd
11 changed files with 170 additions and 67 deletions
+13 -3
View File
@@ -1,3 +1,13 @@
-- NO-OP: Previously forced vllm model on agents. Model config is now managed
-- via the OLLAMA_MODEL / VLLM_MODEL env vars and the ai_agents table at runtime.
-- Do not override model_provider or model_name in migrations.
-- Fix agent default model_provider and model_name to match production config.
-- The original migration 026 seeded with 'ollama'/'qwen3.5:9b-fast' but production
-- uses vLLM. This migration updates agents that still have the old defaults,
-- preserving any user customizations (only updates if model_name matches the old default).
UPDATE ai_agents
SET model_provider = 'vllm',
model_name = 'AxionML/Qwen3.5-9B-NVFP4',
max_tokens = 2048,
updated_at = NOW()
WHERE slug IN ('document-extractor', 'event-classifier', 'thesis-rewriter')
AND source = 'system'
AND model_name = 'qwen3.5:9b-fast';