Skip to content

Commit a3cbc0d

Browse files
authored
Merge pull request #1650 from holomekc/patch-1
fix: dev-ui being stuck on error
2 parents d2ef574 + dde37b4 commit a3cbc0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/runtime/src/main/java/io/quarkiverse/langchain4j/runtime/devui/ChatJsonRPCService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ public void onPartialResponse(String token) {
351351

352352
@Override
353353
public void onError(Throwable error) {
354-
throw new RuntimeException(error);
354+
em.fail(error);
355355
}
356356
});
357357
}

0 commit comments

Comments
 (0)