diff --git a/src/components/ChatInput.tsx b/src/components/ChatInput.tsx index 6ec09c3b6..9f076d6c8 100644 --- a/src/components/ChatInput.tsx +++ b/src/components/ChatInput.tsx @@ -7,7 +7,8 @@ import { createCommandToast, createErrorToast } from "./ChatInputToasts"; import { parseCommand } from "@/utils/slashCommands/parser"; import { usePersistedState, updatePersistedState } from "@/hooks/usePersistedState"; import { useMode } from "@/contexts/ModeContext"; -import { ChatToggles } from "./ChatToggles"; +import { ThinkingSliderComponent } from "./ThinkingSlider"; +import { Context1MCheckbox } from "./Context1MCheckbox"; import { useSendMessageOptions } from "@/hooks/useSendMessageOptions"; import { getModelKey, getInputKey } from "@/constants/storage"; import { @@ -746,37 +747,48 @@ export const ChatInput: React.FC = ({ Editing message ({formatKeybind(KEYBINDS.CANCEL_EDIT)} to cancel) )} -
- -
- inputRef.current?.focus()} - /> - - ? - - Click to edit or use{" "} - {formatKeybind(KEYBINDS.OPEN_MODEL_SELECTOR)} -
-
- Abbreviations: -
/model opus - Claude Opus 4.1 -
/model sonnet - Claude Sonnet 4.5 -
-
- Full format: -
- /model provider:model-name -
- (e.g., /model anthropic:claude-sonnet-4-5) -
-
-
-
+
+ {/* Model Selector - always visible */} +
+ inputRef.current?.focus()} + /> + + ? + + Click to edit or use {formatKeybind(KEYBINDS.OPEN_MODEL_SELECTOR)} +
+
+ Abbreviations: +
/model opus - Claude Opus 4.1 +
/model sonnet - Claude Sonnet 4.5 +
+
+ Full format: +
+ /model provider:model-name +
+ (e.g., /model anthropic:claude-sonnet-4-5) +
+
+
+ + {/* Thinking Slider - hide on small viewports */} +
+ +
+ + {/* Context 1M Checkbox - hide on smaller viewports */} +
+ +
= ({ modelStrin } return ( -
+