LLM 0.37.3 released to fix SQLite compatibility issue
Understand this story
Simon Willison released LLM 0.37.3, fixing an issue where the latest SQLite 3.54.1 packaged by Homebrew caused its logging code to fail. The root cause lies in SQLite 3.54.1: it fixed a bug in 3.54.0 where `json_object` nested subqueries returned SQL text instead of JSON, changing the original query result from `{"a":[1]}` to `{"a":"[1]"}`. The workaround is to wrap the subquery in an additional layer of `json()`.
AI overview based on source reports · Updated 2 hr ago
Coverage timeline
Follow the coverage to explore different perspectives.
- Simon Willisonllm 0.37.3
llm 0.37.3 is a bug fix release addressing a problem caused by Homebrew shipping SQLite 3.54.1, whose fix for a bug in 3.54.0 changed how a subquery returning json_array is embedded in json_object. The workaround wraps the subquery in json(), as in select json_object('a', json((select json_array(1)))).
Activity for this story
Not enough continuous observations to show a trend yet.