Horoskop: gpt-5-mini -> openai/gpt-5.4, limit 4000 tokenov

This commit is contained in:
sebastjan 2026-08-15 08:01:52 +02:00
parent 262636ef52
commit 63f27e7236

View File

@ -44,7 +44,7 @@ export async function generateDailyHoroscopes(): Promise<void> {
try {
const response = await openai.chat.completions.create({
model: "gpt-5-mini",
model: "openai/gpt-5.4",
messages: [
{
role: "system",
@ -66,7 +66,7 @@ Antworte NUR mit einem JSON-Objekt in diesem exakten Format (kein Markdown, kein
}`
}
],
max_completion_tokens: 2000,
max_completion_tokens: 4000,
});
const content = response.choices[0]?.message?.content || "";