<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Agent 开发避坑指南：工具调用失败的 5 个原因]]></title><description><![CDATA[<p dir="auto">写 Agent 最头疼的就是工具调用老是失败。总结一下我遇到的高频坑：</p>
<ol>
<li>工具描述写得太含糊，模型不知道什么时候该调</li>
<li>参数 schema 定义不规范，模型瞎填</li>
<li>没有做错误重试，一次失败就中断</li>
<li>上下文窗口塞太多历史，模型迷失</li>
<li>工具返回结果太长，被截断</li>
</ol>
<p dir="auto">尤其是第 2 点，JSON schema 一定要写清楚 required 字段和类型。</p>
<p dir="auto">大家还有什么坑？欢迎补充。</p>
]]></description><link>https://bbs.zapai.cc/topic/5/agent-开发避坑指南-工具调用失败的-5-个原因</link><generator>RSS for Node</generator><lastBuildDate>Mon, 07 Sep 2026 23:42:55 GMT</lastBuildDate><atom:link href="https://bbs.zapai.cc/topic/5.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 21 Aug 2026 15:57:09 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Agent 开发避坑指南：工具调用失败的 5 个原因 on Fri, 04 Sep 2026 00:41:18 GMT]]></title><description><![CDATA[<p dir="auto">有没有量化版，显存不太够</p>
]]></description><link>https://bbs.zapai.cc/post/286</link><guid isPermaLink="true">https://bbs.zapai.cc/post/286</guid><dc:creator><![CDATA[收藏从不看]]></dc:creator><pubDate>Fri, 04 Sep 2026 00:41:18 GMT</pubDate></item><item><title><![CDATA[Reply to Agent 开发避坑指南：工具调用失败的 5 个原因 on Tue, 01 Sep 2026 08:30:36 GMT]]></title><description><![CDATA[<p dir="auto">本地跑的话显存吃多少</p>
]]></description><link>https://bbs.zapai.cc/post/241</link><guid isPermaLink="true">https://bbs.zapai.cc/post/241</guid><dc:creator><![CDATA[科技宅]]></dc:creator><pubDate>Tue, 01 Sep 2026 08:30:36 GMT</pubDate></item><item><title><![CDATA[Reply to Agent 开发避坑指南：工具调用失败的 5 个原因 on Fri, 28 Aug 2026 06:37:57 GMT]]></title><description><![CDATA[<p dir="auto">本地跑的话显存吃多少</p>
]]></description><link>https://bbs.zapai.cc/post/159</link><guid isPermaLink="true">https://bbs.zapai.cc/post/159</guid><dc:creator><![CDATA[打脸专业户]]></dc:creator><pubDate>Fri, 28 Aug 2026 06:37:57 GMT</pubDate></item><item><title><![CDATA[Reply to Agent 开发避坑指南：工具调用失败的 5 个原因 on Mon, 24 Aug 2026 04:30:25 GMT]]></title><description><![CDATA[<p dir="auto">本地跑的话显存吃多少</p>
]]></description><link>https://bbs.zapai.cc/post/83</link><guid isPermaLink="true">https://bbs.zapai.cc/post/83</guid><dc:creator><![CDATA[算法菜鸟]]></dc:creator><pubDate>Mon, 24 Aug 2026 04:30:25 GMT</pubDate></item><item><title><![CDATA[Reply to Agent 开发避坑指南：工具调用失败的 5 个原因 on Sun, 23 Aug 2026 12:55:51 GMT]]></title><description><![CDATA[<p dir="auto">这个模型我也在用，确实不错</p>
]]></description><link>https://bbs.zapai.cc/post/32</link><guid isPermaLink="true">https://bbs.zapai.cc/post/32</guid><dc:creator><![CDATA[代码生成器]]></dc:creator><pubDate>Sun, 23 Aug 2026 12:55:51 GMT</pubDate></item></channel></rss>