Update the hero section layout and fix image processing errors
Refactor the hero section to a multi-card layout and adjust image processing parameters by changing `max_tokens` to `max_completion_tokens` and removing an unsupported `temperature` value. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 517dfa7b-26ac-463d-a6e1-a58c6df97188 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: dc1a7e29-d86e-41b6-8c1b-d753e4842371 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/f209e72a-0939-48fa-84fc-57854de71967/517dfa7b-26ac-463d-a6e1-a58c6df97188/ls5p9ni Replit-Helium-Checkpoint-Created: true
This commit is contained in:
@@ -69,7 +69,7 @@ export async function analyzeFocalPoint(imagePath: string): Promise<{ x: number;
|
||||
]
|
||||
}
|
||||
],
|
||||
max_tokens: 60,
|
||||
max_completion_tokens: 60,
|
||||
});
|
||||
|
||||
const text = response.choices[0]?.message?.content?.trim() || "";
|
||||
|
||||
@@ -66,8 +66,7 @@ Antworte NUR mit einem JSON-Objekt in diesem exakten Format (kein Markdown, kein
|
||||
}`
|
||||
}
|
||||
],
|
||||
temperature: 0.9,
|
||||
max_tokens: 2000,
|
||||
max_completion_tokens: 2000,
|
||||
});
|
||||
|
||||
const content = response.choices[0]?.message?.content || "";
|
||||
|
||||
Reference in New Issue
Block a user