-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
area:coreCore runtime and session stateCore runtime and session statearea:toolsBuilt-in tools and tool runtimeBuilt-in tools and tool runtimeneeds-triageIssue needs initial triageIssue needs initial triage
Description
背景
从手写 runtime 切到 AI SDK 后,模型的工具调用语义、并发能力、输出约束处理方式都发生变化,当前系统提示词可能与新执行路径不完全匹配。
目标
梳理并更新系统提示词规范,使其与 AI SDK 实际行为一致,避免提示词与 runtime 语义冲突。
待处理点
- 工具并发调用(parallel tool calls)行为约束。
- 工具调用结果回填后的继续推理指令。
- 输出格式限制(结构化输出/禁止额外文本等)与 SDK 能力的边界。
- 错误与重试策略在提示词层的表达。
验收标准
- 新提示词文档化(含关键规则)。
- 针对代表性模型完成验证(至少 2~3 个 provider)。
- 增加回归测试或快照,确保输出格式与工具流程稳定。
关联
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area:coreCore runtime and session stateCore runtime and session statearea:toolsBuilt-in tools and tool runtimeBuilt-in tools and tool runtimeneeds-triageIssue needs initial triageIssue needs initial triage