diff --git a/core/deployment/src/main/java/io/quarkiverse/langchain4j/deployment/AiServicesProcessor.java b/core/deployment/src/main/java/io/quarkiverse/langchain4j/deployment/AiServicesProcessor.java index fbfcc1b01..4f697b8f6 100644 --- a/core/deployment/src/main/java/io/quarkiverse/langchain4j/deployment/AiServicesProcessor.java +++ b/core/deployment/src/main/java/io/quarkiverse/langchain4j/deployment/AiServicesProcessor.java @@ -567,7 +567,9 @@ public void handleAiServices(AiServicesRecorder recorder, for (AnnotationInstance annotationInstance : methodInfo.declaredAnnotations()) { // TODO: we need to review this if (annotationInstance.name().toString() - .startsWith("org.eclipse.microprofile.faulttolerance")) { + .startsWith("org.eclipse.microprofile.faulttolerance") + || annotationInstance.name().toString() + .startsWith("io.smallrye.faulttolerance.api")) { mc.addAnnotation(annotationInstance); } }