-- Add voice_optimized column to llm_models table
-- This flag indicates models optimized for voice agents (low latency TTFT)
ALTER TABLE llm_models ADD COLUMN IF NOT EXISTS voice_optimized BOOLEAN DEFAULT false;

-- Update existing Groq models to be marked as voice optimized
UPDATE llm_models SET voice_optimized = true WHERE provider = 'groq';

-- Add comment to document the new column
COMMENT ON COLUMN llm_models.voice_optimized IS 'Flag indicating if this model is optimized for voice agents with low Time-To-First-Token (TTFT) latency';
