FastChat icon indicating copy to clipboard operation
FastChat copied to clipboard

Append error message (not replace)

Open aginfo2 opened this issue 2 years ago • 3 comments

please, when error, append the message - ex: NETWORK ERROR DUE TO HIGH TRAFFIC. PLEASE REGENERATE OR REFRESH THIS PAGE. (error_code: 4) - not replace the content with the message error, only append.

aginfo2 avatar May 09 '23 07:05 aginfo2

Same error on my side. It just work fine without web GUI

MyIcecream avatar May 09 '23 08:05 MyIcecream

Could you help us fix this by sending a pull request?

merrymercy avatar May 20 '23 14:05 merrymercy

Please update the code as the new version retrieves WORKER_API_TIMEOUT parameter from the startup command without any default value (the old version had a default of 20 seconds). Additionally, the parameter can be modified in the constants.py file of the old version. The reason for this timeout is usually due to low hardware performance or poor network connectivity.

swmvp avatar May 31 '23 02:05 swmvp