From 9d6683aeaf7ff80578645e38a324014a88b7ce67 Mon Sep 17 00:00:00 2001 From: marko-kraemer Date: Wed, 7 May 2025 06:02:32 +0200 Subject: [PATCH] qwen as main --- frontend/src/components/thread/chat-input.tsx | 2 +- .../src/components/thread/chat-input/_use-model-selection.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/thread/chat-input.tsx b/frontend/src/components/thread/chat-input.tsx index 447c6e13..0a6e123a 100644 --- a/frontend/src/components/thread/chat-input.tsx +++ b/frontend/src/components/thread/chat-input.tsx @@ -57,7 +57,7 @@ const API_URL = process.env.NEXT_PUBLIC_BACKEND_URL || ''; // Local storage keys const STORAGE_KEY_MODEL = 'suna-preferred-model'; -const DEFAULT_MODEL_ID = 'gemini-flash-2.5'; // Define default model ID +const DEFAULT_MODEL_ID = 'qwen3'; // Define default model ID interface ChatInputProps { onSubmit: ( diff --git a/frontend/src/components/thread/chat-input/_use-model-selection.ts b/frontend/src/components/thread/chat-input/_use-model-selection.ts index 9c88e111..c35cfefd 100644 --- a/frontend/src/components/thread/chat-input/_use-model-selection.ts +++ b/frontend/src/components/thread/chat-input/_use-model-selection.ts @@ -4,7 +4,7 @@ import { useSubscription } from '@/hooks/react-query/subscriptions/use-subscript import { useState, useEffect } from 'react'; export const STORAGE_KEY_MODEL = 'suna-preferred-model'; -export const DEFAULT_FREE_MODEL_ID = 'gemini-flash-2.5'; +export const DEFAULT_FREE_MODEL_ID = 'qwen35'; export const DEFAULT_PREMIUM_MODEL_ID = 'sonnet-3.7'; export type SubscriptionStatus = 'no_subscription' | 'active'; @@ -18,7 +18,7 @@ export interface ModelOption { export const MODEL_OPTIONS: ModelOption[] = [ { - id: 'gemini-flash-2.5', + id: 'qwen3', label: 'Free', requiresSubscription: false, description: 'Limited capabilities. Upgrade for full performance.'