Skip to content

Commit

Permalink
🎨 update free trial models
Browse files Browse the repository at this point in the history
  • Loading branch information
sestinj committed Jun 23, 2024
1 parent b8e219e commit 2f3bd0c
Show file tree
Hide file tree
Showing 8 changed files with 47 additions and 46 deletions.
54 changes: 28 additions & 26 deletions core/config/default.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand All @@ -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: [
Expand Down
25 changes: 12 additions & 13 deletions core/config/onboarding.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down
3 changes: 1 addition & 2 deletions core/llm/llms/FreeTrial.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,11 +160,10 @@ class FreeTrial extends BaseLLM {

async listModels(): Promise<string[]> {
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",
Expand Down
2 changes: 1 addition & 1 deletion docs/static/schemas/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -508,8 +508,8 @@
"properties": {
"model": {
"enum": [
"gpt-4-turbo",
"gpt-4o",
"codestral-latest",
"llama3-70b",
"gpt-3.5-turbo",
"phind-codellama-34b",
Expand Down
2 changes: 1 addition & 1 deletion extensions/intellij/src/main/resources/config_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -508,8 +508,8 @@
"properties": {
"model": {
"enum": [
"gpt-4-turbo",
"gpt-4o",
"codestral-latest",
"llama3-70b",
"gpt-3.5-turbo",
"phind-codellama-34b",
Expand Down
2 changes: 1 addition & 1 deletion extensions/vscode/config_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -508,8 +508,8 @@
"properties": {
"model": {
"enum": [
"gpt-4-turbo",
"gpt-4o",
"codestral-latest",
"llama3-70b",
"gpt-3.5-turbo",
"phind-codellama-34b",
Expand Down
2 changes: 1 addition & 1 deletion extensions/vscode/continue_rc_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -483,8 +483,8 @@
"properties": {
"model": {
"enum": [
"gpt-4-turbo",
"gpt-4o",
"codestral-latest",
"llama3-70b",
"gpt-3.5-turbo",
"phind-codellama-34b",
Expand Down
3 changes: 2 additions & 1 deletion gui/src/util/modelData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ const gpt4turbo: ModelPackage = {
contextLength: 128_000,
title: "GPT-4 Turbo",
},
providerOptions: ["openai"],
providerOptions: ["openai", "freetrial"],
icon: "openai.png",
};

Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 2f3bd0c

Please sign in to comment.