跳到正文
AGI Hunt· ayam04·· 17 小时前AI 评分49

Gemini CLI hooks PR 新增 tool_call_id,精确配对工具调用前后事件

Gemini CLI hooks PR:为工具事件加入 tool_call_id 便于前后配对

AI 导读

google-gemini/gemini-cli 的 #30491 PR 为 BeforeTool 和 AfterTool hook 输入新增可选 toolcallid 字段,使前后事件能按模型 functionCall/functionResponse 携带的同一 id 精确配对。

来源:AGI Hunt · agihunt.info