Commit 26166a1
authored
Bedrock converse chat model to merge toolcalling chat options (#4314)
- When building the chat client request, if the ToolCallingChatOptions is passed via prompt, merge the options into Bedrock chat options. Previously, this was ignored.
- Add test to verify function calling when ToolCallingChatOptions is passed
Auto-cherry-pick to 1.0.x
Fixes: #4314
Signed-off-by: Ilayaperumal Gopinathan <[email protected]>1 parent 840a5b8 commit 26166a1
File tree
2 files changed
+28
-0
lines changed- models/spring-ai-bedrock-converse/src
- main/java/org/springframework/ai/bedrock/converse
- test/java/org/springframework/ai/bedrock/converse
2 files changed
+28
-0
lines changedLines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
276 | 280 | | |
277 | 281 | | |
278 | 282 | | |
| |||
Lines changed: 24 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| |||
279 | 280 | | |
280 | 281 | | |
281 | 282 | | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
282 | 306 | | |
283 | 307 | | |
284 | 308 | | |
| |||
0 commit comments