We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 450108a commit 4883a15Copy full SHA for 4883a15
1 file changed
snippets/ai/src/ai.ts
@@ -142,7 +142,8 @@ module.exports = async (globalThis: CliContext) => {
142
this.ai.respond(`Switched to ${chalk.blue(model)} model`);
143
}
144
145
- async askOrHelp(prompt?: string) {
+ async askOrHelp(...args: string[]) {
146
+ const prompt = args.join(' ');
147
if (prompt) {
148
await this.ask(prompt);
149
} else {
0 commit comments