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

fix: clarify CLI output for create-llama

parent 51b57fe4
No related branches found
No related tags found
No related merge requests found
......@@ -79,7 +79,7 @@ const createEnvLocalFile = async (
}
};
const installDependencies = async (
const generateContextData = async (
framework: TemplateFramework,
packageManager?: PackageManager,
openAiKey?: string,
......@@ -211,13 +211,12 @@ export const installTemplate = async (
props.postInstallAction === "runApp" ||
props.postInstallAction === "dependencies"
) {
await installDependencies(
await generateContextData(
props.framework,
props.packageManager,
props.openAiKey,
props.vectorDb,
);
console.log("installed dependencies");
}
}
} else {
......
......@@ -113,7 +113,7 @@ const getDataSourceChoices = (framework: TemplateFramework) => {
];
if (process.platform === "win32" || process.platform === "darwin") {
choices.push({
title: `Use a local file (${supportedContextFileTypes})`,
title: `Use a local file (${supportedContextFileTypes.join(", ")})`,
value: "localFile",
});
choices.push({
......@@ -122,7 +122,10 @@ const getDataSourceChoices = (framework: TemplateFramework) => {
});
}
if (framework === "fastapi") {
choices.push({ title: "Use website content", value: "web" });
choices.push({
title: "Use website content (requires Chrome)",
value: "web",
});
}
return choices;
};
......
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