Assistant getting Internal Server Errors

using assistant getting internal server error continue which breaks the coversation.

screenshot showing message.

the conversation had to go back and read the code and verify if the edit that was in progress was actually completed or not.

Expected behavior

not expecting any internal server errors.