You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix null response for OpenAI gpt-oss models on Amazon Bedrock
Add filter to skip ContentBlocks with null text content when processing
responses. OpenAI gpt-oss models return multiple ContentBlocks including
ReasoningContent (null) and Text blocks. The fix ensures only blocks with
actual text content are processed.
Fixes#4861
Signed-off-by: Yuriy Bezsonov <ybezsonov@gmail.com>
Copy file name to clipboardExpand all lines: models/spring-ai-bedrock-converse/src/main/java/org/springframework/ai/bedrock/converse/BedrockProxyChatModel.java
Copy file name to clipboardExpand all lines: models/spring-ai-bedrock-converse/src/test/java/org/springframework/ai/bedrock/converse/BedrockProxyChatModelIT.java
+65Lines changed: 65 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -871,6 +871,71 @@ Each alert includes the official alert level (advisory, watch, warning), affecte
0 commit comments