工具执行器
1 | export class ToolExecutor { |
使用示例
1 | const executor = new ToolExecutor(); |
Step 2 总结
- ✅ Function Calling 支持
- ✅ 三个内置工具
- ✅ 工具执行循环
- ✅ 工具注册机制
下一章: 第五章:流式输出 →
导航
上一篇: 4.3 工具执行循环
下一篇: 5.1 流式输出的优势
1 | export class ToolExecutor { |
1 | const executor = new ToolExecutor(); |
下一章: 第五章:流式输出 →
上一篇: 4.3 工具执行循环
下一篇: 5.1 流式输出的优势