-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
Hi, I tried to use a pdf file as context, For example "Summarize this pdf file {{[[20_page_paper.pdf]]}}" and got multiple errors such as Bad Request, Too Many Requests and finally that the token exceeds the allowed tokens rate
Gemini error
[GoogleGenerativeAI Error]: Error fetching from https://generativelanguage.googleapis.com/v1beta/models/gemini-2.0-flash-lite:generateContent: [400 ] The input token count (8229091) exceeds the maximum number of tokens allowed (1048575).
at Run.error (plugin:cannoli:61397:11)
at Run.objectError (plugin:cannoli:61534:10)
at Run.objectUpdated (plugin:cannoli:61470:14)
at CallNode.eval (plugin:cannoli:61428:14)
at CallNode.error (plugin:cannoli:57379:10)
at CallNode.execute (plugin:cannoli:59366:14)
and gpt-4o error
429 Request too large for gpt-4o in organization org-... on tokens per min (TPM): Limit 450000, Requested 3856108. The input or output tokens must be reduced in order to run successfully. Visit https://platform.openai.com/account/rate-limits to learn more.
at Run.error (plugin:cannoli:61397:11)
at Run.objectError (plugin:cannoli:61534:10)
at Run.objectUpdated (plugin:cannoli:61470:14)
at CallNode.eval (plugin:cannoli:61428:14)
at CallNode.error (plugin:cannoli:57379:10)
at CallNode.execute (plugin:cannoli:59366:14)
When I try the same prompt and file at the text generator plugin I am getting the expected response.
Thanks.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels