This commit is contained in:
Amruth Pillai
2026-01-26 12:38:37 +01:00
parent 1e814a77cc
commit 429618d5f8
3 changed files with 20 additions and 29 deletions
+2 -6
View File
@@ -82,9 +82,7 @@ export const aiRouter = {
const result = await generateText({
model,
maxRetries: 0,
output: Output.object({
schema: resumeDataSchema.omit({ picture: true, metadata: true, customSections: true }),
}),
output: Output.object({ schema: resumeDataSchema }),
messages: [
{
role: "system",
@@ -139,9 +137,7 @@ export const aiRouter = {
const result = await generateText({
model,
maxRetries: 0,
output: Output.object({
schema: resumeDataSchema.omit({ picture: true, metadata: true, customSections: true }),
}),
output: Output.object({ schema: resumeDataSchema }),
messages: [
{ role: "system", content: docxParserSystemPrompt },
{