You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/core/taskmaster/asks.ts
+45Lines changed: 45 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,7 @@ import {
21
21
PRD_PATH,
22
22
TASKS_STATUSES,
23
23
TASKS_BCK_DEST_PATH,
24
+
AI_MODELS,
24
25
}from"@/constants";
25
26
26
27
/* utils */
@@ -479,3 +480,47 @@ export async function askLangAsync(): Promise<string> {
479
480
});
480
481
returnlang;
481
482
}
483
+
484
+
/**
485
+
* @description Prompts the user to select AI models for main, research, and fallback
486
+
* Note: This list is designed for faster TMAI testing using free or generously quota'd models.
487
+
* For a wider selection, use the standard interactive configuration mode.
488
+
*/
489
+
exportasyncfunctionaskModelsAsync(): Promise<{
490
+
mainModel: string;
491
+
researchModel: string;
492
+
fallbackModel: string;
493
+
}>{
494
+
console.log(
495
+
chalk.blue(
496
+
"Note: This list is optimized for quicker TMAI testing with free or high-quota models. These models are fully suitable for real projects too. For more options, use the standard interactive configuration mode.",
0 commit comments