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 May 17, 2024
1 parent b670949 commit 9a9b7ba
Show file tree
Hide file tree
Showing 8 changed files with 56 additions and 52 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
2 changes: 2 additions & 0 deletions core/llm/llms/FreeTrial.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,10 @@ class FreeTrial extends BaseLLM {

async listModels(): Promise<string[]> {
return [
"llama3-70b",
"gpt-3.5-turbo",
"gpt-4o",
"gpt-4-turbo",
"gemini-1.5-pro-latest",
"claude-3-opus-20240229",
"claude-3-sonnet-20240229",
Expand Down
6 changes: 3 additions & 3 deletions docs/static/schemas/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -438,12 +438,12 @@
"properties": {
"model": {
"enum": [
"gpt-4-turbo",
"gpt-4o",
"llama3-70b",
"gpt-3.5-turbo",
"gpt-4",
"phind-codellama-34b",
"gemini-pro",
"gpt-4-vision-preview",
"codellama-70b",
"mistral-8x7b",
"claude-3-opus-20240229",
"claude-3-sonnet-20240229",
Expand Down
6 changes: 3 additions & 3 deletions extensions/intellij/src/main/resources/config_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -438,12 +438,12 @@
"properties": {
"model": {
"enum": [
"gpt-4-turbo",
"gpt-4o",
"llama3-70b",
"gpt-3.5-turbo",
"gpt-4",
"phind-codellama-34b",
"gemini-pro",
"gpt-4-vision-preview",
"codellama-70b",
"mistral-8x7b",
"claude-3-opus-20240229",
"claude-3-sonnet-20240229",
Expand Down
6 changes: 3 additions & 3 deletions extensions/vscode/config_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -438,12 +438,12 @@
"properties": {
"model": {
"enum": [
"gpt-4-turbo",
"gpt-4o",
"llama3-70b",
"gpt-3.5-turbo",
"gpt-4",
"phind-codellama-34b",
"gemini-pro",
"gpt-4-vision-preview",
"codellama-70b",
"mistral-8x7b",
"claude-3-opus-20240229",
"claude-3-sonnet-20240229",
Expand Down
6 changes: 3 additions & 3 deletions extensions/vscode/continue_rc_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -474,12 +474,12 @@
"properties": {
"model": {
"enum": [
"gpt-4-turbo",
"gpt-4o",
"llama3-70b",
"gpt-3.5-turbo",
"gpt-4",
"phind-codellama-34b",
"gemini-pro",
"gpt-4-vision-preview",
"codellama-70b",
"mistral-8x7b",
"claude-3-opus-20240229",
"claude-3-sonnet-20240229",
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 @@ -546,7 +546,7 @@ const gpt4turbo: ModelPackage = {
contextLength: 128_000,
title: "GPT-4 Turbo",
},
providerOptions: ["openai"],
providerOptions: ["openai", "freetrial"],
icon: "openai.png",
};

Expand Down Expand Up @@ -1039,6 +1039,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 9a9b7ba

Please sign in to comment.