ulysses/core
Lukas Parsons 20c7d7e6b7
Some checks are pending
ci / docker publish / build (amd64) (push) Waiting to run
ci / docker publish / build (arm64) (push) Waiting to run
ci / docker publish / merge manifest + tag (push) Blocked by required conditions
fix: unconditional lazy hydration in get_session
Drop the message_count > 0 guard — if it's 0 in the DB (stale metadata,
race condition, failed persist), the session stays empty and the model
gets no conversation history. The UI history endpoint has its own DB
fallback, so messages display correctly but never reach the LLM.

Now hydrate from DB whenever history is empty, regardless of message_count.
Trade-off: one extra DB query for genuinely empty sessions (rare).
2026-07-07 22:12:22 -04:00
..
__init__.py Odysseus v1.0 2026-05-31 23:58:26 +09:00
atomic_io.py Reject non-string atomic text writes (#1819) 2026-06-29 14:36:21 +01:00
auth.py fix(auth): add config lock around migration methods (#4447) 2026-06-26 20:35:11 +02:00
constants.py refactor(constants): single source of truth for data dir (#3368) 2026-06-08 09:58:52 +02:00
database.py Persist OCR captions in gallery 2026-06-28 04:50:20 +00:00
exceptions.py refactor(exceptions): dedupe src/exceptions via core re-export (#4785) 2026-06-24 16:50:07 +02:00
log_safety.py fix(security): redact credential-bearing URLs and PII from logs (#4750) 2026-06-22 23:12:39 +02:00
middleware.py Show thumbnails on past research cards 2026-06-30 08:00:01 +00:00
models.py fix: session context drifting — messages leaking between chats (#135) (#267) 2026-06-09 14:12:52 +01:00
platform_compat.py fix(platform): read proc version with utf-8 2026-06-11 21:58:22 +01:00
session_manager.py fix: unconditional lazy hydration in get_session 2026-07-07 22:12:22 -04:00