This commit is contained in:
hailin 2025-05-27 18:23:47 +08:00
parent b81cd6e3d0
commit 5b3dabacd0
4 changed files with 4 additions and 4 deletions

View File

@ -176,7 +176,7 @@ export default function WorkspaceLayout({ children }: WorkspaceLayoutProps) {
// workspace?.default_model ||
// "gpt-4-1106-preview") as LLMID,
const firstModel = modelData.models[0]?.model_id || "gpt"; // 默认兜底
const firstModel = modelData.models[0]?.model_id || "GPT"; // 默认兜底
setChatSettings({
model: (searchParams.get("model") ||
workspace?.default_model ||

View File

@ -126,7 +126,7 @@ BEGIN
TRUE,
'Home',
4096,
'gpt',
'GPT',
'You are a friendly, helpful AI assistant.',
0.5,
'My home workspace.',

View File

@ -93,7 +93,7 @@ BEGIN
TRUE,
'Home',
4096,
'gpt', -- Updated default model
'GPT', -- Updated default model
'You are a friendly, helpful AI assistant.',
0.5,
'My home workspace.',

View File

@ -10,7 +10,7 @@ export type LLMID =
// OpenAI Models (UPDATED 5/13/24)
export type OpenAILLMID =
| "gpt" // API compatiable
| "GPT" // API compatiable
| "gpt-4o" // GPT-4o
| "gpt-4-turbo-preview" // GPT-4 Turbo
| "gpt-4-vision-preview" // GPT-4 Vision