-
Notifications
You must be signed in to change notification settings - Fork 173
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
Restoring Ollama state correctly #181
Labels
enhancement
New feature or request
Comments
Is this why we get the |
Is this why we get the `Ollama error (nil): Malformed JSON in response.` error whenever we receive a response from ollama?
No, there's no connection between this and the error.
The error sounds like a bug. Is Ollama not working for you at all, or does it not work when you restore a chat from a file on disk?
|
I wasn't aware of this issue so I tried to load Ollama saved state and with the new prompt it basically ignored all the previous context - I guess this is why? Is there any progress on this, or some kind of workaround I could use? |
This was fixed recently, please update gptel.
…On Sun, Apr 28, 2024, 3:16 AM zk395 ***@***.***> wrote:
I wasn't aware of this issue so I tried to load Ollama saved state and
with the new prompt it basically ignored all the previous context - I guess
this is why? Is there any progress on this, or some kind of workaround I
could use?
—
Reply to this email directly, view it on GitHub
<#181 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACBVOLCTMAIWKDW4YJXDE5DY7TD77AVCNFSM6AAAAABB4CNNNGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBRGQZDGMJZGU>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The state of Ollama chats cannot be restored accurately since we are not (presently) storing the chat embedding vector the API returns. Storing this is simple, but this vector tends to be large, and will cause two issues with Emacs:
The option of storing it separately in a data file (ASCII or binary) is off the table: one gptel's objectives is to produce self-contained, single file chats that are portable and reproducible modulo pinning the Emacs+gptel version. (And we try very hard to stay backward compatible so the pinning isn't necessary.)
The text was updated successfully, but these errors were encountered: