The Memory Layer for AI Agents - Drop-in memory infrastructure for AI agents and apps. Context that persists. Built for production.
Python agentic-memoryagentic-memory-systemagentsaiai-agentschatgptgenaillmlong-term-memorymemorymemory-managementpythonragstate-management
[chore] fix lint issues (#607)
Deshraj Yadav701d0b21ef5a
diff --git a/embedchain/llm/base.py b/embedchain/llm/base.pyindex cc0179eea..6c24ba280 100644--- a/embedchain/llm/base.py+++ b/embedchain/llm/base.py@@ -204,7 +204,7 @@ class BaseLlm(JSONSerializable):finally:if config:# Restore previous config- self.config: BaseLlmConfig = BaseLlmConfig.deserialize(prev_config)+ self.config: BaseLlmConfig = BaseLlmConfig.deserialize(prev_config)def chat(self, input_query: str, contexts: List[str], config: BaseLlmConfig = None, dry_run=False):"""diff --git a/embedchain/loaders/mdx.py b/embedchain/loaders/mdx.pyindex df1bd26c3..9d73b6cad 100644--- a/embedchain/loaders/mdx.py+++ b/embedchain/loaders/mdx.py@@ -1,17 +1,14 @@import hashlib-from langchain.document_loaders import PyPDFLoader-from embedchain.helper.json_serializable import register_deserializablefrom embedchain.loaders.base_loader import BaseLoader-from embedchain.utils import clean_string@register_deserializableclass MdxLoader(BaseLoader):def load_data(self, url):"""Load data from a mdx file."""- with open(url, 'r', encoding="utf-8") as infile:+ with open(url, "r", encoding="utf-8") as infile:content = infile.read()meta_data = {"url": url,