feat: reset idle assistant sessions after one hour
When a conversation's assistant session has been idle longer than runtime.acp.assistantSessionResetIdleMs (default 1h, 0 disables) and its owner has no unfinished proposals, the next inbound message starts a fresh session instead of resuming. Binding lastActiveAt is persisted per turn so the decision survives restarts.
This commit is contained in:
@@ -184,6 +184,7 @@ QQ 出站图片:Worker/Assistant 报告的 workspace 内图片(png/jpg、≤
|
||||
- initialize:10 秒
|
||||
- cancel grace:5 秒
|
||||
- idle assistant:30 分钟
|
||||
- assistant session reset idle:1 小时(`assistantSessionResetIdleMs`,`0` 禁用;Assistant 会话空闲超过该阈值且 owner 没有未完成 Proposal 时,下一条消息开新 session 而不是 resume)
|
||||
- sweep:60 秒
|
||||
- max processes:8(Assistant + Worker 总和)
|
||||
- max assistant sessions:4
|
||||
|
||||
Reference in New Issue
Block a user