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.

Read this as

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