fix: remove response_format incompatible with LM Studio API
This commit is contained in:
@@ -119,7 +119,6 @@ export async function convertPdfToStatement(
|
|||||||
],
|
],
|
||||||
temperature: 0,
|
temperature: 0,
|
||||||
max_tokens: 32768,
|
max_tokens: 32768,
|
||||||
response_format: { type: 'json_object' },
|
|
||||||
});
|
});
|
||||||
|
|
||||||
const content = completion.choices[0]?.message?.content?.trim();
|
const content = completion.choices[0]?.message?.content?.trim();
|
||||||
|
|||||||
Reference in New Issue
Block a user