feat: casan chat optz
This commit is contained in:
@@ -14,6 +14,8 @@ import os
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
PYTHON_BIN = sys.executable or "/usr/bin/python3"
|
||||
|
||||
|
||||
def project_root() -> str:
|
||||
d = os.path.abspath(os.path.dirname(__file__))
|
||||
@@ -154,7 +156,7 @@ def decision_payload(args, decision: str, reason: str, agent=None, skill="", too
|
||||
|
||||
def run_rbac(args):
|
||||
r = subprocess.run([
|
||||
"python3", RBAC, "check",
|
||||
PYTHON_BIN, RBAC, "check",
|
||||
"--role", args.role,
|
||||
"--resource", "chat",
|
||||
"--action", "select_agent",
|
||||
|
||||
Reference in New Issue
Block a user