mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 06:50:43 +00:00
fix(config): allow plugin conversation access hook policy (#71221)
This commit is contained in:
committed by
Peter Steinberger
parent
ef9ca09b8e
commit
51dd4f288f
@@ -454,6 +454,9 @@ export function registerPluginsCli(program: Command) {
|
||||
if (typeof inspect.policy.allowPromptInjection === "boolean") {
|
||||
policyLines.push(`allowPromptInjection: ${inspect.policy.allowPromptInjection}`);
|
||||
}
|
||||
if (typeof inspect.policy.allowConversationAccess === "boolean") {
|
||||
policyLines.push(`allowConversationAccess: ${inspect.policy.allowConversationAccess}`);
|
||||
}
|
||||
if (typeof inspect.policy.allowModelOverride === "boolean") {
|
||||
policyLines.push(`allowModelOverride: ${inspect.policy.allowModelOverride}`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user