Skip to content

Commit aaf1589

Browse files
authored
Update tools.adoc , change colon to semicolon (#2741)
Signed-off-by: 可能 <[email protected]>
1 parent 76a1dbe commit aaf1589

File tree

1 file changed

+1
-1
lines changed
  • spring-ai-docs/src/main/antora/modules/ROOT/pages/api

1 file changed

+1
-1
lines changed

spring-ai-docs/src/main/antora/modules/ROOT/pages/api/tools.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ ChatModel chatModel = ...
254254
ToolCallback[] dateTimeTools = ToolCallbacks.from(new DateTimeTools());
255255
ChatOptions chatOptions = ToolCallingChatOptions.builder()
256256
.toolCallbacks(dateTimeTools)
257-
.build():
257+
.build();
258258
Prompt prompt = new Prompt("What day is tomorrow?", chatOptions);
259259
chatModel.call(prompt);
260260
----

0 commit comments

Comments
 (0)