fix(core): fix end_user_id reference and add task status tracking
- Fix write_router to use actual_end_user_id instead of end_user_id - Add task status tracking via Redis in scheduler - Expose task_id in memory write response - Fix logging import path in scheduler
This commit is contained in:
@@ -94,9 +94,9 @@ async def write(
|
||||
# )
|
||||
scheduler.push_task(
|
||||
"app.core.memory.agent.write_message",
|
||||
end_user_id,
|
||||
actual_end_user_id,
|
||||
{
|
||||
"end_user_id": end_user_id,
|
||||
"end_user_id": actual_end_user_id,
|
||||
"message": structured_messages,
|
||||
"config_id": str(actual_config_id),
|
||||
"storage_type": storage_type,
|
||||
|
||||
Reference in New Issue
Block a user