Skip to content
Snippets Groups Projects
Commit 3404a404 authored by Marcus Schiesser's avatar Marcus Schiesser
Browse files

fix: added model parameter to create-llama

parent 5baac738
No related branches found
No related tags found
No related merge requests found
...@@ -66,37 +66,50 @@ const program = new Commander.Command(packageJson.name) ...@@ -66,37 +66,50 @@ const program = new Commander.Command(packageJson.name)
.option( .option(
"--template <template>", "--template <template>",
` `
Select a template to bootstrap the application with. Select a template to bootstrap the application with.
`, `,
) )
.option( .option(
"--engine <engine>", "--engine <engine>",
` `
Select a chat engine to bootstrap the application with. Select a chat engine to bootstrap the application with.
`, `,
) )
.option( .option(
"--framework <framework>", "--framework <framework>",
` `
Select a framework to bootstrap the application with. Select a framework to bootstrap the application with.
`, `,
) )
.option( .option(
"--open-ai-key <key>", "--open-ai-key <key>",
` `
Provide an OpenAI API key. Provide an OpenAI API key.
`, `,
) )
.option( .option(
"--ui <ui>", "--ui <ui>",
` `
Select a UI to bootstrap the application with. Select a UI to bootstrap the application with.
`, `,
) )
.option( .option(
"--frontend", "--frontend",
` `
Whether to generate a frontend for your backend. Whether to generate a frontend for your backend.
`,
)
.option(
"--model",
`
Select OpenAI model to use. E.g. gpt-3.5-turbo.
`, `,
) )
.allowUnknownOption() .allowUnknownOption()
...@@ -149,7 +162,7 @@ async function run(): Promise<void> { ...@@ -149,7 +162,7 @@ async function run(): Promise<void> {
"\nPlease specify the project directory:\n" + "\nPlease specify the project directory:\n" +
` ${cyan(program.name())} ${green("<project-directory>")}\n` + ` ${cyan(program.name())} ${green("<project-directory>")}\n` +
"For example:\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.`, `Run ${cyan(`${program.name()} --help`)} to see all options.`,
); );
process.exit(1); process.exit(1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment