AivexaNewsSearch
AI news for builders and product teamsChecked every hour

llm 0.37.3

Collected Nov 17, 2026

Simon Willison released LLM 0.37.3, a bug-fix version of the command-line tool and Python library for working with large language models. The release is aimed mainly at a problem triggered by the newest Homebrew package of the software, which now bundles SQLite 3.54.1 and thereby broke LLM's logging code.

The underlying change is in how SQLite treats a scalar subquery inside json_object(). In SQLite 3.54.0, selecting json_object('a', (select json_array(1))) produced {"a":[1]}. In 3.54.1 the same query returns {"a":"[1]"} — the nested array is now rendered as a string. SQLite's D. Richard Hipp described the change as a bug fix: per the documentation, a subquery like (select json_array(...)) returns SQL text rather than JSON, so the 3.54.1 behavior is correct and 3.54.0 was the bug.

The workaround is to wrap the subquery result in json(), as in select json_object('a', json((select json_array(1)))). The release is tagged with llm, webassembly, sqlite, generative-ai, ai, llms and D. Richard Hipp.

Why it matters: anyone running LLM via Homebrew, or building on SQLite JSON functions near this behavior, can hit the breakage; pinning versions or applying the json() wrapper is the practical fix, and this is my inference that other tools relying on the older behavior may need similar adjustments.

Read at Simon Willison

Based on reporting from the original publisher. Visit the source for full context and later updates.

Publisher excerpt

Release: llm 0.37.3 A bug fix release for LLM , mainly to cover a problem with the most recent Homebrew package of the software. Homebrew now ships the latest SQLite, 3.54.1 , which includes a fix that broke LLM's logging code . Short version: in SQLite 3.54.0 the following SQL: select json_object('a', (select json_array(1))) Returns this: {"a":[1]} But in 3.54.1 the same query returns this: {"a":"[1]"} According to D. Richard Hipp : That was a bug fix. Per the documentation, (SELECT json_array(...)) returns SQL te