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

Sources don't persist #1

Closed
luke3butler opened this issue Apr 12, 2023 · 4 comments
Closed

Sources don't persist #1

luke3butler opened this issue Apr 12, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@luke3butler
Copy link

luke3butler commented Apr 12, 2023

After closing the app and reopening it, the chat sources are cleared out and need to be re-added.

My steps:

  1. Opened app, and added Alpaca in GGML format.
  2. Used the app for a bit.
  3. Closed the app.
  4. Opened app, and got prompted to add a source again. Previous addition disappeared.
@alexrozanski
Copy link
Owner

Thanks for the report, @luke3butler. Couple of things here:

  • Could you check if ~/Library/Application Support/com.alexrozanski.LlamaChat/sources.json exists? This is where the sources should be persisted to.
  • I just pushed a temporary fix to add some more logging to diagnose what's going on here - I'll release a new build of the app within the next day or two with any new changes (so you can see what's going on from Console.app), but if you've built from source then any errors should now be logged to the console in Xcode.

@alexrozanski alexrozanski added the bug Something isn't working label Apr 12, 2023
@fakechris
Copy link

Same problems here, ~/Library/Application Support/com.alexrozanski.LlamaChat/sources.json is exists, with contents

{"sources":[{"id":"60E16EE0-B03C-48E4-9005-7E518ADBBBF0","modelDirectoryId":null,"modelURL":"file:///Users/user/source/ai/llama.cpp/models/7B/ggml-model-q4_0.bin.1","avatarImageName":null,"modelSize":"size7B","type":"llama","name":"LLaMA"}]}

@alexrozanski
Copy link
Owner

ah got it, there was a bug in the chat source deserialisation logic. fixed in 1fafb1f, will release an update shortly. for now, a workaround is to make sure to select an avatar when adding a source.

thanks for the reports!

@alexrozanski
Copy link
Owner

Fixed in v1.0.1: https://github.com/alexrozanski/LlamaChat/releases/tag/1.0.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants