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

Private conversations #123

Open
bitplane opened this issue Sep 17, 2024 · 1 comment
Open

Private conversations #123

bitplane opened this issue Sep 17, 2024 · 1 comment

Comments

@bitplane
Copy link

Would it be possible to add a private mode, where conversations are not saved to disk at all? It would solve some potential compliance issues that would make this very useful in my day job (we're allowed to process certain types of confidential information in memory, but not allowed to save it to disk)

@bitplane
Copy link
Author

bitplane commented Sep 17, 2024

Workaround for the Mac:

Create a link to a RAM disk in your conversations dir:

ln -s '/Volumes/LLM Private' $HOME/.cache/lm-studio/conversations/private

Each reboot, open the terminal and run this command:

# explanation:
# create a RAM disk but don't mount it
# use the output of that command to select the disk to be formatted
# after formatting, the disk will now be mounted at '/Volumes/LLM Private'
diskutil erasevolume HFS+ 'LLM Private' `hdiutil attach -nomount ram://102400`

Start a conversation in that chat folder and verify that it goes to the private disk. If the private folder isn't there then you can't chat privately.

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

1 participant