diff --git a/app/src-tauri/tauri.conf.json b/app/src-tauri/tauri.conf.json index ee85ddba..41d8430c 100644 --- a/app/src-tauri/tauri.conf.json +++ b/app/src-tauri/tauri.conf.json @@ -8,7 +8,7 @@ }, "package": { "productName": "chatnio", - "version": "3.11.1" + "version": "3.11.2" }, "tauri": { "allowlist": { diff --git a/app/src/admin/channel.ts b/app/src/admin/channel.ts index e4489b81..09085cb4 100644 --- a/app/src/admin/channel.ts +++ b/app/src/admin/channel.ts @@ -116,6 +116,8 @@ export const ChannelInfos: Record = { "gpt-4-32k-0613", "gpt-4o", "gpt-4o-2024-05-13", + "gpt-4o-mini", + "gpt-4o-mini-2024-07-18", "dalle", "dall-e-2", "dall-e-3", diff --git a/app/src/admin/colors.ts b/app/src/admin/colors.ts index 32ccc743..7b18bccf 100644 --- a/app/src/admin/colors.ts +++ b/app/src/admin/colors.ts @@ -35,6 +35,8 @@ export const modelColorMapper: Record = { "gpt-4-32k-0314": "purple-600", "gpt-4o": "purple-600", "gpt-4o-2024-05-13": "purple-600", + "gpt-4o-mini": "purple-600", + "gpt-4o-mini-2024-07-18": "purple-600", "dall-e-3": "purple-700", diff --git a/app/src/admin/datasets/charge.ts b/app/src/admin/datasets/charge.ts index 789f0231..77e30a40 100644 --- a/app/src/admin/datasets/charge.ts +++ b/app/src/admin/datasets/charge.ts @@ -73,6 +73,11 @@ export const pricing: PricingDataset = [ input: 0.005, output: 0.015, }, + { + models: ["gpt-4o-mini", "gpt-4o-mini-2024-07-18"], + input: 0.00015, + output: 0.0006, + }, { models: ["gpt-4-32k", "gpt-4-32k-0314", "gpt-4-32k-0613"],