Skip to content

armgit / mem0

Public Imported from GitHub
0

The Memory Layer for AI Agents - Drop-in memory infrastructure for AI agents and apps. Context that persists. Built for production.

fix: ValueError: ChromaDb cannot be instantiated without an embedding function (#312)

Sahil Kumar Yadav3bdec3b71ab3
diff --git a/embedchain/apps/PersonApp.py b/embedchain/apps/PersonApp.py
index 2472f6918..d868a32eb 100644
--- a/embedchain/apps/PersonApp.py
+++ b/embedchain/apps/PersonApp.py
@@ -20,8 +20,6 @@ class EmbedChainPersonApp:
def __init__(self, person, config: BaseAppConfig = None):
self.person = person
self.person_prompt = f"You are {person}. Whatever you say, you will always say in {person} style." # noqa:E501
- if config is None:
- config = BaseAppConfig()
super().__init__(config)