📌 📄 内容摘要:
@kiang 在 解决Cline两个问题:You did not use a tool in your previous response 中发帖
可能你也有相同经历,Cline 用 gemini 2.5 pro,会出现多次 API request,提示
[ERROR] You did not use a tool in your previous response! Please retry with a tool use.
其实是gemini没按cline指令输出导致的。
还有一个问题,act 模式下,thinking的内容也跑出来了,原因是cline没有适配好 gemini 的输出标签。
解决方案
使用以下 rule:
FINAL OUTPUT FORMATTING RULES
CRITICAL: Your final output MUST strictly adhere to the following format. This supersedes all other formatting instruction...
────────── 链接信息 ──────────
🔗 论坛链接: linux.do
📎 访问地址: https://linux.do/t/topic/788012/1
─────────────────────────────
📢 来源:LINUX DO