Skip to content

bodhi-realtime-agent / UIResponse

Interface: UIResponse

Defined in: types/ui.ts:7

A UI response sent by the client in reply to a UIPayload request. Correlates back to the original request via requestId.

Properties

formData?

optional formData: Record<string, unknown>

Defined in: types/ui.ts:13

Form field values (for 'form' payloads).


requestId

requestId: string

Defined in: types/ui.ts:9

Matches the requestId from the originating UIPayload.


selectedOptionId?

optional selectedOptionId: string

Defined in: types/ui.ts:11

The option the user selected (for 'choice' / 'confirmation' payloads).

Built with VitePress