praisonaiagents 0.0.29__py3-none-any.whl → 0.0.30__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- praisonaiagents/memory/memory.py +5 -2
- {praisonaiagents-0.0.29.dist-info → praisonaiagents-0.0.30.dist-info}/METADATA +1 -1
- {praisonaiagents-0.0.29.dist-info → praisonaiagents-0.0.30.dist-info}/RECORD +5 -5
- {praisonaiagents-0.0.29.dist-info → praisonaiagents-0.0.30.dist-info}/WHEEL +0 -0
- {praisonaiagents-0.0.29.dist-info → praisonaiagents-0.0.30.dist-info}/top_level.txt +0 -0
praisonaiagents/memory/memory.py
CHANGED
@@ -79,12 +79,15 @@ class Memory:
|
|
79
79
|
self.use_mem0 = (self.provider.lower() == "mem0") and MEM0_AVAILABLE
|
80
80
|
self.use_rag = (self.provider.lower() == "rag") and CHROMADB_AVAILABLE and self.cfg.get("use_embedding", False)
|
81
81
|
|
82
|
+
# Create .praison directory if it doesn't exist
|
83
|
+
os.makedirs(".praison", exist_ok=True)
|
84
|
+
|
82
85
|
# Short-term DB
|
83
|
-
self.short_db = self.cfg.get("short_db", "short_term.db")
|
86
|
+
self.short_db = self.cfg.get("short_db", ".praison/short_term.db")
|
84
87
|
self._init_stm()
|
85
88
|
|
86
89
|
# Long-term DB
|
87
|
-
self.long_db = self.cfg.get("long_db", "long_term.db")
|
90
|
+
self.long_db = self.cfg.get("long_db", ".praison/long_term.db")
|
88
91
|
self._init_ltm()
|
89
92
|
|
90
93
|
# Conditionally init Mem0 or local RAG
|
@@ -5,7 +5,7 @@ praisonaiagents/agent/agent.py,sha256=r4Bfe_R5CZlPEKt6DQqgFa9EGuaaMTr9suiiy_qbsn
|
|
5
5
|
praisonaiagents/agents/__init__.py,sha256=_1d6Pqyk9EoBSo7E68sKyd1jDRlN1vxvVIRpoMc0Jcw,168
|
6
6
|
praisonaiagents/agents/agents.py,sha256=N55Ae3JkjNgGQ6pXBaBpI73sA80Y-pPUZLOd1NgtiWU,29523
|
7
7
|
praisonaiagents/agents/autoagents.py,sha256=bjC2O5oZmoJItJXIMPTWc2lsp_AJC9tMiTQOal2hwPA,13532
|
8
|
-
praisonaiagents/memory/memory.py,sha256=
|
8
|
+
praisonaiagents/memory/memory.py,sha256=ZxqSpOUxk9jeTKGW0ZiTifC0uZtym-EZILP3kuOOKkU,35626
|
9
9
|
praisonaiagents/process/__init__.py,sha256=lkYbL7Hn5a0ldvJtkdH23vfIIZLIcanK-65C0MwaorY,52
|
10
10
|
praisonaiagents/process/process.py,sha256=4qXdrCDQPH5MtvHvdJVURXKNgSl6ae3OYTiqAF_A2ZU,24295
|
11
11
|
praisonaiagents/task/__init__.py,sha256=VL5hXVmyGjINb34AalxpBMl-YW9m5EDcRkMTKkSSl7c,80
|
@@ -30,7 +30,7 @@ praisonaiagents/tools/wikipedia_tools.py,sha256=pGko-f33wqXgxJTv8db7TbizY5XnzBQR
|
|
30
30
|
praisonaiagents/tools/xml_tools.py,sha256=iYTMBEk5l3L3ryQ1fkUnNVYK-Nnua2Kx2S0dxNMMs1A,17122
|
31
31
|
praisonaiagents/tools/yaml_tools.py,sha256=uogAZrhXV9O7xvspAtcTfpKSQYL2nlOTvCQXN94-G9A,14215
|
32
32
|
praisonaiagents/tools/yfinance_tools.py,sha256=nmzjS7G_5GqMQD4r867mt17dHg5xvtsYDDfOPh68SgE,8105
|
33
|
-
praisonaiagents-0.0.
|
34
|
-
praisonaiagents-0.0.
|
35
|
-
praisonaiagents-0.0.
|
36
|
-
praisonaiagents-0.0.
|
33
|
+
praisonaiagents-0.0.30.dist-info/METADATA,sha256=_YmTWIxiNE9ctOwWWsvbejNvq0c-fJPxHTvkn5ghtDc,306
|
34
|
+
praisonaiagents-0.0.30.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
35
|
+
praisonaiagents-0.0.30.dist-info/top_level.txt,sha256=_HsRddrJ23iDx5TTqVUVvXG2HeHBL5voshncAMDGjtA,16
|
36
|
+
praisonaiagents-0.0.30.dist-info/RECORD,,
|
File without changes
|
File without changes
|