You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit fbc7670
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: argi-orchestration/argi-agent-framework/src/main/java/io/github/agentic/ai/agent/orchestration/interceptor/modelretry/ModelRetryInterceptor.java
+9-4Lines changed: 9 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -302,9 +302,11 @@ private Flux<ChatEvent> toStreamingFlux(ModelRequest request, ModelCallHandler h
302
302
303
303
/**
304
304
* Waits for the backoff of a streaming retry. A run that carries a guard waits in
305
-
* slices, mirroring the synchronous {@link #pause(long, ModelRetryController)}: a
306
-
* cancellation or an expired deadline terminates the wait instead of being noticed
307
-
* when the next attempt would start. Without a guard the wait is a plain delayed
305
+
* slices, mirroring the synchronous {@link #pause(long, ModelRetryController)}: the
306
+
* guard is checked once up front, then at every slice boundary, so a cancellation
307
+
* or an expired deadline terminates the wait instead of being noticed when the next
308
+
* attempt would start. The first tick arrives after a full slice, so the total wait
309
+
* covers the whole configured delay. Without a guard the wait is a plain delayed
308
310
* completion, because there is no run control to observe.
Copy file name to clipboardExpand all lines: argi-orchestration/argi-agent-framework/src/test/java/io/github/agentic/ai/agent/orchestration/interceptors/ModelRetryInterceptorControlledTest.java
0 commit comments