User_id creation for client and formatting (#2264)

This commit is contained in:
Dev Khant
2025-02-28 00:00:11 +05:30
committed by GitHub
parent ff4510f83d
commit ecff6315e7
4 changed files with 9 additions and 8 deletions

View File

@@ -143,7 +143,7 @@ class Completions:
api_key=api_key,
model_list=model_list,
)
capture_client_event("mem0.chat.create", self)
capture_client_event("mem0.chat.create", self.mem0_client)
return response
def _prepare_messages(self, messages: List[dict]) -> List[dict]: