Horoskop: gpt-5-mini -> openai/gpt-5.4, limit 4000 tokenov
This commit is contained in:
parent
262636ef52
commit
63f27e7236
@ -44,7 +44,7 @@ export async function generateDailyHoroscopes(): Promise<void> {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
const response = await openai.chat.completions.create({
|
const response = await openai.chat.completions.create({
|
||||||
model: "gpt-5-mini",
|
model: "openai/gpt-5.4",
|
||||||
messages: [
|
messages: [
|
||||||
{
|
{
|
||||||
role: "system",
|
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 || "";
|
const content = response.choices[0]?.message?.content || "";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user