Skip to content

Commit ae8b6b2

Browse files
authored
Merge pull request #218 from cescoffier/fix-smallrye-fault-tolerance-annotations
2 parents 5509b57 + 0bb563c commit ae8b6b2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

core/deployment/src/main/java/io/quarkiverse/langchain4j/deployment/AiServicesProcessor.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,9 @@ public void handleAiServices(AiServicesRecorder recorder,
567567
for (AnnotationInstance annotationInstance : methodInfo.declaredAnnotations()) {
568568
// TODO: we need to review this
569569
if (annotationInstance.name().toString()
570-
.startsWith("org.eclipse.microprofile.faulttolerance")) {
570+
.startsWith("org.eclipse.microprofile.faulttolerance")
571+
|| annotationInstance.name().toString()
572+
.startsWith("io.smallrye.faulttolerance.api")) {
571573
mc.addAnnotation(annotationInstance);
572574
}
573575
}

0 commit comments

Comments
 (0)