Area
methods/EverCore
What happened?
branch:main
Running demo/extract_memory.py will throw an exception indicating that the parameter verification is invalid.
I found the following bugs in the code.
methods/EverCore/demo/extract_memory.py
function convert_to_v1_message return {
"message_id": msg.get("message_id"),
"sender_id": msg.get("sender"),
"sender_name": msg.get("sender_name"),
"role": role,
"timestamp": timestamp_ms,
"type": msg.get("type", "text"),
"text": {"content": msg.get("content", "")},
}
but there is no parameter key "text" in define of /api/v1/memories, the correct as follow:
{
"message_id": msg.get("message_id"),
"sender_id": msg.get("sender"),
"sender_name": msg.get("sender_name"),
"role": role,
"timestamp": timestamp_ms,
"type": msg.get("type", "text"),
"content": msg.get("content", ""),
}
Steps to reproduce
- branch:main
- Step 1,Start the API Server: uv run python src/run.py --port 1995
- Step 2, Extract Memories: uv run python src/bootstrap.py demo/extract_memory.py
- you will see below exception
Failed: HTTP 422
{"code":"HTTP_ERROR","message":"Field required: messages -> 0 -> content","request_id":"b5f50f76-bf79-4a91-867a-bee5f321e395","timestamp":"2026-05-21T08:42:38.795336+00:00","path":"/api/v1/memories"}
Environment
No response
Logs or screenshots
Failed: HTTP 422
{"code":"HTTP_ERROR","message":"Field required: messages -> 0 -> content","request_id":"b5f50f76-bf79-4a91-867a-bee5f321e395","timestamp":"2026-05-21T08:42:38.795336+00:00","path":"/api/v1/memories"}
Area
methods/EverCore
What happened?
branch:main
Running demo/extract_memory.py will throw an exception indicating that the parameter verification is invalid.
I found the following bugs in the code.
methods/EverCore/demo/extract_memory.py
function convert_to_v1_message return {
"message_id": msg.get("message_id"),
"sender_id": msg.get("sender"),
"sender_name": msg.get("sender_name"),
"role": role,
"timestamp": timestamp_ms,
"type": msg.get("type", "text"),
"text": {"content": msg.get("content", "")},
}
but there is no parameter key "text" in define of /api/v1/memories, the correct as follow:
{
"message_id": msg.get("message_id"),
"sender_id": msg.get("sender"),
"sender_name": msg.get("sender_name"),
"role": role,
"timestamp": timestamp_ms,
"type": msg.get("type", "text"),
"content": msg.get("content", ""),
}
Steps to reproduce
Failed: HTTP 422
{"code":"HTTP_ERROR","message":"Field required: messages -> 0 -> content","request_id":"b5f50f76-bf79-4a91-867a-bee5f321e395","timestamp":"2026-05-21T08:42:38.795336+00:00","path":"/api/v1/memories"}
Environment
No response
Logs or screenshots
Failed: HTTP 422
{"code":"HTTP_ERROR","message":"Field required: messages -> 0 -> content","request_id":"b5f50f76-bf79-4a91-867a-bee5f321e395","timestamp":"2026-05-21T08:42:38.795336+00:00","path":"/api/v1/memories"}