Released: llm 0.33
The updates I focused on in this release are:
I released the quick 0.32.1 fix yesterday to address this issue, but this release provides a more comprehensive fix.
llm embedandllm embed-multinow support--key. In Python, theEmbeddingModel.embed(),EmbeddingModel.embed_multi(),Collection.embed(), andCollection.embed_multi()methods also supportkey=, passing the resolved per-call key to the embedding plugin without changing the shared model state. Existing plugins that readself.keycontinue to work through a compatibility fallback. Thanks to ChrisJr404. #757, #1620
Embedding models now use the same key mechanism as regular LLM models.
llm prompt -t/--templatecan now be repeated to combine multiple templates in sequence. This makes it possible to combine model configuration and options from one template with a prompt from another template.
This enables a particularly useful pattern: creating templates that package a model together with a set of default options:
llm -m gpt-5.6-luna -o reasoning_effort high --save lhighllm "Generate an SVG of a pelican riding a bicycle" --save pelican# 组合并运行这些模板llm -t lhigh -t pelican
- Models using the Responses API with reasoning support now support the
reasoning_summaryoption, which can be set toauto,concise, ordetailed. This option can be used withllm openai endpoint --responses. #1600
This is particularly useful for testing different models, since each provides its own simulated implementation of the OpenAI Responses API.