oscerd opened a new pull request, #24990:
URL: https://github.com/apache/camel/pull/24990

   Backport of #24982 to `camel-4.18.x`. Fixes 
[CAMEL-24224](https://issues.apache.org/jira/browse/CAMEL-24224) on the 4.18.x 
line.
   
   - Streaming metadata was extracted only when `isFinalChunk` was true, but 
Claude/Nova report `stop_reason` and `usage` on the earlier `message_delta` 
chunk, so it was always missing for those families. Every chunk is now 
inspected.
   - `setResponseText` rejected cross-region inference profile ids and ARNs 
(and any newer model) via a throwing `default`. The foundation-model id is now 
resolved first, with family-prefix fallback; non-text families still fail 
clearly.
   
   Cherry-pick applied cleanly; all 20 bedrock stream/producer tests pass on 
this branch.
   
   Not applicable to `camel-4.14.x` — the Bedrock streaming code does not exist 
on that branch.
   
   ---
   _Claude Code on behalf of oscerd_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to