AnecdoteAudio · 20:42 — 22:12
由于 agent 会话可以追踪累计的美元花费,用户可以为一次会话设定支出上限,并要求在超支前明确批准,从而防止成本失控。
Matei 描述了如何为单次 agent 会话设定支出上限(比如 5 美元),超支前需要明确批准——这源于他自己有一次调试会话烧掉了 500 美元的 token 费用。 ✦ AI 生成 · 平台预翻
Matei Zaharia · Latent Space · 2026-06-24 · English original →
我曾经让一个 agent 去调试某个问题,结果它花掉了 500 美元,因为它决定去读大量的日志文件,烧掉了很多 token。但我现在可以直接说,"好,启动一个 agent 去做这件事,把花费上限设成 5 美元。"如果它需要更多,就要先征得我的同意。
I've had, like, I ask an agent to debug something, and it spent $500 because it decided to read a lot of log files and burn a lot of tokens. but I can literally say, "Okay, launch a agent to do this and cap it to spending $5." Like, ask me for permission if it needs more.回到原声 ↗逐字转录 · 起于 20:42 · 中文为平台译文