mirror of https://github.com/kortix-ai/suna.git
change to deepseek
This commit is contained in:
parent
5f7076e167
commit
9a5bcd00a7
|
@ -187,13 +187,6 @@ async def run_agent(
|
|||
elif "gpt-4" in model_name.lower():
|
||||
max_tokens = 4096
|
||||
|
||||
# # Configure tool calling based on model type
|
||||
# use_xml_tool_calling = "anthropic" in model_name.lower() or "claude" in model_name.lower()
|
||||
# use_native_tool_calling = "openai" in model_name.lower() or "gpt" in model_name.lower()
|
||||
|
||||
# model_name = "openrouter/qwen/qwen3-235b-a22b"
|
||||
|
||||
|
||||
response = await thread_manager.run_thread(
|
||||
thread_id=thread_id,
|
||||
system_prompt=system_message,
|
||||
|
|
|
@ -114,8 +114,8 @@ class Configuration:
|
|||
GROQ_API_KEY: Optional[str] = None
|
||||
OPENROUTER_API_KEY: Optional[str] = None
|
||||
OPENROUTER_API_BASE: Optional[str] = "https://openrouter.ai/api/v1"
|
||||
OR_SITE_URL: Optional[str] = None
|
||||
OR_APP_NAME: Optional[str] = "Suna.so"
|
||||
OR_SITE_URL: Optional[str] = "https://suna.so"
|
||||
OR_APP_NAME: Optional[str] = "Kortix Suna"
|
||||
|
||||
# AWS Bedrock credentials
|
||||
AWS_ACCESS_KEY_ID: Optional[str] = None
|
||||
|
|
|
@ -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: (
|
||||
|
|
|
@ -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 = 'qwen3';
|
||||
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.'
|
||||
|
|
Loading…
Reference in New Issue