fix ki modell

This commit is contained in:
nadja
2026-08-26 20:55:45 +02:00
parent bd1549449c
commit ade2a46a4a
3 changed files with 21 additions and 12 deletions

View File

@@ -1,7 +1,7 @@
import { SYSTEM_PROMPT } from '../prompts/extractRecipe.js';
const GROQ_API_KEY = process.env.GROQ_API_KEY;
const GROQ_MODEL = process.env.GROQ_MODEL || 'llama-3.1-8b-instant';
const GROQ_MODEL = process.env.GROQ_MODEL || 'openai/gpt-oss-20b';
const GROQ_URL = 'https://api.groq.com/openai/v1/chat/completions';
export async function isAiAvailable() {