Skip to content

Commit

Permalink
feat: AI Assistant - add gpt-4o as part of the OpenAI default models
Browse files Browse the repository at this point in the history
  • Loading branch information
chhoumann committed May 13, 2024
1 parent 81e4202 commit 2bb0d19
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/ai/Provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ const OpenAIProvider: AIProvider = {
endpoint: "https://api.openai.com/v1",
apiKey: "",
models: [
{
name: "text-davinci-003",
maxTokens: 4096,
},
{
name: "gpt-3.5-turbo",
maxTokens: 4096,
Expand All @@ -40,8 +44,12 @@ const OpenAIProvider: AIProvider = {
maxTokens: 128000,
},
{
name: "text-davinci-003",
maxTokens: 4096,
name: "gpt-4-turbo",
maxTokens: 128000,
},
{
name: "gpt-4o",
maxTokens: 128000,
},
],
};
Expand Down

0 comments on commit 2bb0d19

Please sign in to comment.