Skip to main content

InputPromptFooterProps

Agent Runtimes


Agent Runtimes / chat/prompt/InputPromptFooter / InputPromptFooterProps

Interface: InputPromptFooterProps

Defined in: chat/prompt/InputPromptFooter.tsx:20

Properties

children?

optional children?: ReactNode

Defined in: chat/prompt/InputPromptFooter.tsx:22

Content to render on the left side (dropdowns, indicators, etc.)


isLoading?

optional isLoading?: boolean

Defined in: chat/prompt/InputPromptFooter.tsx:26

Whether the agent is loading / streaming


onSend

onSend: () => void

Defined in: chat/prompt/InputPromptFooter.tsx:30

Callback when the send button is clicked

Returns

void


onStop?

optional onStop?: () => void

Defined in: chat/prompt/InputPromptFooter.tsx:32

Callback when the stop button is clicked

Returns

void


rightContent?

optional rightContent?: ReactNode

Defined in: chat/prompt/InputPromptFooter.tsx:24

Content to render on the right side, just before the send/stop button


sendDisabled?

optional sendDisabled?: boolean

Defined in: chat/prompt/InputPromptFooter.tsx:28

Whether the send button should be disabled