[backport camel-4.22.x] CAMEL-24612: camel-langchain4j-agent - fix content converter charset, content-type normalization and stream close - #26097
Conversation
…ntent converter charset, content-type normalization and stream close
|
🌟 Thank you for your contribution to the Apache Camel project! 🌟 🐫 Apache Camel Committers, please review the following items:
|
|
🧪 CI tested the following changed modules:
🔬 Scalpel shadow comparison — Scalpel: 9 tested, 29 compile-only — current: 9 all testedMaveniverse Scalpel detected 38 affected modules (current approach: 9).
|
gnodet
left a comment
There was a problem hiding this comment.
Clean backport of #26079. All three fixes are correct: try-with-resources for stream closure, explicit UTF-8 charset instead of platform default, and content-type normalization to strip charset parameters. Tests cover the new behavior well. ✅
This review was generated by an AI agent, Hermès on behalf of @gnodet.
Backport of #26079
Cherry-pick of #26079 onto
camel-4.22.x.Original PR: #26079 - CAMEL-24612: camel-langchain4j-agent - fix content converter charset, content-type normalization and stream close
Original author: @oscerd
Target branch:
camel-4.22.x