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