You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Go 后端 STREAMING_TIMEOUT 默认值过短,导致 Claude Code /compact 等长耗时流式请求经常被中转主动断流 #415
用户通过本服务中转使用 Claude Code 时,反馈"一直在压缩"、"压缩频繁失败"、"压缩卡在 95%"。实际部署使用的是 Go 后端(Rust 后端 apps/api-rust 目前尚未上线,见 .env.example 注释"Go is the stable/default backend"),因此问题根因必须定位在 Go 侧代码,而不是 Rust 侧的 relay_http.rs(后者是尚未启用的并行实现,行为可能相似但不是当前线上问题的成因)。
根因
apps/api-go/constant/env.go:3:var StreamingTimeout int 全局变量。
Activity
fix(relay): raise STREAMING_TIMEOUT default to reduce compaction fail…
fix(relay): raise STREAMING_TIMEOUT default to reduce compaction fail…