mirror of
https://github.com/marcogll/TaxHacker_s23.git
synced 2026-01-13 13:25:18 +00:00
feat: calculate used storage
This commit is contained in:
@@ -45,6 +45,7 @@ export async function analyzeTransaction(
|
||||
})
|
||||
|
||||
console.log("ChatGPT response:", response.output_text)
|
||||
console.log("ChatGPT tokens used:", response.usage)
|
||||
|
||||
const result = JSON.parse(response.output_text)
|
||||
return { success: true, data: result }
|
||||
|
||||
Reference in New Issue
Block a user