Skip to content

bodhi-realtime-agent / UIResponse

Interface: UIResponse ​

Defined in: src/types/ui.ts:5

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: src/types/ui.ts:11

Form field values (for 'form' payloads).


requestId ​

requestId: string

Defined in: src/types/ui.ts:7

Matches the requestId from the originating UIPayload.


selectedOptionId? ​

optional selectedOptionId?: string

Defined in: src/types/ui.ts:9

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

Built with VitePress