Skip to content

Commit afd823d

Browse files
committed
fix: 🐛 add missing record key word
1 parent aade63d commit afd823d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ai/ai-endpoints/structured-output-langchain4j/SimpleStructuredOutput.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
import dev.langchain4j.model.mistralai.MistralAiChatModel;
1515
import dev.langchain4j.model.chat.ChatModel;
1616

17-
Person(String name, int age, double height, boolean married) {
17+
record Person(String name, int age, double height, boolean married) {
1818
}
1919

2020
void main() throws Exception {

0 commit comments

Comments
 (0)