fix: remove response_format json_object from OpenRouter to prevent model compatibility errors
This commit is contained in:
@@ -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
|
||||
})
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user