Skip to content
AI Learning Ground Start learning

News ·

llm 0.37.3

llm 0.37.3 is a bug fix release addressing breakage caused by SQLite 3.54.1 shipped via Homebrew, where a JSON behavior change broke LLM's logging code.

Simon Willison released llm 0.37.3, a bug fix release for the LLM command-line tool for accessing large language models. The fix mainly addresses a problem with the most recent Homebrew package of the software.

The issue stems from Homebrew now shipping SQLite 3.54.1, which included a change that broke LLM's logging code. In SQLite 3.54.0, a SQL query using json_object with a nested json_array subquery returned a nested JSON value, but in 3.54.1 the same query returns the inner result as a text string instead. According to D. Richard Hipp, the 3.54.1 behavior is correct because per the documentation the subquery returns SQL text, not JSON, so 3.54.0's behavior was actually a bug.

For developers using LLM via Homebrew, this release restores working logging after the underlying SQLite update. It is also a reminder that changes in dependencies as low-level as the database engine can silently alter application behavior, so tracking upstream dependency releases matters when building on tools like this.

References

Read the full story at Simon Willison ↗Like, save or discuss on Buzz

#tooling #prompting