chandru9 commented on PR #21704:
URL: https://github.com/apache/camel/pull/21704#issuecomment-4032206132
Hello @gnodet, thank you for the detailed review,
2 - I have removed the star imports in my previous commits also after
running format command somehow star imports are back in my IDE, I observed
lately, but I preserved this part. :)
3 - Agent.processBody() is deprecated.
4- You are correct that AgentWithMemory and AgentWithoutMemory differentiate
text-only vs multimodal messages based on content == null.
With the current implementation creating a TextContent, String payloads
would always follow the multimodal path.
To preserve the previous behavior,
I have updated the textToAiAgentBody converter so that it only sets the
userMessage and leaves content as null, ensuring text payloads continue to use
the existing text-only flow.
5 - Adjusted to use exchange.getMessage().
6 - Test renamed.
7 - test cases adjusted
8 - removed the blank line.
9 - also retained inline comments,.
--
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]