diff --git a/.changeset/new-forks-sin.md b/.changeset/new-forks-sin.md new file mode 100644 index 0000000000000000000000000000000000000000..af0ae78a16f9405660616064b7d4e08f7eb2392f --- /dev/null +++ b/.changeset/new-forks-sin.md @@ -0,0 +1,5 @@ +--- +"create-llama": patch +--- + +fix: relative path incorrect diff --git a/packages/create-llama/questions.ts b/packages/create-llama/questions.ts index 0694d7afbc9a6caa243a01f6ae2d7eca45ac9c15..ea130e36fa1e32795611dc667913c5d24be1e486 100644 --- a/packages/create-llama/questions.ts +++ b/packages/create-llama/questions.ts @@ -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