You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* return { type: "reject", message: "Action not allowed" };
@@ -311,7 +311,7 @@ export type HumanInTheLoopMiddlewareConfig = InferInteropZodInput<
311
311
* @param options.interruptOn - Per-tool configuration mapping tool names to their settings
312
312
* @param options.interruptOn[toolName].allowedDecisions - Array of decision types allowed for this tool (e.g., ["approve", "edit", "reject"])
313
313
* @param options.interruptOn[toolName].description - Custom approval message for the tool. Can be either a static string or a callable that dynamically generates the description based on agent state, runtime, and tool call information
314
-
* @param options.interruptOn[toolName].argumentsSchema - JSON schema for the arguments associated with the action, if edits are allowed
314
+
* @param options.interruptOn[toolName].argsSchema - JSON schema for the arguments associated with the action, if edits are allowed
315
315
* @param options.descriptionPrefix - Default prefix for approval messages (default: "Tool execution requires approval"). Only used for tools that do not define a custom `description` in their InterruptOnConfig.
316
316
*
317
317
* @returns A middleware instance that can be passed to `createAgent`
@@ -385,7 +385,7 @@ export type HumanInTheLoopMiddlewareConfig = InferInteropZodInput<
0 commit comments