Skip to content
NewA calmer, faster ZeroHour

llm 0.37.3 fixes logging broken by SQLite 3.54.1

Original title: llm 0.37.3

Simon Willison ()1 · 1 read
AI summary · x-ai/grok-4.7Summaries by Vani AI

Homebrew's SQLite 3.54.1 returns nested JSON subqueries as text, which broke LLM's logging until a json() wrap.

Simon Willison released llm 0.37.3 mainly to fix logging after Homebrew began shipping SQLite 3.54.1. In 3.54.0, a json_object call wrapping a json_array subquery returned a JSON array; 3.54.1 returns that value as quoted text. SQLite author D. Richard Hipp said 3.54.1 matches the documentation and 3.54.0 was the bug. The workaround wraps the subquery in json().

Key facts
  • The release targets a Homebrew package that ships SQLite 3.54.1.
  • json_object('a', (select json_array(1))) now returns {"a":"[1]"}.
  • The workaround is json_object('a', json((select json_array(1)))).
Explain this AI news with Vani AIWhat was announced, what is new and why it matters, in a new chat

From the original article

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.

Simon Willison

simonwillison.net

Read the full article at Simon Willison

A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.