Skip to content

Commit

Permalink
Merge pull request #85 from phlego/feature/support-gpt-4o-mini
Browse files Browse the repository at this point in the history
add `gpt-4o-mini` to supported models
  • Loading branch information
spikelu2016 authored Oct 15, 2024
2 parents 805ef73 + b0be28e commit d3467c6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
3 changes: 1 addition & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: '3.8'
services:
redis:
image: redis:6.2-alpine
Expand Down Expand Up @@ -38,4 +37,4 @@ volumes:
redis:
driver: local
postgresql:
driver: local
driver: local
12 changes: 4 additions & 8 deletions internal/manager/route.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ var (
azureSupportedModels = []string{
"gpt-4o-2024-05-13",
"gpt-4o",
"gpt-4o-mini",
"gpt-4-turbo-2024-04-09",
"gpt-4-0125-preview",
"gpt-4-vision-preview",
Expand All @@ -115,8 +116,6 @@ var (
"gpt-4-32k-0613",
"gpt-4-32k-0314",
"gpt-4-turbo",
"gpt-4o-2024-05-13",
"gpt-4o",
"gpt-35-turbo",
"gpt-35-turbo-0125",
"gpt-35-turbo-1106",
Expand All @@ -131,6 +130,7 @@ var (
openaiSupportedModels = []string{
"gpt-4o-2024-05-13",
"gpt-4o",
"gpt-4o-mini",
"gpt-4-turbo-2024-04-09",
"gpt-4-0125-preview",
"gpt-4-vision-preview",
Expand All @@ -146,8 +146,6 @@ var (
"gpt-4-turbo-2024-04-09",
"gpt-4-1106-preview",
"gpt-4-turbo-preview",
"gpt-4o-2024-05-13",
"gpt-4o",
"gpt-3.5-turbo",
"gpt-3.5-turbo-0125",
"gpt-3.5-turbo-1106",
Expand All @@ -162,6 +160,7 @@ var (
supportedModels = []string{
"gpt-4o-2024-05-13",
"gpt-4o",
"gpt-4o-mini",
"gpt-4-turbo-2024-04-09",
"gpt-4-0125-preview",
"gpt-4-vision-preview",
Expand All @@ -177,8 +176,6 @@ var (
"gpt-4-turbo-2024-04-09",
"gpt-4-1106-preview",
"gpt-4-turbo-preview",
"gpt-4o-2024-05-13",
"gpt-4o",
"gpt-35-turbo",
"gpt-35-turbo-0125",
"gpt-35-turbo-1106",
Expand Down Expand Up @@ -217,6 +214,7 @@ var (
"gpt-35-turbo-16k-0613",
"gpt-4o-2024-05-13",
"gpt-4o",
"gpt-4o-mini",
"gpt-4-turbo-2024-04-09",
"gpt-4-0125-preview",
"gpt-4-vision-preview",
Expand All @@ -232,8 +230,6 @@ var (
"gpt-4-turbo-2024-04-09",
"gpt-4-1106-preview",
"gpt-4-turbo-preview",
"gpt-4o-2024-05-13",
"gpt-4o",
"gpt-3.5-turbo",
"gpt-3.5-turbo-0125",
"gpt-3.5-turbo-1106",
Expand Down

0 comments on commit d3467c6

Please sign in to comment.