智能体
simonwillison.net ·
@Simon Willison's Weblog
llm 0.36 发布:新增 GPT-6 模型标识与单轮对话限制支持
Simon Willison 的 llm 工具发布 0.36 版本。新增 OpenAI 模型 gpt-6-sol(GPT-6 Sol)和 gpt-6-luna(GPT-6 Luna)。模型插件现可声明 supports_conversation = False,用于仅接受单轮提示的模型;当此类模型收到 assistant 或 tool 历史时,LLM 会抛出 llm.ConversationNotSupported,llm chat 会在启动会话前拒绝。首个采用该机制的插件是 llm-typesafe。此外,llm logs 的 Markdown 输出中的推理轨迹现被包裹在标签内,并包含五位新贡献者提交的 bug 修复。
AI推荐理由 Simon Willison 的 llm 工具 0.36 版本发布说明,属开发者工具官方更新,信息密度较高:新增 gpt-6-sol、gpt-6-luna 两个 OpenAI 模型标识;模型插件可声明 supports_conversation = False,LLM 在收到 assistant/tool 历史时抛出 llm.ConversationNotSupported,llm chat 会在会话开始前拒绝;首个使用该机制的插件为 llm-typesafe;llm logs 的 Markdown 输出中推理轨迹被包裹在标签内,并含五位新贡献者的 bug 修复。局限是仅为版本变更记录,未提供性能或效果数据,且 GPT-6 相关模型信息仅来自该发布说明,无法独立核实。
72
正文
**Release:** [llm 0.36](https://github.com/simonw/llm/releases/tag/0.36)
> * New OpenAI models: `gpt-6-sol` for [GPT-6 Sol](https://developers.openai.com/api/docs/models/gpt-6-sol) and `gpt-6-luna` for [GPT-6 Luna](https://developers.openai.com/api/docs/models/gpt-6-luna). [#1702](https://github.com/simonw/llm/issues/1702)
> * Model plugins can now declare `supports_conversation = False` for models that only accept single-turn prompts. LLM raises `llm.ConversationNotSupported` when these models receive assistant or tool history, and `llm chat` rejects them before starting a session. See [Models that do not support conversations](https://llm.datasette.io/en/stable/plugins/advanced-model-plugins.html#advanced-model-plugins-conversations). The first plugin to use this is [llm-typesafe](https://github.com/simonw/llm-typesafe). [#1692](https://github.com/simonw/llm/issues/1692)
> * Reasoning traces in the Markdown output of `llm logs` are now wrapped in `` tags. [#1701](https://github.com/simonw/llm/issues/1701)
Plus [bug fixes from five new contributors](https://llm.datasette.io/en/stable/changelog.html#v0-36).
Tags: [openai](https://simonwillison.net/tags/openai), [llm](https://simonwillison.net/tags/llm)