This commit is contained in:
marko-kraemer 2025-05-07 16:01:32 +02:00
parent 9d6683aeaf
commit 064f635315
2 changed files with 3 additions and 4 deletions

View File

@ -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 = 'qwen3'; // Define default model ID
const DEFAULT_MODEL_ID = 'deepseek'; // Define default model ID
interface ChatInputProps {
onSubmit: (
@ -112,7 +112,6 @@ export const ChatInput = forwardRef<ChatInputHandles, ChatInputProps>(
const [uncontrolledValue, setUncontrolledValue] = useState('');
const value = isControlled ? controlledValue : uncontrolledValue;
const [showInfo, setShowInfo] = useState(true);
// Define model options array earlier so it can be used in useEffect
const modelOptions = [

View File

@ -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 = 'qwen35';
export const DEFAULT_FREE_MODEL_ID = 'deepseek';
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: 'qwen3',
id: 'deepseek',
label: 'Free',
requiresSubscription: false,
description: 'Limited capabilities. Upgrade for full performance.'