diff --git a/desktop/src/components/ChatArea.tsx b/desktop/src/components/ChatArea.tsx index 63a4736..fd65669 100644 --- a/desktop/src/components/ChatArea.tsx +++ b/desktop/src/components/ChatArea.tsx @@ -31,6 +31,7 @@ import { ReasoningBlock } from './ai/ReasoningBlock'; import { StreamingText } from './ai/StreamingText'; import { ChatMode } from './ai/ChatMode'; import { ModelSelector } from './ai/ModelSelector'; +import { isTauriRuntime } from '../lib/tauri-gateway'; import { SuggestionChips } from './ai/SuggestionChips'; import { PipelineResultPreview } from './pipeline/PipelineResultPreview'; import { PresentationContainer } from './presentation/PresentationContainer'; @@ -540,12 +541,14 @@ export function ChatArea({ compact, onOpenDetail }: { compact?: boolean; onOpenD }
- ({ id: m.id, name: m.name, provider: m.provider }))} - currentModel={currentModel} - onSelect={setCurrentModel} - disabled={isStreaming} - /> + {!isTauriRuntime() && ( + ({ id: m.id, name: m.name, provider: m.provider }))} + currentModel={currentModel} + onSelect={setCurrentModel} + disabled={isStreaming} + /> + )}