Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multi-instance mode #92

Open
tennox opened this issue Mar 18, 2024 · 1 comment
Open

multi-instance mode #92

tennox opened this issue Mar 18, 2024 · 1 comment

Comments

@tennox
Copy link

tennox commented Mar 18, 2024

Love this tool ❤️

But when I want to use it in multiple terminal tabs:

chatgpt -n
Error: Another chatgpt instance is running, chatgpt works not well with multiple instances, please close the other one first.
If you are sure there is no other chatgpt instance running, please delete the lock file: /tmp/chatgpt.lock
You can also try `chatgpt -d` to run in detach mode, this check will be skipped, but conversation will not be saved.

How (much effort) would it be to support multiple insances?
Would be amazing :)

Ready to throw a sunday at it (at some point this year 😅)

@j178
Copy link
Owner

j178 commented Mar 20, 2024

Thanks, this might not be easy. We’re faced with two challenges:

  1. We need a more capable storage system allowing concurrent reads and writes, like SQLite?, instead of a plain file.
  2. Ensure that when two instances access the same conversation, updates made by one instance are automatically synchronized in the other.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants