Commit 1737130
Maha Lakshmi Soumya Yalavarthi
Fix temperature/top_p parameter conflict in Bedrock client
- Modified BedrockClient to handle temperature/top_p mutual exclusivity
- Use top_p only when temperature is 0.0 to avoid ValidationException
- Maintains backward compatibility with existing code
- Resolves Claude model parameter validation errors1 parent 3175d5b commit 1737130
1 file changed
+15
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
271 | 271 | | |
272 | 272 | | |
273 | 273 | | |
274 | | - | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
275 | 289 | | |
276 | 290 | | |
277 | 291 | | |
| |||
0 commit comments