hashbrown

UiCompletionResourceOptions

Options for the UI completion resource.

UiCompletionResourceOptions
@typeInput
@typeTools
Chat.AnyTool
@typeState
apiUrl

The API URL to use for the UI completion resource.

components

The components to use for the UI completion resource.

debounce
number

The debounce time for the UI completion resource.

debugName
string

The debug name for the UI completion resource.

examples
SystemPrompt

Optional prompt-based UI examples to include in the wrapper schema description.

input
Signal<Input | null | undefined>

The signal that produces the input for the completion.

retries
number

The number of retries for the UI completion resource.

state
State

The initial shared agent state.

system
ReactiveOption<string | SystemPrompt>

The system prompt to use for the UI completion resource.

threadId
ReactiveOption<string | undefined>

Optional opaque AG-UI thread identity.

tools
Tools[]

The tools to use for the UI completion resource.

transport
TransportOrFactory

Custom transport override for the UI completion resource.