weiqingy commented on PR #548:
URL: https://github.com/apache/flink-agents/pull/548#issuecomment-4167535442

   @wenjin272 The cross-language test (ChatModelCrossLanguageTest) has been 
consistently failing with httpx.ReadTimeout on this PR. After digging into it, 
I found:
   
   On JDK 21, BaseChatModelSetup.chat() resolves resources (connection, prompt, 
tools) via getResource() inside the async thread (durableExecuteAsync). In 
cross-language scenarios, this ends up triggering Pemja calls into the Python 
interpreter from the async pool thread, which could lead to issues.
   
   It looks like your PR #571 addresses this by moving resource resolution into 
open() on the main thread, so chat() no longer calls getResource() from the 
async thread. WDYT?
   


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