Thanks for the code. I was checking the openAI pdf upload yesterday. They limit each pdf size to 10mb, also many users were having issues with uploading multiple pdfs . I thought one work around could be to merge all pdfs into 1, but then openai has size restriction on each uploaded Pdf.
Oh, I didnāt realize thereās such a limitation! I was using a PDF of about 1MB with around 20 pages, so I didnāt notice it. Thanks for letting me know!
Anyway yesterday and today gemini-2.5-flash gave me no problems, I adapted my prompts to work with flash, personally I will wait for official news before starting to use the pro again