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

OpenRouter 的 apply-patch 工具中,OpenAI 模型通过 delta 事件增量流式输出 diff,其他模型则一次性返回完整补丁。开发者可用 engine 参数控制该行为,可选 auto(默认)、native 或 openrouter。应用会收到干净的结构化补丁用于应用,并在下一轮上报结果。

正文

OpenAI models stream the diff incrementally via delta events. All other models return the complete patch as a single output.

You can control the behavior with the `engine` parameter: auto (default), native, or openrouter

Your app receives a clean, structured patch to apply, and reports back on the next turn. Docs: openrouter.ai/docs/guides/fe…

来源:@OpenRouter · x.com