fix(agent): gate provider progress deltas

This commit is contained in:
hanyuanling authored and Xubin Ren committed 2026-05-06 21:18:30 +08:00
1 parent 05e0106592
commit 653de4a7ef
4 files changed
+142 -13

No files matched your search

+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,