LLM 0.32a1 Released: Fixes Tool-Calling Conversation Storage Bug

LLM 0.32a1 fixes a bug preventing tool-calling conversations from reloading correctly from SQLite.
Simon Willison released LLM 0.32a1, an alpha bugfix addressing a critical issue from 0.32a0 where conversations involving tool-calling could not be properly reinflated from the SQLite database. The fix ensures tool-calling conversation histories can be correctly restored and continued. Users affected by this issue are encouraged to upgrade immediately.
Overview
Simon Willison has released version 0.32a1 of his open-source command-line tool LLM. This is an alpha bugfix release that primarily addresses a critical bug from the previous version (0.32a0) where tool-calling conversations failed to reload correctly from the SQLite database.
What Was Fixed
SQLite Storage Issue with Tool-Calling Conversations
This update fixes a bug introduced in version 0.32a0: when users had conversations involving tool-calling, those conversation records could not be properly reinflated when read back from the SQLite database. This meant that previously saved conversation histories containing tool calls could not be properly restored or continued.
The issue was tracked in GitHub Issue #1426 and has been resolved in this release.
Background: Tool-Calling in LLM
LLM is a powerful command-line tool developed by Simon Willison that allows users to interact with various large language models through the terminal. The tool-calling (function-calling) capability added in recent versions is one of the core features of modern LLM applications, enabling models to invoke external tools and functions to complete tasks during conversations.
Persistent conversation storage in SQLite is an important feature of the LLM tool, allowing users to review past conversations and continue previous interactions. Correct serialization and deserialization of tool-calling conversations is critical for maintaining the integrity of conversation context.
Version Notes
It's worth noting that 0.32a1 is still an alpha version (indicated by the "a" suffix), meaning it's in an early testing phase. For production use, it's recommended to watch for subsequent stable releases. However, for users already running 0.32a0 who have encountered the tool-calling conversation storage issue, upgrading to this version is recommended as soon as possible.
How to Update
Users can update to the latest alpha version with the following command:
pip install llm==0.32a1
Or to install the latest version including pre-releases:
pip install --pre llm
Related articles
Tech FrontiersA Rare Quiet Day in AI: Recursive Self-Improvement Stirs Beneath the Surface
A rare quiet day in AI sees multiple sources go silent simultaneously. Behind the calm, Recursive Self-Improvement (RSI) research continues. What this means for the industry.
Tech FrontiersReve 2 vs. Ideogram 4: A Deep Dive into Layout Control in AI Image Generation
A deep comparison of Reve 2 and Ideogram 4's layout control capabilities, covering technical approaches, real-world use cases, and industry trends for designers and creators.
Tech FrontiersIn the Weights: Check Your Influence Score in the AI World
In the Weights is an AI influence search engine that quantifies your presence in the AI world with a score. Explore how it evaluates practitioners and what it means for digital identity.