Initial commit : agent2 basé sur agent1
- agent2.py : bot XMPP agent2@xmpp.ovh - skills/ : web_search, web_read, memory, prompt_memory (ChromaDB), mqtt - Chemins mis à jour vers /opt/agent2 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -9,7 +9,7 @@ SKILL_NAME = "memory"
|
||||
TRIGGER = None
|
||||
TRIGGERS = {"REMEMBER:": "remember", "RECALL:": "recall"}
|
||||
|
||||
DB_PATH = Path("/opt/agent/memory.db")
|
||||
DB_PATH = Path("/opt/agent2/memory.db")
|
||||
|
||||
def _get_conn():
|
||||
conn = sqlite3.connect(DB_PATH)
|
||||
|
||||
@@ -23,7 +23,7 @@ TRIGGERS = {
|
||||
"PROMPT_DEL:": "prompt_del",
|
||||
}
|
||||
|
||||
DB_PATH = Path("/opt/agent/chroma_db")
|
||||
DB_PATH = Path("/opt/agent2/chroma_db")
|
||||
|
||||
# Phase 1 : embedding factice (hash MD5 → vecteur 16 dims)
|
||||
# Phase 2 : remplacer par un vrai modèle (ex: sentence-transformers)
|
||||
|
||||
Reference in New Issue
Block a user