You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix TypeError: Remove await from background_tasks.add_task calls
The HybridBackgroundTasks.add_task() method returns None and should not be awaited.
This was causing production errors with 'TypeError: object NoneType can't be used in 'await' expression'.
Fixed in:
- agent_memory_server/api.py (3 locations)
- agent_memory_server/long_term_memory.py (2 locations)
Resolves the 500 Internal Server Error on POST /v1/long-term-memory/
0 commit comments