Powered by
Google / Gemini does not seem to parse output corr...
# ❓|questions
g
generatedleaf
03/03/2025, 3:53 PM
Same model just different provider, gives more errors because the JSON does not seem to be parsed correctly. What can I do to fix it?
https://cdn.discordapp.com/attachments/1346148392467959848/1346148392820150344/Screenshot_2025-03-03_at_19.51.44.png?ex=67c721e3&is=67c5d063&hm=7ddb0a2309e971b9d112ff2d9281a00f828eb17c8a5983ff27712b660c5fe784&
a
abdksyed
03/04/2025, 8:50 AM
Gemini has this weird json code block if it is generating json response. You may have to post-process the response and replace(\```json, "") and replace(```, "")
Previous
Next