cd /news/ai-tools/llm-0-37-3 · home › topics › ai-tools › article
[ARTICLE · art-171216] src=simonwillison.net ↗ pub= topic=ai-tools verified=true sentiment=· neutral

llm 0.37.3

Simon Willison released llm 0.37.3, a bug-fix release of the LLM command-line tool, after Homebrew began shipping SQLite 3.54.1, which broke LLM's logging code. SQLite's 3.54.1 change means a subquery such as (select json_array(1)) now returns SQL text rather than JSON, so json_object('a', (select json_array(1))) yields {"a":"[1]"} instead of {"a":[1]}; SQLite creator D. Richard Hipp said "That was a bug fix" and that 3.54.0 was the buggy version. The documented workaround wraps the subquery in json(), as in select json_object('a', json((select json_array(1)))).

read1 min views2 publishedNov 16, 2026

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 text, not JSON. Hence the 3.54.1 behavior is correct and 3.54.0 was a bug.

The workaround looks like this:

select json_object('a', json((select json_array(1))))

Tags: llm, webassembly, sqlite, generative-ai, ai, llms, d-richard-hipp

── more in #ai-tools 4 stories · sorted by recency
── more on @llm 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/llm-0-37-3] indexed:0 read:1min 2026-11-16 · —