跳到正文
AgentLab·· 4 天前

Pi 1.0.2: 按 thinking level 配置采样参数,并统一 durable harness 的 Provider Session 身份

AgentLab 分析摘要

本版增加按 thinking level 选择采样参数的机制:coding-agent 的配置与 Provider 组合层接收 samplingParamsByThinkingLevel,AI 层引入 resolveSamplingParams,并在 OpenAI 兼容适配器中接入,使不同推理档位可以使用不同采样配置。源码还在 durable harness 中增加 ProviderDoc,并让 generation 与 compaction 都通过 ensureProviderSessionId 获取 Session 身份,为同一对话的 Provider 请求提供统一身份入口。官方发布说明确认了采样配置功能;捕获的 Runtime Prompt 与 Tool Schema 快照及差异统计未显示变化,Static Prompt 无可用比较,源码样本未展开参数覆盖优先级或 Session 恢复细节。

分析与证据

分析已完成

AgentLab · pi 1.0.2

来源:AgentLab · agentlab.dairui1.com