mirror of
https://github.com/marcogll/TaxHacker_s23.git
synced 2026-01-13 13:25:18 +00:00
fix: set detail: auto for OpenAI prompt
This commit is contained in:
@@ -71,6 +71,7 @@ export async function analyzeTransaction(
|
|||||||
role: "user",
|
role: "user",
|
||||||
content: attachments.map((attachment) => ({
|
content: attachments.map((attachment) => ({
|
||||||
type: "input_image",
|
type: "input_image",
|
||||||
|
detail: "auto",
|
||||||
image_url: `data:${attachment.contentType};base64,${attachment.base64}`,
|
image_url: `data:${attachment.contentType};base64,${attachment.base64}`,
|
||||||
})),
|
})),
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user