Skip to content

Commit

Permalink
Merge pull request #245 from PeterDaveHelloKitchen/support-the-latest…
Browse files Browse the repository at this point in the history
…-chatgpt-model

feat: support the latest OpenAI model `chatgpt-4o-latest`
  • Loading branch information
zmh-program authored Sep 3, 2024
2 parents a95a4cb + 7bc0487 commit 4950aca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/src/admin/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ export const ChannelInfos: Record<string, ChannelInfo> = {
"gpt-4o-2024-08-06",
"gpt-4o-mini",
"gpt-4o-mini-2024-07-18",
"chatgpt-4o-latest",
"dalle",
"dall-e-2",
"dall-e-3",
Expand Down
2 changes: 1 addition & 1 deletion app/src/admin/datasets/charge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export const pricing: PricingDataset = [
output: 0.03,
},
{
models: ["gpt-4o", "gpt-4o-2024-05-13"],
models: ["gpt-4o", "gpt-4o-2024-05-13", "chatgpt-4o-latest"],
input: 0.005,
output: 0.015,
},
Expand Down

0 comments on commit 4950aca

Please sign in to comment.