MCPcopy Create free account
hub / github.com/AQ-MedAI/MedMemoryBench / __init__

Method __init__

methods/mem0/client/main.py:696–708  ·  view source on GitHub ↗
(
        self,
        api_key: Optional[str] = None,
        host: Optional[str] = None,
        org_id: Optional[str] = None,
        project_id: Optional[str] = None,
    )

Source from the content-addressed store, hash-verified

694 """
695
696 def __init__(
697 self,
698 api_key: Optional[str] = None,
699 host: Optional[str] = None,
700 org_id: Optional[str] = None,
701 project_id: Optional[str] = None,
702 ):
703 self.sync_client = MemoryClient(api_key, host, org_id, project_id)
704 self.async_client = httpx.AsyncClient(
705 base_url=self.sync_client.host,
706 headers=self.sync_client.client.headers,
707 timeout=300,
708 )
709
710 async def __aenter__(self):
711 return self

Callers

nothing calls this directly

Calls 1

MemoryClientClass · 0.85

Tested by

no test coverage detected