mirror of
https://github.com/tiennm99/goclaw.git
synced 2026-10-11 03:13:24 +00:00
feat(pipeline): session compaction overflow recovery (#958)
- Add ZAI/GLM context overflow patterns to error_classify.go - ThinkStage detects overflow, triggers emergency compaction + 1 retry - Wire ReserveTokensFloor config to pipeline budget calculation - Send user-friendly error on channel RunFailed events - Add sessions.compact WebSocket method for manual truncation
This commit is contained in:
1 parent
1b8627077a
commit
a7962d182a
13 files changed
+406
-3
No files matched your search
@@ -39,6 +39,7 @@ const (
|
||||
MethodSessionsPatch = "sessions.patch"
|
||||
MethodSessionsDelete = "sessions.delete"
|
||||
MethodSessionsReset = "sessions.reset"
|
||||
MethodSessionsCompact = "sessions.compact"
|
||||
|
||||
// System
|
||||
MethodConnect = "connect"
|
||||
|
||||
Reference in new issue
Block a user