Commit ec6a20b
committed
fix:Advisor parameters lost when mutate ChatClient
- Fixed issue where advisor parameters were lost when advisors were not present during ChatClient mutation.
- Added test case mutateAdvisorParams to ensure correct parameter mutation handling.
Signed-off-by: YunKui Lu <[email protected]>1 parent bf5ebce commit ec6a20b
File tree
2 files changed
+20
-1
lines changed- spring-ai-client-chat/src
- main/java/org/springframework/ai/chat/client
- test/java/org/springframework/ai/chat/client
2 files changed
+20
-1
lines changedLines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
820 | 820 | | |
821 | 821 | | |
822 | 822 | | |
823 | | - | |
| 823 | + | |
| 824 | + | |
| 825 | + | |
| 826 | + | |
| 827 | + | |
824 | 828 | | |
825 | 829 | | |
826 | 830 | | |
| |||
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
408 | 408 | | |
409 | 409 | | |
410 | 410 | | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
411 | 426 | | |
412 | 427 | | |
413 | 428 | | |
| |||
0 commit comments