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
Disable the ordered execution of blocking actions (specifically tools) as it causes a deadlock when the tool itself also requires running on the vertx contex
Use unordered executeBlocking only on tool calling
Copy file name to clipboardExpand all lines: core/runtime/src/main/java/io/quarkiverse/langchain4j/runtime/aiservice/QuarkusAiServiceStreamingResponseHandler.java
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -141,29 +141,29 @@ public void run() {
141
141
142
142
privatevoidexecuteTools(Runnablerunnable) {
143
143
if (mustSwitchToWorkerThread && Context.isOnEventLoopThread()) {
144
-
executeOnWorkerThread(runnable);
144
+
executeOnWorkerThread(runnable, false);
145
145
} else {
146
146
runnable.run();
147
147
}
148
148
}
149
149
150
150
privatevoidexecute(Runnablerunnable) {
151
151
if (switchToWorkerForEmission && Context.isOnEventLoopThread()) {
0 commit comments