Pydantic 实测 Code Mode:8 模型 5276 次运行,长任务提速 51%

samuelcolvin · x · 2026-10-29

Pydantic 发布关于 Code Mode(Programmatic Tool Calling / RLM)的报告:当 agent 需要 200 次工具调用更新 200 条记录时,传统方式是模型逐条写出调用并逐条读取结果;改用 code mode 后,模型只需写一个 Python 循环。跨 8 个模型、5,276 次运行的实测显示:长任务运行速度提升 51%,成功率提高 16 个百分点。Glitch253 撰文讨论了 Code Mode / Programmatic Tool Calling / RLM 这一范式。

所属事件:Pydantic 发布 Code Mode 报告:长任务提速 51%、token 省 30%(2 条相关)→

原文链接 →

「编程与Agent」频道最新

更多「编程与Agent」频道 AI 资讯 →