Files
MemoryBear/api/app
Ke Sun 3efb3e8a35 fix(memory): add Redis session validation
- Add macOS fork() safety configuration in celery_app.py to prevent initialization issues
- Add null/False checks for Redis session queries in term_memory_save to handle missing sessions gracefully
- Add null/False checks in memory_long_term_storage to prevent processing empty Redis results
- Add null/False checks in aggregate_judgment before format_parsing to avoid errors on missing data
- Initialize redis_messages variable in window_dialogue for consistency
- Add debug logging when no existing session found in Redis for better troubleshooting
- Add TODO comments for magic numbers (scope=6, time=5) to be extracted as constants
- Improve error handling when Redis returns False or empty results instead of crashing
2026-02-03 18:50:59 +08:00
..
2026-01-12 15:59:10 +08:00
2026-01-19 16:41:11 +08:00
2026-02-03 18:42:54 +08:00
2026-01-30 18:02:45 +08:00
2026-02-03 18:42:54 +08:00
2026-02-03 18:42:54 +08:00
2026-02-03 18:42:54 +08:00
2026-01-30 19:09:43 +08:00
2026-01-26 11:53:34 +08:00
2026-01-20 10:36:30 +08:00
2025-12-24 20:35:04 +08:00
2026-01-29 12:33:40 +08:00