Commit Graph
3 Commits
Author SHA1 Message Date
BlackAngelTV 6ebf550eb0 feat(backend): bound the messages kept per project
A project that lives for months would otherwise grow the SQLite file without
limit, even though the model only ever reads the most recent messages. Pruning
the oldest rows on every write keeps a project to a fixed budget without
touching what the context is built from.
2026-10-05 21:39:45 +02:00
BlackAngelTV c1d6593c35 feat(backend): recite the project context to verify what the model receives
Storing a context is not enough: the user needs to know it actually reaches
Ollama, and that the messages replayed are the ones they expect. The read-only
probe answers that by asking the model to recite its context and reporting how
many messages were replayed, while persisting nothing.
2026-10-05 21:39:28 +02:00
BlackAngelTV 877df963f9 test(backend): cover auth, projects and streaming with a mocked Ollama
Tests run without any external service; the mock streams NDJSON chunks so the
SSE path is exercised end to end.
2026-10-05 15:01:57 +02:00