Skip to content

Commit

Permalink
fix(ai): Make DefaultToolCallResultConverter work with GraalVM
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasVitale committed Jan 11, 2025
1 parent d801eb8 commit 65287dc
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 65287dc

Please sign in to comment.