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, val modelChangeMode: Boolean = false, val submitEnabled: Boolean = true, val interactionLock: NativeInputState.InteractionLock = InteractionLock.Unlocked, val duckAiFireButtonHighlighted: 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, modelChangeMode: Boolean = false, submitEnabled: Boolean = true, interactionLock: NativeInputState.InteractionLock = InteractionLock.Unlocked, duckAiFireButtonHighlighted: Boolean = false)
Types
Properties
Link copied to clipboard
Show pulse animation around the Duck.ai fire button.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
How much of the input field is locked (non-interactive + dimmed).
Link copied to clipboard
True while the active chat is streaming a response (ChatState.STREAMING or LOADING).
Link copied to clipboard
Set when we are in model change mode in ongoing chats (between showModelPicker message and the next prompt submit, chat change, or dismissal without selection). Routes picker taps to submitChangeModelAction instead of normal behaviour.
Link copied to clipboard
Link copied to clipboard
Whether the native input submit button is enabled for this tab.
Link copied to clipboard
Link copied to clipboard