fix: idle-таймер сбрасывается по live-стриму LLM + дефолт 5м; агенты opencode в agents/ с mode: primary
- opencode ищет кастомных агентов в поддиректории agents/ (как .opencode), а не в корне OPENCODE_CONFIG_DIR → распаковка теперь в <dir>/agents/*.md - markdown-агентам добавлен mode: primary (иначе subagent по умолчанию) - idle-детекция сбрасывает таймер при live-строках (text/tool/agent/reasoning), а не только по росту БД → «LLM думает и стримит» не считается зависанием - дефолт idle_timeout поднят с 2м до 5м
This commit is contained in:
@@ -73,7 +73,7 @@ telegram:
|
||||
if cfg.OpenCode.HardTimeout.Duration() != 20*time.Minute {
|
||||
t.Errorf("hard timeout = %v", cfg.OpenCode.HardTimeout)
|
||||
}
|
||||
if cfg.OpenCode.IdleTimeout.Duration() != 2*time.Minute {
|
||||
if cfg.OpenCode.IdleTimeout.Duration() != 5*time.Minute {
|
||||
t.Errorf("idle timeout = %v", cfg.OpenCode.IdleTimeout)
|
||||
}
|
||||
if cfg.Paths.Worktree != "./worktrees" {
|
||||
|
||||
Reference in New Issue
Block a user