AI ToolsJul 9, 2026, 4:06 PM

minor update to llm library fixes chat completion bug

TickrWire Editorial Desk·Jul 9, 2026, 4:06 PM·1 min read AI-assisted, human-reviewed

Reported by Simon Willison: llm 0.31.1. Analysis and context written by TickrWire.

30-second summary

Simon Willison released llm 0.31.1, fixing a bug with OpenAI Chat Completion endpoints.

TickrWire
Key takeaways
  • llm 0.31.1 fixes a bug with OpenAI Chat Completion endpoints
  • the bug was caused by empty arguments in tool calls
  • the update is available on GitHub
Full story

Simon Willison has released a minor update to the llm library, version 0.31.1. This update fixes a bug with OpenAI Chat Completion endpoints, where a tool call with empty arguments could result in a JSON error from some providers. The bug was identified during testing of the llm-meta-ai tool. The update is available on GitHub.

Why this matters
Developers

this update is relevant to developers using the llm library

Sources · 1
Read next
More stories