Commit f2274eb
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
Fixes: #4314
Signed-off-by: Ilayaperumal Gopinathan <[email protected]>
(cherry picked from commit 26166a1)1 parent 3e6e272 commit f2274eb
File tree
2 files changed
+27
-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
+27
-0
lines changedLines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
271 | 271 | | |
272 | 272 | | |
273 | 273 | | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
274 | 278 | | |
275 | 279 | | |
276 | 280 | | |
| |||
Lines changed: 23 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
280 | 280 | | |
281 | 281 | | |
282 | 282 | | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
283 | 306 | | |
284 | 307 | | |
285 | 308 | | |
| |||
0 commit comments