You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I often observe strange behavior in production mode. The LLM response renders unevenly and eventually freezes midway with an unspecified error. There is nothing in the JS console or stdout. When I switched back to development mode, the issue stopped occurring.
Unfortunately, it's intermittent, and I haven't been able to reliably reproduce it so far.
It seems that the problem lies in the handleSubmitProduction function. I would prefer to use it instead of the one supplied by the useChat hook, but for some reason, it's unstable.
The text was updated successfully, but these errors were encountered:
By the way, what is the reason for code duplication in page.tsx and [id]/page.tsx?
r0x07k
changed the title
Response rendering freezes with error in the middle in production mode
The response rendering freezes midway and throws an error in production mode
Aug 16, 2024
I often observe strange behavior in production mode. The LLM response renders unevenly and eventually freezes midway with an unspecified error. There is nothing in the JS console or stdout. When I switched back to development mode, the issue stopped occurring.
Unfortunately, it's intermittent, and I haven't been able to reliably reproduce it so far.
It seems that the problem lies in the
handleSubmitProduction
function. I would prefer to use it instead of the one supplied by theuseChat
hook, but for some reason, it's unstable.The text was updated successfully, but these errors were encountered: