mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-04-27 01:11:40 +00:00
The session key construction logic was duplicated in 4 places (session.py + 3 inline copies in run.py), which is exactly the kind of drift that caused issue #349 in the first place. Extracted build_session_key() as a public function in session.py. SessionStore._generate_session_key() now delegates to it, and all inline key construction in run.py has been replaced with calls to the shared function. Tests updated to test the function directly. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_channel_directory.py | ||
| test_config.py | ||
| test_delivery.py | ||
| test_document_cache.py | ||
| test_homeassistant.py | ||
| test_hooks.py | ||
| test_media_extraction.py | ||
| test_mirror.py | ||
| test_session.py | ||
| test_sticker_cache.py | ||
| test_telegram_documents.py | ||