mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-06-15 17:25:26 -04:00
f7a5047228
When a session ID is sent to POST /api/memory/import but that session no longer exists in the DB, the previous code raised HTTP 404. The import endpoint only needs the session as an LLM-config source; the file being imported has nothing to do with the session. A fallback to the utility endpoint (already used when no session_id is supplied at all) is correct and safe. The extract endpoint is intentionally left alone — it reads the session's message history and therefore genuinely requires a live session. Co-authored-by: clochard04 <clochard724@gmail.com>