Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 1485c34

Browse files
authoredJun 20, 2025··
Update tools.adoc (#3624)
Auto-cherry-pick to 1.0.x Fixes #3624 Signed-off-by: chen.xue <[email protected]>
1 parent 8c411ab commit 1485c34

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ When using the programmatic specification approach, you can pass the `FunctionTo
515515
ToolCallback toolCallback = ...
516516
ChatClient.create(chatModel)
517517
.prompt("What's the weather like in Copenhagen?")
518-
.tools(toolCallback)
518+
.toolCallbacks(toolCallback)
519519
.call()
520520
.content();
521521
----

0 commit comments

Comments
 (0)
Please sign in to comment.