Skip to content

Commit 5ee1723

Browse files
šŸ›(anthropic.ts): fix incorrect usage of 'typeof' operator for MODEL variable
1 parent f9c7316 commit 5ee1723

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ā€Žsrc/engine/anthropic.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ if (
4848

4949
const MODEL = config?.OCO_MODEL;
5050
if (provider === 'anthropic' &&
51-
MODEL.typeof !== 'string' &&
51+
typeof MODEL !== 'string' &&
5252
command !== 'config' &&
5353
mode !== CONFIG_MODES.set) {
5454
outro(

0 commit comments

Comments
Ā (0)