From 3e685a8913b3546b9b3057e3ac322c84d2413e17 Mon Sep 17 00:00:00 2001 From: Athena <125889247+AthanaD@users.noreply.github.com> Date: Tue, 2 Jan 2024 00:11:59 +0800 Subject: [PATCH] Update api.ts --- src/api/api.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/api/api.ts b/src/api/api.ts index 4475e27..b535002 100644 --- a/src/api/api.ts +++ b/src/api/api.ts @@ -21,6 +21,7 @@ export const getChatCompletion = async ( const modelmapping: Partial> = { 'gpt-3.5-turbo': 'gpt-35-turbo', 'gpt-3.5-turbo-16k': 'gpt-35-turbo-16k', + 'gpt-4-mobile': 'gpt-4-mobile', }; const model = modelmapping[config.model] || config.model;