amal66 puts a timeout on stuck AI answers
A small reliability guard stops a stalled AI connection from leaving a legal-workflow chat hanging indefinitely.
amal66 has added a time limit around streamed AI responses. If an external AI provider stops sending an answer mid-request, the system can now stop waiting rather than leaving the user stranded in an apparently endless response.
It is a modest change, but an important one for work involving long legal documents, where a slow answer and a dead connection can look much the same. The practical question is whether the chosen limit gives complex prompts enough room to finish, while still failing clearly when a provider connection has genuinely stalled.
The fork is worth a closer look for its approach to handling the cleanup after a timeout.
Spotted something wrong? Or know the PR text has fresher detail than the writeup above?