InAnYan / jabref

Graphical Java application for managing BibTeX and biblatex (.bib) databases
https://devdocs.jabref.org
MIT License
0 stars 0 forks source link

Handle request too large #102

Closed koppor closed 3 months ago

koppor commented 3 months ago

429 - message: Request too large for gpt-4o in organization org-3M84iZQTliRuKpVVeuB53iHJ on tokens per min (TPM): Limit 30000, Requested 49292. The input or output tokens must be reduced in order to run successfully. Visit https://platform.openai.com/account/rate-limits to learn more., type: tokens, param: null, code: rate_limit_exceeded

image

Retry with the split approach then?

InAnYan commented 3 months ago

That's strange, it should've retried with splitting approach.

@koppor, when you have time, could you attach me a PDF with this issue?

koppor commented 3 months ago

Additionally, the error message maybe should contain the file name. That could help to remember which PDF was used.

InAnYan commented 3 months ago

OMG, it seems I'm splitting documents, but instead passing a full document to AI. Working on it

InAnYan commented 3 months ago

@koppor, when you have time, try to load the document again. Should work now

koppor commented 3 months ago

Yeah, looks good:

image