@leviyuan/lodestar 0.19.11 → 0.19.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -195,6 +195,8 @@ function apply(ctx) {
195
195
  });
196
196
  if (!input.allowDelegation)
197
197
  agentCtx.tools.restrict({ deny: DELEGATION_TOOLS });
198
+ if (input.allowUserInput === false)
199
+ agentCtx.tools.restrict({ deny: ["ask_user_question"] });
198
200
  if (input.allowedTools)
199
201
  agentCtx.tools.restrict({ allow: input.allowedTools });
200
202
  if (input.developerInstructions) {