Pydantic AI 官方文章· Marcelo Trylesinski·· 25 天前AI 评分20
Pydantic AI 解析:Code mode 不是沙箱
Code mode is not a sandbox
AI 导读
Pydantic AI 发文澄清 Code mode 与沙箱的区别:Code mode 指模型通过单一 run_code 工具编写 Python 程序调用你的工具,沙箱则决定代码在哪里运行、能访问什么。
来源:Pydantic AI 官方文章 · pydantic.dev