Options for the completion resource.
API
interface CompletionResourceOptions<Input, State = unknown> {apiUrl?: ReactiveOption<string>;debugName?: string;input: Signal <Input | null | undefined>;state?: State;system: ReactiveOption <string>;threadId?: ReactiveOption<string | undefined>;transport?: TransportOrFactory;}CompletionResourceOptions
@typeInput@typeStateapiUrl
ReactiveOption<string>The API URL to use for the completion.
debugName
stringThe debug name for the completion resource.
input
Signal<Input | null | undefined>The input to the completion.
state
StateThe initial shared agent state.
system
ReactiveOption<string>The system prompt to use for the completion.
threadId
ReactiveOption<string | undefined>Optional opaque AG-UI thread identity.
transport
TransportOrFactoryCustom transport override for this completion resource.