跳到正文
@OpenRouter· @openrouter · X·· 2026-05-30AI 评分59
AI 导读

OpenRouter 上线 apply_patch 服务器工具,任何模型都能通过 Responses API 用 V4A diff 提交文件编辑。模型生成补丁,支持创建、更新或删除文件,OpenRouter 在服务端校验 diff 语法。

正文

OpenRouter now supports "apply_patch," a server tool that lets any model propose file edits using V4A diffs through the Responses API.

The model generates a patch (create, update, or delete a file). OpenRouter validates the diff syntax server-side.

来源:@OpenRouter · x.com