llm-all-models-async 0.1

AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.

Why it matters

The new plugin wraps sync LLM model plugins as async ones via a thread pool, so they now work with Datasette tools like datasette-enrichments-llm that only support async models.

Read this as

Simon Willison released version 0.1 of llm-all-models-async, a small add-on for his LLM command-line tool. It converts 'sync' plugins, which run a model directly inside the plugin, into 'async' ones, which work the way internet-based model APIs do. He needed this because Datasette's enrichment tool only accepts async models, and his own mr-chatterbox plugin is sync only. The release also required a small hook added in LLM 0.30.

This is a niche developer tooling release, not a business announcement. Willison built llm-all-models-async 0.1 so that his sync-only llm-mrchatterbox plugin can be used with Datasette's datasette-enrichments-llm, which only supports async model plugins. The work also forced a plugin-hook change shipped in LLM 0.30. Only developers extending Willison's LLM toolchain are affected.

llm-all-models-async 0.1 adapts sync model plugins, which execute the model in-process, into async model plugins by running them through a thread pool. Because the wrapping required no native support, Willison added a new plugin hook mechanism to LLM itself, released in LLM 0.30. The motivating use case was datasette-enrichments-llm, which rejects sync models. No benchmarks, pricing or performance figures are given.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

llm-all-models-async 0.1 LLM 0.30 Datasette llm-mrchatterbox datasette-enrichments-llm

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading