Skip to content

Improved handling of malformed Gemini responses

Compare
Choose a tag to compare
@machinewrapped machinewrapped released this 22 May 19:58
· 71 commits to main since this release

Adjusted the translation parser to handle the most common problems with translations returned by Gemini, which should fix most of the errors where you see something like this in the translation:

#123
Original>
Something or other
Translation>

This should reduce the number of retranslation requests and errors when translating with Gemini.