From f9c7316eb3c03cafce7760b93322ae87bcdbf3c7 Mon Sep 17 00:00:00 2001 From: marcelwiegand <44807370+marcelwiegand@users.noreply.github.com> Date: Mon, 19 Aug 2024 11:13:09 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B(openAi.ts):=20fix=20incorrect=20us?= =?UTF-8?q?age=20of=20'typeof'=20operator=20for=20MODEL=20variable?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/engine/openAi.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/openAi.ts b/src/engine/openAi.ts index 2d3f40e..5f09268 100644 --- a/src/engine/openAi.ts +++ b/src/engine/openAi.ts @@ -54,7 +54,7 @@ if ( const MODEL = config?.OCO_MODEL || 'gpt-3.5-turbo'; if (provider === 'openai' && - MODEL.typeof !== 'string' && + typeof MODEL !== 'string' && command !== 'config' && mode !== CONFIG_MODES.set) { outro(