Repository navigation
v0.5.4
上下文溢出后自动重置会话并重发 / Auto-reset and resend on context overflow
上游关掉自动压缩(compression.enabled: false)后,撞上上下文溢出的会话此前会每轮都失败。
中文
修复
- 识别上游「上下文溢出且自动压缩已关」的提示,不再当作模型发言转发进群
- 命中后重置会话(等同
/clear,递增-gN)并重发本轮一次;重发前在聊天里说明一句 - 重置后仍然溢出则放弃本轮并打 ERROR
English
Fixes
- The upstream "context overflow with auto-compaction disabled" notice is recognised instead of being forwarded as if the model had said it
- On a hit the session is reset (the generation bump
/clearperforms) and the turn is resent once, with a short line posted to the chat first - If the fresh session overflows too, the turn is abandoned with an ERROR