跳到正文
AGI Hunt· DisturbedCrow·· 4 小时前AI 评分38

Gemini CLI 新 PR #30043:在 Before/AfterTool 钩子中暴露 tool_call_id

Gemini CLI 新 PR:Before/AfterTool 钩子将暴露 tool_call_id

AI 导读

Gemini CLI 新 PR #30043 计划在 BeforeTool 和 AfterTool 钩子输入中附带 toolcallid,以贯穿现有 call ID,让集成方配对追踪工具调用前后事件。该字段对未请求 ID 的直接 hook 调用保持可选;PR 关联 issue #29975,已通过 core 工作区类型检查与全部 422 个测试文件。

来源:AGI Hunt · agihunt.info