[Win11 / KNIME AP 5.4] K-AI: Read time out

I’ve been using K-AI all afternoon to make adjustments to some Python code in the Python Script node, and it has been responsive and working extremely well.

However, I have now started to get ‘K-AI Read timed out’ errors consistently. I’ve tried restarting KNIME AP.

I’m not sure how to troubleshoot this. My Python code has about 115 lines, and is currently otherwise working. The AP’s KNIME K-AI Assistant is working just fine.

I may have found a workaround, but it’s unfortunately a bit more time consuming and less than ideal.

If I create a new node, I can have K-AI generate the code I need there using a bare-bones framework, and then I can manually merge the code it gives me back with my original node.

I think that maybe K-AI can’t handle more than just a small basic amount of code?

Hello @ajackson,
thank you for reporting this issue.
Unfortunately, there is no straight forward workaround other than what you already described in your second post.
However, we are able to reproduce the problem which is always the first crucial step to finding a solution.
We will let you know when a fix is available.

Best regards,
Adrian

2 Likes

Internal ticket ID: AP-23963
Summary: K-AI code generation times out for larger code
Fix version(s): 5.4.4, 5.5.0

1 Like