Add opm (operator-main) to DM system on CDP 9440
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user