Add opm (operator-main) to DM system on CDP 9440

This commit is contained in:
operator
2026-10-03 20:50:53 +00:00
parent 9d6805060e
commit 2006ecd5a2
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ import sys
API = "/home/super/Projects/NetVM/bin/muse-chat-api.py" API = "/home/super/Projects/NetVM/bin/muse-chat-api.py"
NETVM_EXEC = "/home/super/Projects/NetVM/bin/netvm-exec.sh" NETVM_EXEC = "/home/super/Projects/NetVM/bin/netvm-exec.sh"
VALID_AGENTS = ["muse", "pip", "646"] VALID_AGENTS = ["muse", "pip", "646", "opm"]
def run(cmd, timeout=60): def run(cmd, timeout=60):
result = subprocess.run(cmd, shell=True, capture_output=True, text=True, timeout=timeout) result = subprocess.run(cmd, shell=True, capture_output=True, text=True, timeout=timeout)
+1
View File
@@ -22,6 +22,7 @@ ACCOUNTS = {
"muse": ("muse", "http://127.0.0.1:9410/json/list"), "muse": ("muse", "http://127.0.0.1:9410/json/list"),
"pip": ("pip", "http://127.0.0.1:9420/json/list"), "pip": ("pip", "http://127.0.0.1:9420/json/list"),
"646": ("646", "http://127.0.0.1:9430/json/list"), "646": ("646", "http://127.0.0.1:9430/json/list"),
"opm": ("opm", "http://127.0.0.1:9440/json/list"),
} }
# IPs we trust for auto-approval (our infrastructure) # IPs we trust for auto-approval (our infrastructure)