GitHub user pltbkd edited a comment on the discussion: [Feature] Sub-agent 
Resource for Flink Agents - Framework part

I'd like to add one more point: Python and internal subagents running on JDK < 
21 cannot provide synchronous interfaces (due to the limitations of Python 
coroutines and the lack of coroutine support in JDK < 21). Currently, we are 
throwing an NYI (Not Yet Implemented) exception for these cases. However, I'm 
reconsidering whether this is the right approach, and wondering if it would 
actually be sufficient to just unify all subagent interfaces to be purely 
asynchronous?

Besides, the interface was changed from callAsync to asDurableCallable to 
leverage durableExecuteAll. I don't really like this method or its name, while 
introducing another way to support batch execution is also not suitable. WDYT?

GitHub link: 
https://github.com/apache/flink-agents/discussions/909#discussioncomment-17851702

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to