diff --git a/src/panel/slash-commands.ts b/src/panel/slash-commands.ts index 3eec6a26..71bfe13a 100644 --- a/src/panel/slash-commands.ts +++ b/src/panel/slash-commands.ts @@ -53,7 +53,7 @@ export async function executeSlashCommand( command: SlashCommandName, args: string, context: SlashCommandExecutionContext, -): Promise { +): Promise { if (command === "new") { await context.startNewThread(); if (args) return { sendText: args }; diff --git a/src/panel/view.ts b/src/panel/view.ts index 19cd5ef8..fa94fbab 100644 --- a/src/panel/view.ts +++ b/src/panel/view.ts @@ -548,7 +548,7 @@ export class CodexPanelView extends ItemView { await this.sendMessage(); } - private async executeSlashCommand(command: SlashCommandName, args: string): Promise { + private async executeSlashCommand(command: SlashCommandName, args: string): Promise { if (!this.client) return; return runSlashCommand(command, args, { activeThreadId: this.state.activeThreadId,