4 ms·
LLMs are bad at returning code in JSON
- pcwelder 1y agoPSA: don't generate code using tools (and MCPs) if you're using Gemini or Openai; both ask LLMs to generate JSON directly for function calling. Claude uses XML, so it escapes the issue.
4 ms·