Skip to content

[BUG] memory_items table's happend_at collumn stores NULL value even though when proper timestamp provided in messages. #428

@pitkusharma

Description

@pitkusharma

Description

When using MemoryService class's memorize method to store memories from a conversational data, the happend_at collumn seems to store NULL value, although proper timestamp is provided in each messages.

example convo in hinglish between the agent and human

[
{
"role": "user",
"content": "Meine aaj meri first salary se mere liye ek purse kharida, kafi acha lagraha hai.",
"created_at": "2026-06-11T04:30:00Z"
},
{
"role": "assistant",
"content": "Wah sahi kiya, aise khudko ache se treat karti raho.",
"created_at": "2026-06-11T04:31:20Z"
}
]

the code i am using

memorize_result = await service.memorize(
resource_url=file_path,
modality="conversation",
user={"user_id": "1234"}
)

Environment

Ubuntu 24.04.3 LTS

Steps to reproduce

Prepare a test convo with timestamps then try to memorize it.

Expected behavior

happend_at collumn should hold the timestamp from the conversation's message.

Version

1.5.1

Severity

Critical

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions