跳到正文
原文
AIHOT · AI 精选· noreply@aihot.news (OpenRouter:Announcements)·· 25 天前AI 评分56

OpenRouter 教程:用 Responses API 构建可在 Linux 沙箱验证 bug 的 AI 代码审查脚本

AI 导读

OpenRouter 发布教程,介绍一个仅用标准库的 Python 脚本,通过 Responses API 组合 Files API、Shell 沙箱工具和 Apply Patch 工具,让模型在托管 Linux 沙箱中实际运行检查以确认代码缺陷并返回补丁。

来源:AIHOT · AI 精选 · aihot.news