Peter Steinberger 🦞· @steipete · X·· 5 天前AI 评分38
AI 导读
我们把 OC 迁移到 sqlite 时犯的最大设计错误:使用了同步数据库访问。当它只是一个在 Slack 或 iMessage 上向你汇报的智能体时,这没问题;现在一个智能体可能并行跑 50 个会话,整个团队都在用它,这就成了限制。 我和 Astra 有一个 /goal,目前已提交 575 个 PR,把所有东西迁移到异步 worker。我们边推进边发布这些改进。相当疯狂的是,连巨大的重构都不再可怕了。
正文
The biggest design mistake I made when we moved OC to sqlite: using sync db access. When it was just an agent that reports to you on Slack or iMessage this was fine; now that one agent might do 50 sessions in parallel and the whole team works on it, it is limiting.
I have a /goal with Astra that so far landed 575 PRs to move everything to to async workers. We ship these improvements as we make progress. Pretty insane how even huge refactors are no longer scary.
来源:Peter Steinberger 🦞 · x.com