Skip to main content

Interface: IHumanGateConfig

Defined in: internal/human-gate/types.ts:12

Configuration of the HumanGate. Lands in IAIGatewayConfig.humanGate.

Properties​

timeoutMs?​

optional timeoutMs?: number

Defined in: internal/human-gate/types.ts:23

How long a pause waits for the human before expirePausedRuns cancels it.

A run that nobody answers must not hold its thread for ever.

Examples​

86_400_000 - a day: an approval inbox read once a day
900_000 - fifteen minutes: a question to the user in a live chat

Default​

86_400_000

userQuestions​

userQuestions: object

Defined in: internal/human-gate/types.ts:25

The built-in dyna_aigw_ask_user_question tool (D62): the model asks the user instead of guessing, and the run pauses with the questions.

enabled​

enabled: boolean