Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Change embedding split

Tomas Valentacb9e3182b54d
diff --git a/api-service/agent/memory.py b/api-service/agent/memory.py
index c13aef587..e2423f87d 100644
--- a/api-service/agent/memory.py
+++ b/api-service/agent/memory.py
@@ -7,7 +7,7 @@ from models.base import ModelConfig
async def get_memory(config: ModelConfig, files: List[Tuple[str, str]]) -> VectorStore:
- splitter = CharacterTextSplitter(chunk_size=2000)
+ splitter = CharacterTextSplitter()
documents = splitter.create_documents(
[file for _, file in files],
[{"path": path} for path, _ in files],