Skip to content

AsyncMemory.from_config no need to be async #2755

@DeoLeung

Description

@DeoLeung

🚀 The feature

https://github.com/mem0ai/mem0/blob/main/mem0/memory/main.py#L973

making the from_config non async will help initializing more easily

Motivation, pitch

in my fastapi i usually initialize the global stuff outside without async

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2-mediumAnnoying but has workaroundsenhancementNew feature or requestsdk-pythonPython SDK specific

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions