跳到正文
数字商店
原文
dax· @thdxr · X·· 2026-10-27AI 评分64
AI 导读

OpenCode 可访问自身 API 以查询当前会话历史,并结合 codemode 做定向搜索,避免上下文膨胀。作者以查找过去处理 Uber Eats 的方案为例,展示了在上下文压缩后仍能定位关键信息的方法。

正文 · 原文

since OpenCode has access to its own api, it can query history of the current session

combined with codemode it can do a targeted search that doesn't bloat context

here it's looking up how it dealt with uber eats in the past, something it lost in compaction https://t.co/b4xLVrV6gF

来源:dax · x.com