top | item 46345626 (no title) swe_dima | 2 months ago OpenAI structured outputs are pretty stable for me. Gemini sometimes responds with a completely different structure. Gemini 3 flash with grounding sometimes returns json inside ```json...``` causing parsing errors. discuss order hn newest euazOn|2 months ago In case you're using OpenRouter, check out their new Response Healing feature that claims to solve exactly this issue.https://openrouter.ai/announcements/response-healing-reduce-... red2awn|2 months ago It does NOT. Response healing only fixes JSON syntax errors, not schema differences.See https://news.ycombinator.com/item?id=46332119 codegladiator|2 months ago https://github.com/josdejong/jsonrepairmight be useful ( i am not the author )
euazOn|2 months ago In case you're using OpenRouter, check out their new Response Healing feature that claims to solve exactly this issue.https://openrouter.ai/announcements/response-healing-reduce-... red2awn|2 months ago It does NOT. Response healing only fixes JSON syntax errors, not schema differences.See https://news.ycombinator.com/item?id=46332119
red2awn|2 months ago It does NOT. Response healing only fixes JSON syntax errors, not schema differences.See https://news.ycombinator.com/item?id=46332119
codegladiator|2 months ago https://github.com/josdejong/jsonrepairmight be useful ( i am not the author )
euazOn|2 months ago
https://openrouter.ai/announcements/response-healing-reduce-...
red2awn|2 months ago
See https://news.ycombinator.com/item?id=46332119
codegladiator|2 months ago
might be useful ( i am not the author )