Why Should an Inference End as Text on a Screen?
Why Should an Inference End as Text on a Screen?
问问网络聊天机器人,为什么构建在本地可以通过,但在持续集成(CI)中却失败了。它可能会建议重新安装依赖项。或者,它可能会注意到有两种解释符合证据:环境可能运行着不同版本的运行时,或者 CI 可能调用了不同的构建命令。将工作流与项目配置进行比较,有助于区分这些解释。选择检查什么本身就是有用的工作。这发生在任何内容到达工具之前。这就是我所说的 AI 的真正力量在于推理,而不是交付路径的原因。API 和浏览器有不同的成本、约束和集成点。但两者都不应因为“比较两条证据比猜测修复方法更有用”这一判断而获得赞誉。
The human in the copy-and-paste loop In a conventional web chat, that judgment often comes back as an instruction: “Open the workflow file and paste the build step here.” The model worked out what it needs. Now you have to carry its decision out of the conversation and carry the evidence back in. We built Chat2Agent because we wanted to change that handoff without giving a web chat unrestricted authority over a computer.
复制粘贴循环中的人类。在传统的网络聊天中,这种判断通常以指令的形式返回:“打开工作流文件,把构建步骤粘贴到这里。”模型已经算出了它需要什么。现在,你必须把它的决定带出对话,再把证据带回来。我们构建 Chat2Agent 是因为我们想改变这种交接方式,同时又不给网络聊天机器人对计算机的无限制权限。
We created AXLP/3 so the chat can express its proposed operation in a form a local engine can interpret. The engine validates the request, checks permissions, and reports the outcome. A model asking to read a file is not evidence that the file has been read. Only the result can establish that.
我们创建了 AXLP/3,以便聊天机器人可以用本地引擎能够理解的形式表达其建议的操作。引擎会验证请求、检查权限并报告结果。模型要求读取文件并不代表文件已经被读取。只有结果才能证明这一点。
What changes on the next turn Suppose that comparison shows CI runs the same build command as the local project. That doesn’t prove the runtime is at fault. But it gives the model a reason to drop one line of investigation and ask a better question. If access is denied instead, the model has learned something different: it still lacks the evidence to diagnose the failure. Either outcome is more useful than a confident report of a check that never happened.
下一轮会发生什么变化?假设比较显示 CI 运行的构建命令与本地项目相同。这并不能证明是运行时的问题。但它给了模型一个理由去放弃一条调查路线,并提出一个更好的问题。如果访问被拒绝,模型则学到了不同的东西:它仍然缺乏诊断故障的证据。无论哪种结果,都比一份从未执行过的检查的自信报告更有用。
That’s the part of the design I care about. The protocol doesn’t create the inference; the web chat was already capable of it. The protocol lets a judgment lead to an action, while keeping permission on the machine where the action would happen. Then the outcome becomes evidence for the next judgment. The local edition of Chat2Agent is open source under Apache 2.0. If you explore the code, follow one request from the conversation to the local engine and back. That round trip is the idea behind the project.
这就是我关心的设计部分。该协议并没有创造推理;网络聊天机器人本身就已经具备了这种能力。该协议让判断引导行动,同时将权限保留在执行行动的机器上。然后,结果成为下一次判断的证据。Chat2Agent 的本地版本在 Apache 2.0 协议下开源。如果你探索代码,可以跟踪一个从对话到本地引擎再返回的请求。那个往返过程就是该项目背后的核心理念。