fix: remove response_format json_object from OpenRouter to prevent model compatibility errors

This commit is contained in:
2026-06-23 19:59:38 +00:00
parent ac695c9d14
commit e52b9eff89
+1 -2
View File
@@ -423,8 +423,7 @@ export const analyzeWithOpenRouter = async (file: File, apiKey: string, model: s
]
}
],
temperature: 0.1,
response_format: { type: 'json_object' }
temperature: 0.1
})
});