Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
LLMs are bad at returning code in JSON
(opens in new tab)
(aider.chat)
5 points
pcwelder
11mo ago
1 comments
Save
Share
1 comments
1 comments · 1 top-level
top
newest
oldest
pcwelder
OP
11mo ago
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.
j
/
k
navigate · click thread line to collapse