diff --git a/bin/dm.py b/bin/dm.py index c7eb93a..171d27a 100755 --- a/bin/dm.py +++ b/bin/dm.py @@ -21,7 +21,7 @@ import sys API = "/home/super/Projects/NetVM/bin/muse-chat-api.py" 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): result = subprocess.run(cmd, shell=True, capture_output=True, text=True, timeout=timeout) diff --git a/bin/muse-chat-api.py b/bin/muse-chat-api.py index 95a5cc9..bb8f33c 100755 --- a/bin/muse-chat-api.py +++ b/bin/muse-chat-api.py @@ -22,6 +22,7 @@ ACCOUNTS = { "muse": ("muse", "http://127.0.0.1:9410/json/list"), "pip": ("pip", "http://127.0.0.1:9420/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)