Compare commits

...

2 Commits

Author SHA1 Message Date
Alex Yang 887289e4d4 docs(changeset): fix: relative path incorrect 2024-01-14 17:50:59 -06:00
Alex Yang 981f206490 fix(create-llama): component choice 2024-01-14 17:47:13 -06:00
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"create-llama": patch
---
fix: relative path incorrect
+1 -1
View File
@@ -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