Skip to content

Switch from OpenAI to Groq API #16

@Mosss-OS

Description

@Mosss-OS

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions