mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-11 14:31:42 +00:00
feat(acp): enable dispatch by default
This commit is contained in:
@@ -16,7 +16,8 @@ export function resolveAcpDispatchPolicyState(cfg: OpenClawConfig): AcpDispatchP
|
||||
if (!isAcpEnabledByPolicy(cfg)) {
|
||||
return "acp_disabled";
|
||||
}
|
||||
if (cfg.acp?.dispatch?.enabled !== true) {
|
||||
// ACP dispatch is enabled unless explicitly disabled.
|
||||
if (cfg.acp?.dispatch?.enabled === false) {
|
||||
return "dispatch_disabled";
|
||||
}
|
||||
return "enabled";
|
||||
|
||||
Reference in New Issue
Block a user