Skip to content

Commit

Permalink
fixed IT
Browse files Browse the repository at this point in the history
  • Loading branch information
langchain4j committed May 24, 2024
1 parent 1ffdfdf commit 102050e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class PackagePrivateTools {
static final LocalTime CURRENT_TIME = LocalTime.of(17, 49);

@Tool
LocalTime getCurrentTime() {
return CURRENT_TIME;
String getCurrentTime() {
return CURRENT_TIME.toString();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public class PublicTools {
public static final LocalDate CURRENT_DATE = LocalDate.of(2024, 4, 29);

@Tool
public LocalDate getCurrentDate() {
return CURRENT_DATE;
public String getCurrentDate() {
return CURRENT_DATE.toString();
}
}

0 comments on commit 102050e

Please sign in to comment.