wenjin272 commented on issue #1482:
URL: https://github.com/apache/flink-agents/issues/1482#issuecomment-7279651889

   Thanks for reporting this. I think a text prompt bound to a chat model setup 
should default to SYSTEM, matching Python.
   
   Could we add a Java `formatMessages(Map<String, String> variables)` overload 
that delegates to `formatMessages(MessageRole.SYSTEM, variables)`, and use it 
in `BaseChatModelSetup`? This would let both languages omit the role with the 
same default. ReActAgent should continue passing USER explicitly when 
formatting user input, and message-list templates should retain their existing 
roles.


-- 
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