fix(agent): gate provider progress deltas

This commit is contained in:
hanyuanling
2026-05-06 21:18:30 +08:00
committed by Xubin Ren
parent 05e0106592
commit 653de4a7ef
4 changed files with 142 additions and 13 deletions
+1
View File
@@ -649,6 +649,7 @@ class AgentLoop:
context_block_limit=self.context_block_limit,
provider_retry_mode=self.provider_retry_mode,
progress_callback=on_progress,
stream_progress_deltas=on_stream is not None,
retry_wait_callback=on_retry_wait,
checkpoint_callback=_checkpoint,
injection_callback=_drain_pending,