Skip to content
Snippets Groups Projects
Unverified Commit 2b356c86 authored by Alex Yang's avatar Alex Yang Committed by GitHub
Browse files

fix(create-llama): component choice (#377)

parent 2e6b36ef
No related branches found
No related tags found
No related merge requests found
---
"create-llama": patch
---
fix: relative path incorrect
......@@ -40,7 +40,7 @@ const getVectorDbChoices = (framework: TemplateFramework) => {
];
const vectodbLang = framework === "fastapi" ? "python" : "typescript";
const compPath = path.join(__dirname, "components");
const compPath = path.join(__dirname, "..", "templates", "components");
const vectordbPath = path.join(compPath, "vectordbs", vectodbLang);
const availableChoices = fs
......
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