-
Notifications
You must be signed in to change notification settings - Fork 314
Open
Description
I'm trying to use MIRIX through the FastAPI endpoints you expose.
curl -X POST "http://localhost:47283/send_message" \
-H "Content-Type: application/json" \
-d '{"message": "Hello, can you introduce yourself?"}'
{"detail":"Error processing message: 'MessageRequest' object has no attribute 'user_id'"}
When hitting the /send_message endpoint, there's this error:
Error in send_message_endpoint: 'MessageRequest' object has no attribute 'user_id'
Traceback: Traceback (most recent call last):
File "/home/sergio/Work/MIRIX/mirix/server/fastapi_server.py", line 550, in send_message_endpoint
if request.user_id:
^^^^^^^^^^^^^^^
File "/home/sergio/Work/MIRIX/mirix_env/lib/python3.13/site-packages/pydantic/main.py", line 991, in __getattr__
raise AttributeError(f'{type(self).__name__!r} object has no attribute {item!r}')
AttributeError: 'MessageRequest' object has no attribute 'user_id'
Metadata
Metadata
Assignees
Labels
No labels