This commit is contained in:
parent
b81cd6e3d0
commit
5b3dabacd0
|
|
@ -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 ||
|
||||
|
|
|
|||
|
|
@ -126,7 +126,7 @@ BEGIN
|
|||
TRUE,
|
||||
'Home',
|
||||
4096,
|
||||
'gpt',
|
||||
'GPT',
|
||||
'You are a friendly, helpful AI assistant.',
|
||||
0.5,
|
||||
'My home workspace.',
|
||||
|
|
|
|||
|
|
@ -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.',
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue