This commit is contained in:
parent
df7af82d85
commit
9b8d9c0db4
|
|
@ -189,7 +189,7 @@ export default function SetupPage() {
|
|||
await createModel(
|
||||
{
|
||||
user_id: profile.user_id,
|
||||
name: "OpenAI API-compatible model",
|
||||
name: "GPT",
|
||||
model_id: "AI",
|
||||
base_url: baseUrl,
|
||||
api_key: "token-abc123",
|
||||
|
|
|
|||
|
|
@ -126,11 +126,11 @@ BEGIN
|
|||
TRUE,
|
||||
'Home',
|
||||
4096,
|
||||
'gpt-4-1106-preview',
|
||||
'GPT',
|
||||
'You are a friendly, helpful AI assistant.',
|
||||
0.5,
|
||||
'My home workspace.',
|
||||
'openai',
|
||||
'bge-m3',
|
||||
TRUE,
|
||||
TRUE,
|
||||
''
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
-- WORKSPACES
|
||||
|
||||
UPDATE workspaces
|
||||
SET default_model = 'gpt-4-turbo-preview'
|
||||
SET default_model = 'GPT'
|
||||
WHERE default_model = 'gpt-4-1106-preview';
|
||||
|
||||
UPDATE workspaces
|
||||
|
|
@ -11,7 +11,7 @@ WHERE default_model = 'gpt-3.5-turbo-1106';
|
|||
-- PRESETS
|
||||
|
||||
UPDATE presets
|
||||
SET model = 'gpt-4-turbo-preview'
|
||||
SET model = 'GPT'
|
||||
WHERE model = 'gpt-4-1106-preview';
|
||||
|
||||
UPDATE presets
|
||||
|
|
@ -21,7 +21,7 @@ WHERE model = 'gpt-3.5-turbo-1106';
|
|||
-- ASSISTANTS
|
||||
|
||||
UPDATE assistants
|
||||
SET model = 'gpt-4-turbo-preview'
|
||||
SET model = 'GPT'
|
||||
WHERE model = 'gpt-4-1106-preview';
|
||||
|
||||
UPDATE assistants
|
||||
|
|
@ -31,7 +31,7 @@ WHERE model = 'gpt-3.5-turbo-1106';
|
|||
-- CHATS
|
||||
|
||||
UPDATE chats
|
||||
SET model = 'gpt-4-turbo-preview'
|
||||
SET model = 'GPT'
|
||||
WHERE model = 'gpt-4-1106-preview';
|
||||
|
||||
UPDATE chats
|
||||
|
|
@ -41,7 +41,7 @@ WHERE model = 'gpt-3.5-turbo-1106';
|
|||
-- MESSAGES
|
||||
|
||||
UPDATE messages
|
||||
SET model = 'gpt-4-turbo-preview'
|
||||
SET model = 'GPT'
|
||||
WHERE model = 'gpt-4-1106-preview';
|
||||
|
||||
UPDATE messages
|
||||
|
|
@ -93,11 +93,11 @@ BEGIN
|
|||
TRUE,
|
||||
'Home',
|
||||
4096,
|
||||
'gpt-4-turbo-preview', -- Updated default model
|
||||
'GPT', -- Updated default model
|
||||
'You are a friendly, helpful AI assistant.',
|
||||
0.5,
|
||||
'My home workspace.',
|
||||
'openai',
|
||||
'bge-m3',
|
||||
TRUE,
|
||||
TRUE,
|
||||
''
|
||||
|
|
|
|||
Loading…
Reference in New Issue