Skip to main content

Interface: ApprovalDecision

Defined in: packages/agentos/src/core/hitl/IHumanInteractionManager.ts:87

Human's decision on a pending action.

Properties

actionId

actionId: string

Defined in: packages/agentos/src/core/hitl/IHumanInteractionManager.ts:89

Original action ID


approved

approved: boolean

Defined in: packages/agentos/src/core/hitl/IHumanInteractionManager.ts:91

Whether approved


decidedAt

decidedAt: Date

Defined in: packages/agentos/src/core/hitl/IHumanInteractionManager.ts:101

Timestamp of decision


decidedBy

decidedBy: string

Defined in: packages/agentos/src/core/hitl/IHumanInteractionManager.ts:99

Who made the decision


feedback?

optional feedback: string

Defined in: packages/agentos/src/core/hitl/IHumanInteractionManager.ts:103

Feedback for agent learning


instructions?

optional instructions: string

Defined in: packages/agentos/src/core/hitl/IHumanInteractionManager.ts:97

Human's additional instructions


rejectionReason?

optional rejectionReason: string

Defined in: packages/agentos/src/core/hitl/IHumanInteractionManager.ts:93

If rejected, the reason


selectedAlternativeId?

optional selectedAlternativeId: string

Defined in: packages/agentos/src/core/hitl/IHumanInteractionManager.ts:95

If alternative selected, which one