UI breaks for long prompts (200k tokens)

Author: jul-shCreated Feb 11, 2024Updated Feb 11, 2024

UI becomes unresponsive, repeated error messages about local storage being full.

the relevant blocking operations should be moved to workers, so they don't block the UI. Local storage should be disabled for history in the case of long prompts.