Skip to content

Commit

Permalink
fix new command issue
Browse files Browse the repository at this point in the history
  • Loading branch information
fegloff committed Sep 17, 2024
1 parent 137a8d6 commit 4325f1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/llms/openaiBot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export class OpenAIBot extends LlmsBase {
}

if (
(ctx.hasCommand(this.commandsEnum.NEW) ||
(ctx.hasCommand(SupportedCommands.new) ||
hasNewPrefix(ctx.message?.text ?? '') ||
(ctx.message?.text?.startsWith('new ') && ctx.chat?.type === 'private') && this.checkModel(ctx))
) {
Expand Down

0 comments on commit 4325f1e

Please sign in to comment.