Two things we are now doing to mitigate this issue (as switching back to 1.5 is no option for us) that you could try out:
- first output the information as as plain/text; only lists and no tables. And than make a separate call to do Markdown formatting.
- For usage of the thinking model we stepped away from Markdown to HTML output, which seems to work more reliably.
I really do not get why Google is so silent on this topic, and is not really helping us out here. The fact that their model is so good with (many) PDFs is pure gold; we have many customers that benefit from this case. If only we could use their models reliably…