Skip to main content

Interface: IUserQuestionEnvelope

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

The model asks the user (D62): the questions are the input of its dyna_aigw_ask_user_question call, the answers come back with ANSWER.

Extends​

  • IPauseEnvelopeBase

Properties​

allowed​

allowed: EResumeAction[]

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

Decisions the UI may offer.

Inherited from​

IPauseEnvelopeBase.allowed


callId​

callId: string

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

The dyna_aigw_ask_user_question call this card is about: the key a decision names (IResumeDecision.callId).


expiresAt​

expiresAt: Date

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

After this the pause expires.

Inherited from​

IPauseEnvelopeBase.expiresAt


kind​

kind: USER_QUESTION

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

The discriminator: the user is asked.


pauseId​

pauseId: string

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

Names this pause of the run: resume must pass it, and a decision for an earlier pause of the same run is refused.

A run can pause again under the same runId (a tool, then its answer's review): the same request body must not decide both.

Inherited from​

IPauseEnvelopeBase.pauseId


runId​

runId: string

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

The run that paused; what resume, cancelRun and getPausedRun take.

Inherited from​

IPauseEnvelopeBase.runId


userQuestions​

userQuestions: IUserQuestions

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

The form, as the model filled the tool's input; the UI renders it, validateAnswers checks the answers against it.