Skip to content

Commit 78511de

Browse files
chore: bump package version (#2009)
Co-authored-by: Max Prilutskiy <maks.prilutskiy@gmail.com>
1 parent 4e4bea8 commit 78511de

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

.changeset/eng-283-gemini-json-parse.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

packages/cli/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# lingo.dev
22

3+
## 0.132.3
4+
5+
### Patch Changes
6+
7+
- [#2006](https://github.com/lingodotdev/lingo.dev/pull/2006) [`4e4bea8`](https://github.com/lingodotdev/lingo.dev/commit/4e4bea8ee52ac97473b8edfc5489d15d551d68f6) Thanks [@cherkanovart](https://github.com/cherkanovart)! - fix: strip conversational preamble from LLM responses before JSON parsing
8+
9+
Some models (e.g. Gemini 2.5 Flash Lite) prepend filler text like "OK" to their responses, causing JSON.parse to fail. Now structurally extracts the outermost JSON object using indexOf/lastIndexOf before parsing, with jsonrepair as fallback.
10+
311
## 0.132.2
412

513
### Patch Changes

packages/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "lingo.dev",
3-
"version": "0.132.2",
3+
"version": "0.132.3",
44
"description": "Lingo.dev CLI",
55
"private": false,
66
"repository": {

0 commit comments

Comments
 (0)