NativeInputState

data class NativeInputState(val inputMode: NativeInputState.InputMode, val inputContext: NativeInputState.InputContext, val inputPosition: NativeInputState.InputPosition = InputPosition.TOP, val toggleSelection: NativeInputState.ToggleSelection = defaultToggleFor(inputContext), val selectedTool: String? = null, val chatId: String? = null, val isChatStreaming: Boolean = false)

Constructors

Link copied to clipboard
constructor(inputMode: NativeInputState.InputMode, inputContext: NativeInputState.InputContext, inputPosition: NativeInputState.InputPosition = InputPosition.TOP, toggleSelection: NativeInputState.ToggleSelection = defaultToggleFor(inputContext), selectedTool: String? = null, chatId: String? = null, isChatStreaming: Boolean = false)

Types

Link copied to clipboard
object Companion
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard
val chatId: String? = null

Set when the active tab is a Duck.ai page already attached to an existing chat.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

True while the active chat is streaming a response (ChatState.STREAMING or LOADING).

Link copied to clipboard
val selectedTool: String? = null
Link copied to clipboard