Commit 22f3f55
committed
Fix examples for deprecated usages
- Fix Java FunctionCallback chatClient to use toolNames instead of tools to specify the function name
- Fix MCP FileSystem Application ChatClientBuilder to use defaultToolCallbacks instead of defaultTools1 parent c0cc26b commit 22f3f55
File tree
2 files changed
+4
-2
lines changed- misc/spring-ai-java-function-callback/src/main/java/com/example/java_ai_function_callback
- model-context-protocol/filesystem/src/main/java/org/springframework/ai/mcp/samples/filesystem
2 files changed
+4
-2
lines changedLines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
33 | 35 | | |
34 | 36 | | |
35 | 37 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
0 commit comments