llm 0.31.1
AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story. The source provided limited text, so this summary is brief.
Why it matters
Developers calling OpenAI-compatible providers through llm stop hitting JSON errors when models emit tool calls with empty arguments.
Simon Willison released llm 0.31.1 on 9th July 2026, a small update to his free command-line tool for chatting with AI models. The release fixes one bug: when a model makes a 'tool call', asking an external program to run something, with empty arguments, some providers returned a JSON error. The bug was found while testing the llm-meta-ai plugin. No new features, pricing or benchmarks are mentioned.
llm, Simon Willison's open-source command-line utility for querying large language models, shipped version 0.31.1 on 9th July 2026. It contains a single fix for tool calls with empty arguments that caused JSON errors from some OpenAI-compatible providers, discovered while testing llm-meta-ai. There is no cost, competitive or strategic content; the post is a routine patch note with links to other recent posts.
llm 0.31.1 patches a serialization edge case in OpenAI Chat Completion endpoints where a tool call with empty arguments produced a JSON error from certain providers (issue #1521). The bug surfaced while testing llm-meta-ai, presumably exercising Meta AI's API through the plugin layer. The release contains no other changes, and no provider names, workarounds or version constraints are documented.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
llm llm 0.31.1 llm-meta-ai OpenAI Chat Completion Datasette Pyodide WorkOS
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
Code-driven AI illustrations are more useful than images from dedicated image models
Code-driven AI illustrations let designers edit assets directly in code, saving time on iteration and ensuring consistency, which is a game-changer for teams that need rapid, reusable visual content.
A hierarchical note-taking app for building large personal knowledge bases
Trilium lets users build and navigate massive personal knowledge bases without duplicating content, saving time on organization and retrieval.
Desktop apps in Go with native UI or web frontend
Go developers can now ship cross-platform desktop and mobile apps in a single small binary without cgo or heavy runtimes, cutting build complexity and deployment size.
OpenBitFun: an agent workspace with four harness modes and phone remote control
OpenBitFun lets agents run on any machine and be controlled from a phone, eliminating the need to choose between local power and remote access, saving developers time switching contexts.
Intel One Mono: a monospaced font designed with low-vision developers
Developers with low vision or eye fatigue can read code more clearly, reducing errors and improving productivity.