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

   Hi, @addu390. Your understanding is completely correct. 
   
   The cross-language action mechanism is almost there, but there are still a 
few small issues:
   1. As you mentioned, users can currently only declare cross-language actions 
via add_action. I think we should also add support for the `@Action` 
decorator/annotation.
   2. There are some SerDe inconsistencies between built-in actions across 
languages. For example, if a user sends a `ChatRequestEvent` from a Java action 
and processes it with the Python built-in chat action, a Pydantic validation 
exception will occur, because`MessageRole` is serialized as `User` on the Java 
side but is expected to be `user` on the Python side. Other built-in actions 
likely have similar issues, so we should add comprehensive cross-language tests 
to catch them.


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