Commit ffd8def
committed
refactor: update MessageChatMemoryAdvisor instantiation to use builder pattern
Replace direct constructor usage with builder pattern for MessageChatMemoryAdvisor across multiple examples:
- ReflectionAgent in agents/reflection
- Application in model-context-protocol/sqlite/chatbot
- Application in model-context-protocol/web-search/brave-chatbot
Signed-off-by: Christian Tzolov <[email protected]>1 parent 0c96873 commit ffd8def
File tree
3 files changed
+4
-4
lines changed- agents/reflection/src/main/java/org/springframework/ai/openai/samples/helloworld
- model-context-protocol
- sqlite/chatbot/src/main/java/org/springframework/ai/mcp/samples/sqlite
- web-search/brave-chatbot/src/main/java/org/springframework/ai/mcp/samples/brave
3 files changed
+4
-4
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
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