opencode + omo tui模式启动崩溃 fetch https://us.i.posthog.com/batch/"path:errno:code:'ECONNRESET

报错类似
fetch https://us.i.posthog.com/batch/"path:errno:code:'ECONNRESET

res = await this.fetch(url3, {signal: ctrl.signal,...options})
throw new PostHogFetchNetworkError(e)
PostHogFetchNetworkError:Network error while fetching PostHogat<anonymous> (Users/ xxx/opencode/packages/oh-y-openagentelatest/node. mnodules/oh-my -openagent/dist/index. s: 150716:15)sagesatasyne retriable

 

是omo 内置的遥测请求不通报错导致的崩溃

解决方案 2种
1. 不用tui 使用 desktop版本 会自动(大概)回退到非 omo 的agent
2. 给.zshrc文件 添加

export OMO_DISABLE_POSTHOG=true
export OMO_SEND_ANONYMOUS_TELEMETRY=false

禁用掉遥测

posted @ 2026-05-11 14:19  谁凭花解语  阅读(104)  评论(0)    收藏  举报