Skip to content

Commit f9c7316

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ā€Žsrc/engine/openAi.ts

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

5555
const MODEL = config?.OCO_MODEL || 'gpt-3.5-turbo';
5656
if (provider === 'openai' &&
57-
MODEL.typeof !== 'string' &&
57+
typeof MODEL !== 'string' &&
5858
command !== 'config' &&
5959
mode !== CONFIG_MODES.set) {
6060
outro(

0 commit comments

Comments
Ā (0)