Skip to content

Commit

Permalink
Fix issue with reload when tools are new added
Browse files Browse the repository at this point in the history
  • Loading branch information
geoand committed May 28, 2024
1 parent 3cd2bd5 commit ebb522a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,7 @@ public void handleDeclarativeServices(AiServicesRecorder recorder,
String moderationModelName = bi.getModerationModelName();
SyntheticBeanBuildItem.ExtendedBeanConfigurator configurator = SyntheticBeanBuildItem
.configure(QuarkusAiServiceContext.class)
.forceApplicationClass()
.createWith(recorder.createDeclarativeAiService(
new DeclarativeAiServiceCreateInfo(serviceClassName, chatLanguageModelSupplierClassName,
toolClassNames, chatMemoryProviderSupplierClassName, retrieverClassName,
Expand Down

0 comments on commit ebb522a

Please sign in to comment.