🐛(anthropic.ts): fix incorrect usage of 'typeof' operator for MODEL variable

This commit is contained in:
marcelwiegand
2024-08-19 11:13:37 +02:00
committed by GitHub
parent f9c7316eb3
commit 5ee17235cb

View File

@@ -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(