From 65287dc972a2ebba0b16bb42d9063a3e33cb0768 Mon Sep 17 00:00:00 2001 From: Thomas Vitale Date: Sat, 11 Jan 2025 23:54:59 +0100 Subject: [PATCH] fix(ai): Make DefaultToolCallResultConverter work with GraalVM --- .../ai/tools/execution/DefaultToolCallResultConverter.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arconia-ai/arconia-ai-tools/src/main/java/io/arconia/ai/tools/execution/DefaultToolCallResultConverter.java b/arconia-ai/arconia-ai-tools/src/main/java/io/arconia/ai/tools/execution/DefaultToolCallResultConverter.java index 982a8f9..5c7ac88 100644 --- a/arconia-ai/arconia-ai-tools/src/main/java/io/arconia/ai/tools/execution/DefaultToolCallResultConverter.java +++ b/arconia-ai/arconia-ai-tools/src/main/java/io/arconia/ai/tools/execution/DefaultToolCallResultConverter.java @@ -10,6 +10,8 @@ */ public class DefaultToolCallResultConverter implements ToolCallResultConverter { + public DefaultToolCallResultConverter() {} + @Override public String apply(@Nullable Object result, Class returnType) { Assert.notNull(returnType, "returnType cannot be null");