mirror of
https://github.com/ollama/ollama-python.git
synced 2026-07-21 09:05:23 -04:00
No model memory #156
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @alex-crr on GitHub (Oct 26, 2024).
Hi, I'm currently iumplementing an assistant using your library, but the model doesn"t seem to be able to remember what I said on the previous prompt when using chat. Any idea on how that could get resolved?
@mxyng commented on GitHub (Nov 5, 2024):
This library is an interface for the Ollama API. You'll need to maintain message history yourself by managing the
messageslist