第 1 周 · D2🔒 锁定约 6 小时
工具调用原理:JSON Schema、tool_use 循环;不用框架手写 Agent Loop
不依赖任何框架,手写一个能调用工具的 Agent 循环,彻底搞懂 function calling 背后到底发生了什么。
不依赖任何框架,手写一个能调用工具的 Agent 循环,彻底搞懂 function calling 背后到底发生了什么。
面试题库
function calling 的完整流程是怎样的?Walk me through the complete function calling flow.
国内高频海外高频基础#tool-calling#agent-loop🔒 解锁本章后查看答题要点。
什么是 ReAct 模式?它和你手写的工具调用循环是什么关系?What is the ReAct pattern, and how does it relate to a hand-rolled tool-calling loop?
国内高频海外高频进阶#react#agent-loop#tool-calling🔒 解锁本章后查看答题要点。
工具执行报错时,应该怎么把错误信息传给模型?有没有不该传的?When a tool fails, how should the error reach the model — and what must never reach it?
国内高频海外高频进阶#tool-calling#error-handling🔒 解锁本章后查看答题要点。
怎么防止 Agent 循环停不下来?只加一个最大步数够吗?How do you keep an agent loop from running forever — is a max-step counter enough?
国内高频海外高频深入#agent-loop#reliability#cost🔒 解锁本章后查看答题要点。
