mirror of
https://github.com/mudler/LocalAI.git
synced 2026-06-28 10:27:30 -04:00
fix(distributed): missing agent NATS permissions (#10571)
Signed-off-by: Nicholas Ciechanowski <nicholas@ciech.anow.ski>
This commit is contained in:
committed by
GitHub
parent
923c47020d
commit
be1ae9338b
@@ -20,6 +20,8 @@ func WorkerPermissions(nodeID, nodeType string) (pubAllow, subAllow []string) {
|
||||
subAllow = []string{
|
||||
"agent.execute",
|
||||
"agent.*.cancel",
|
||||
"gallery.*.cancel",
|
||||
"gallery.*.progress",
|
||||
"jobs.*.cancel",
|
||||
"jobs.*.progress",
|
||||
"jobs.*.result",
|
||||
@@ -27,6 +29,7 @@ func WorkerPermissions(nodeID, nodeType string) (pubAllow, subAllow []string) {
|
||||
"mcp.tools.execute",
|
||||
"mcp.discovery",
|
||||
prefix + ".backend.stop", // stop events drive MCP session cleanup
|
||||
"staging.*.progress",
|
||||
"_INBOX.>",
|
||||
}
|
||||
pubAllow = []string{
|
||||
|
||||
Reference in New Issue
Block a user