From 2f3bd0c424c6915068650da2ace66078b1122d7e Mon Sep 17 00:00:00 2001 From: Nate Sesti Date: Thu, 16 May 2024 21:18:31 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20update=20free=20trial=20models?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/config/default.ts | 54 ++++++++++--------- core/config/onboarding.ts | 25 +++++---- core/llm/llms/FreeTrial.ts | 3 +- docs/static/schemas/config.json | 2 +- .../src/main/resources/config_schema.json | 2 +- extensions/vscode/config_schema.json | 2 +- extensions/vscode/continue_rc_schema.json | 2 +- gui/src/util/modelData.ts | 3 +- 8 files changed, 47 insertions(+), 46 deletions(-) diff --git a/core/config/default.ts b/core/config/default.ts index 250be64ca2..48aef4656b 100644 --- a/core/config/default.ts +++ b/core/config/default.ts @@ -6,29 +6,30 @@ import { export const defaultConfig: SerializedContinueConfig = { models: [ { - title: "GPT-4o (Free Trial)", + title: "GPT-4-Turbo (Free Trial)", provider: "free-trial", - model: "gpt-4o", + model: "gpt-4-turbo", + systemMessage: + "You are an expert software developer. You give helpful and concise responses.", }, { - title: "Claude 3 Sonnet (Free Trial)", + title: "Llama3 70b (Free Trial)", provider: "free-trial", - model: "claude-3-sonnet-20240229", + model: "llama3-70b", + systemMessage: + "You are an expert software developer. You give helpful and concise responses. Whenever you write a code block you include the language after the opening ticks.", }, { - title: "GPT-3.5-Turbo (Free Trial)", - provider: "free-trial", - model: "gpt-3.5-turbo", - }, - { - title: "Gemini Pro (Free Trial)", + title: "GPT-4o (Free Trial)", provider: "free-trial", - model: "gemini-pro", + model: "gpt-4o", + systemMessage: + "You are an expert software developer. You give helpful and concise responses.", }, { - title: "Mixtral (Free Trial)", + title: "Claude 3 Sonnet (Free Trial)", provider: "free-trial", - model: "mistral-8x7b", + model: "claude-3-sonnet-20240229", }, ], customCommands: [ @@ -49,29 +50,30 @@ export const defaultConfig: SerializedContinueConfig = { export const defaultConfigJetBrains: SerializedContinueConfig = { models: [ { - title: "Claude 3 Sonnet (Free Trial)", + title: "GPT-4-Turbo (Free Trial)", provider: "free-trial", - model: "claude-3-sonnet-20240229", + model: "gpt-4-turbo", + systemMessage: + "You are an expert software developer. You give helpful and concise responses.", }, { - title: "GPT-4o (Free Trial)", + title: "Llama3 70b (Free Trial)", provider: "free-trial", - model: "gpt-4o", + model: "llama3-70b", + systemMessage: + "You are an expert software developer. You give helpful and concise responses. Whenever you write a code block you include the language after the opening ticks.", }, { - title: "GPT-3.5-Turbo (Free Trial)", - provider: "free-trial", - model: "gpt-3.5-turbo", - }, - { - title: "Gemini Pro (Free Trial)", + title: "GPT-4o (Free Trial)", provider: "free-trial", - model: "gemini-pro", + model: "gpt-4o", + systemMessage: + "You are an expert software developer. You give helpful and concise responses.", }, { - title: "Mixtral (Free Trial)", + title: "Claude 3 Sonnet (Free Trial)", provider: "free-trial", - model: "mistral-8x7b", + model: "claude-3-sonnet-20240229", }, ], customCommands: [ diff --git a/core/config/onboarding.ts b/core/config/onboarding.ts index eb6a7cc459..f709d4d9c3 100644 --- a/core/config/onboarding.ts +++ b/core/config/onboarding.ts @@ -7,31 +7,30 @@ export function setupOptimizedMode( ...config, models: [ { - title: "Claude 3 Sonnet (Free Trial)", + title: "GPT-4-Turbo (Free Trial)", provider: "free-trial", - model: "claude-3-sonnet-20240229", - }, - { - title: "GPT-4o (Free Trial)", - provider: "free-trial", - model: "gpt-4o", + model: "gpt-4-turbo", systemMessage: "You are an expert software developer. You give helpful and concise responses.", }, { - title: "GPT-3.5-Turbo (Free Trial)", + title: "Llama3 70b (Free Trial)", provider: "free-trial", - model: "gpt-3.5-turbo", + model: "llama3-70b", + systemMessage: + "You are an expert software developer. You give helpful and concise responses. Whenever you write a code block you include the language after the opening ticks.", }, { - title: "Gemini Pro (Free Trial)", + title: "GPT-4o (Free Trial)", provider: "free-trial", - model: "gemini-pro", + model: "gpt-4o", + systemMessage: + "You are an expert software developer. You give helpful and concise responses.", }, { - title: "Mixtral (Free Trial)", + title: "Claude 3 Sonnet (Free Trial)", provider: "free-trial", - model: "mistral-8x7b", + model: "claude-3-sonnet-20240229", }, ], tabAutocompleteModel: { diff --git a/core/llm/llms/FreeTrial.ts b/core/llm/llms/FreeTrial.ts index 92d70af28b..73302027bf 100644 --- a/core/llm/llms/FreeTrial.ts +++ b/core/llm/llms/FreeTrial.ts @@ -160,11 +160,10 @@ class FreeTrial extends BaseLLM { async listModels(): Promise { return [ - "codestral-latest", "llama3-70b", - "gpt-4o", "gpt-3.5-turbo", "gpt-4o", + "gpt-4-turbo", "gemini-1.5-pro-latest", "claude-3-opus-20240229", "claude-3-sonnet-20240229", diff --git a/docs/static/schemas/config.json b/docs/static/schemas/config.json index bc128118fc..9a558b66a8 100644 --- a/docs/static/schemas/config.json +++ b/docs/static/schemas/config.json @@ -508,8 +508,8 @@ "properties": { "model": { "enum": [ + "gpt-4-turbo", "gpt-4o", - "codestral-latest", "llama3-70b", "gpt-3.5-turbo", "phind-codellama-34b", diff --git a/extensions/intellij/src/main/resources/config_schema.json b/extensions/intellij/src/main/resources/config_schema.json index bc128118fc..9a558b66a8 100644 --- a/extensions/intellij/src/main/resources/config_schema.json +++ b/extensions/intellij/src/main/resources/config_schema.json @@ -508,8 +508,8 @@ "properties": { "model": { "enum": [ + "gpt-4-turbo", "gpt-4o", - "codestral-latest", "llama3-70b", "gpt-3.5-turbo", "phind-codellama-34b", diff --git a/extensions/vscode/config_schema.json b/extensions/vscode/config_schema.json index bc128118fc..9a558b66a8 100644 --- a/extensions/vscode/config_schema.json +++ b/extensions/vscode/config_schema.json @@ -508,8 +508,8 @@ "properties": { "model": { "enum": [ + "gpt-4-turbo", "gpt-4o", - "codestral-latest", "llama3-70b", "gpt-3.5-turbo", "phind-codellama-34b", diff --git a/extensions/vscode/continue_rc_schema.json b/extensions/vscode/continue_rc_schema.json index e5572af731..75e1f97dbf 100644 --- a/extensions/vscode/continue_rc_schema.json +++ b/extensions/vscode/continue_rc_schema.json @@ -483,8 +483,8 @@ "properties": { "model": { "enum": [ + "gpt-4-turbo", "gpt-4o", - "codestral-latest", "llama3-70b", "gpt-3.5-turbo", "phind-codellama-34b", diff --git a/gui/src/util/modelData.ts b/gui/src/util/modelData.ts index c4fa448459..a819b49cf7 100644 --- a/gui/src/util/modelData.ts +++ b/gui/src/util/modelData.ts @@ -580,7 +580,7 @@ const gpt4turbo: ModelPackage = { contextLength: 128_000, title: "GPT-4 Turbo", }, - providerOptions: ["openai"], + providerOptions: ["openai", "freetrial"], icon: "openai.png", }; @@ -1089,6 +1089,7 @@ After it's up and running, you can start using Continue.`, { ...claude3Haiku, title: "Claude 3 Haiku (trial)" }, { ...gemini15Pro, title: "Gemini 1.5 Pro (trial)" }, { ...gpt4o, title: "GPT-4o (trial)" }, + { ...gpt4turbo, title: "GPT-4-Turbo (trial)" }, { ...gpt35turbo, title: "GPT-3.5-Turbo (trial)" }, { ...AUTODETECT,