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。 #1692llm logs的 Markdown 输出中的推理轨迹现在会被包裹在<details><summary>标签中。 #1701
此外,还包括五位新贡献者提交的错误修复。
English / 原文
- New OpenAI models:
gpt-6-solfor GPT-6 Sol andgpt-6-lunafor GPT-6 Luna. #1702- Model plugins can now declare
supports_conversation = Falsefor models that only accept single-turn prompts. LLM raisesllm.ConversationNotSupportedwhen these models receive assistant or tool history, andllm chatrejects 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 logsare now wrapped in<details><summary>tags. #1701