I tried to work on multiple tabs simultaneously, while the chat contexts are stored with separate chat ids, i found the following issues:
The LLM context is not explicitly isolated per tab
File modification tracking might overlap
Terminal outputs could mix in the context
Here's how terminal commands are handled across multiple tabs: Each tab operates in the same terminal environment - they share the same system terminal session. This means:
Commands from different tabs are executed in the same terminal context
They share the same working directory
They can potentially interfere with each other
Important implications:
If two LLMs try to run commands simultaneously from different tabs:
The commands will be queued and executed sequentially
There's no isolation between commands from different tabs
Output from one command might mix with another
Long-running commands in one tab could block commands from other tabs
Open Multiple tabs and start working with either same llm or different llms. you will notice issues with incorrect file diff being shared with the llms and also terminal commands do not complete or conflict between tabs.
Expected behavior
This is likely a missing feature, the app in its current implementation is not fully capable of handling isolated or shared sessions in multiple tabs.
Describe the bug
I tried to work on multiple tabs simultaneously, while the chat contexts are stored with separate chat ids, i found the following issues:
Link to the Bolt URL that caused the error
https://github.com/coleam00/bolt.new-any-llm
Steps to reproduce
Expected behavior
This is likely a missing feature, the app in its current implementation is not fully capable of handling isolated or shared sessions in multiple tabs.
Screen Recording / Screenshot
No response
Platform
Additional context
No response