Skip to content

Commit 5ee1723

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ā€Ž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)