Dark Hacker News
new
|
best
|
ask
|
show
|
jobs
LLMs are bad at returning code in JSON
(aider.chat)
5 points
by
pcwelder
295 days ago
| 1 comment
LLMs are bad at returning code in JSON | Dark Hacker News
pcwelder
295 days ago
|
next
[−]
PSA: 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.