insight Simon Willison 2026-09-22T18:48 正文 ok 91 words

llm 0.36 发布

英文标题:llm 0.36

llm 0.36 新增对 OpenAI GPT-6 Sol 和 GPT-6 Luna 模型的支持,对应模型标识分别为 `gpt-6-sol` 与 `gpt-6-luna`。模型插件现在可通过 `supports_conversation = False` 声明仅支持单轮提示词的模型,系统会在接收到助手或工具历史时抛出明确异常,并阻止 `llm chat` 启动不兼容会话。此次更新还将 `llm logs` 的 Markdown 推理轨迹收纳进可折叠的 `<details><summary>` 区块,并包含五位新贡献者提交的错误修复。
打开原文相关 6 · 机会 1

中文

  • 新增 OpenAI 模型:用于 GPT-6 Sol 的 gpt-6-sol,以及用于 GPT-6 Luna 的 gpt-6-luna。 #1702
  • 模型插件现在可以通过声明 supports_conversation = False,标识仅接受单轮提示词的模型。当这些模型收到助手或工具历史记录时,LLM 会抛出 llm.ConversationNotSupported;llm chat 也会在启动会话前拒绝使用这些模型。参见不支持对话的模型。首个采用这一机制的插件是 llm-typesafe。 #1692
  • llm logs 的 Markdown 输出中的推理轨迹现在会被包裹在 <details><summary> 标签中。 #1701

此外,还包括五位新贡献者提交的错误修复。

English / 原文

  • New OpenAI models: gpt-6-sol for GPT-6 Sol and gpt-6-luna for GPT-6 Luna. #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. The first plugin to use this is llm-typesafe. #1692
  • Reasoning traces in the Markdown output of llm logs are now wrapped in <details><summary> tags. #1701

Plus bug fixes from five new contributors.