pi-memory icon indicating copy to clipboard operation
pi-memory copied to clipboard

Not sure if my setup works

Open gkostov opened this issue 1 month ago • 0 comments

Hi,

I installed the extension but whatever I do it keeps printing "Memory updated: 0 facts, 0 lessons" when I invoke /memory-consolidate.

First I wasn't sure if the key in .pi/settings.json needs to be "memory" or "pi-memory" (the documentation mentions both) but with "pi-memory" the database got created in .pi/memory/memory.db. But the /memory-consolidate command was still quickly printing the "0 facts" message and I realized that possibly it was looking for its default consolidation model which I do not have locally. So I added "consolidationModel": "local_model_name" and it started to actually prompt that model but ultimately it was still printing "0 facts" and the DB was empty (asking the agent to tell the memory stats it says it's all 0s). Then I thought I might need an embedding model so setup one on a local llama server and added it to the config so it's now

{
	"pi-memory": {
		"localPath": ".pi/memory",
		"consolidationModel": "local_model_name",
		"embedding": {
			"type": "ollama",
			"model": "embedding_model_name",
			"dimensions": 1024
		}
	}
}

but still I get 0 memories collected even for session with stats like

Messages
 Total: 96
 User: 6
 Assistant: 41
 Tools: 47 calls, 47 results

 Tokens
 Input: 2,411,293
   Cached: 2,332,370 (96.7%)
   Uncached: 78,923
 Output: 13,007
 Total: 2,424,300

Is there anything I'm doing obviously wrong?

Thanks

gkostov avatar Oct 23 '26 10:10 gkostov