Description
Replace OpenAI with Groq as the AI model provider.
Changes needed
- Change
OPENAI_API_KEY env var to GROQ_API_KEY in .env.example
- Update
supabase/functions/action-agent/index.ts (line 68 references Deno.env.get("OPENAI_API_KEY"))
- Update the Groq API endpoint (likely
https://api.groq.com/openai/v1/chat/completions)
- Update any relevant documentation
Groq provides fast inference via their LPU inference engine and offers a free tier at https://console.groq.com
Description
Replace OpenAI with Groq as the AI model provider.
Changes needed
OPENAI_API_KEYenv var toGROQ_API_KEYin.env.examplesupabase/functions/action-agent/index.ts(line 68 referencesDeno.env.get("OPENAI_API_KEY"))https://api.groq.com/openai/v1/chat/completions)Groq provides fast inference via their LPU inference engine and offers a free tier at https://console.groq.com