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