From 3404a404bae88499be36277631a41121c5619e2f Mon Sep 17 00:00:00 2001 From: Marcus Schiesser <mail@marcusschiesser.de> Date: Wed, 6 Dec 2023 13:26:28 +0700 Subject: [PATCH] fix: added model parameter to create-llama --- index.ts | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/index.ts b/index.ts index d2cc1606..764be112 100644 --- a/index.ts +++ b/index.ts @@ -66,37 +66,50 @@ const program = new Commander.Command(packageJson.name) .option( "--template <template>", ` + Select a template to bootstrap the application with. `, ) .option( "--engine <engine>", ` + Select a chat engine to bootstrap the application with. `, ) .option( "--framework <framework>", ` + Select a framework to bootstrap the application with. `, ) .option( "--open-ai-key <key>", ` + Provide an OpenAI API key. `, ) .option( "--ui <ui>", ` + Select a UI to bootstrap the application with. `, ) .option( "--frontend", ` + Whether to generate a frontend for your backend. +`, + ) + .option( + "--model", + ` + + Select OpenAI model to use. E.g. gpt-3.5-turbo. `, ) .allowUnknownOption() @@ -149,7 +162,7 @@ async function run(): Promise<void> { "\nPlease specify the project directory:\n" + ` ${cyan(program.name())} ${green("<project-directory>")}\n` + "For example:\n" + - ` ${cyan(program.name())} ${green("my-next-app")}\n\n` + + ` ${cyan(program.name())} ${green("my-app")}\n\n` + `Run ${cyan(`${program.name()} --help`)} to see all options.`, ); process.exit(1); -- GitLab