review: compact-worker-occupancy-cap (set_max_turns 分岐削除)

This commit is contained in:
2026-05-11 00:56:41 +09:00
parent 8100a5dfd1
commit 507b164822
3 changed files with 47 additions and 3 deletions
+1 -3
View File
@@ -1545,9 +1545,7 @@ impl<C: LlmClient, St: Store> Pod<C, St> {
usage_tracker: summary_usage_tracker,
max_input_tokens: compact_worker_max_input_tokens,
});
if compact_worker_max_turns.is_some() {
summary_worker.set_max_turns(compact_worker_max_turns);
}
summary_worker.set_max_turns(compact_worker_max_turns);
// Tools: read_file (shared scope, fresh tracker) + the three
// compact-specific tools that populate `ctx`.