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

fix: don't allow runApp for LlamaPacks

parent 16788472
No related branches found
No related tags found
No related merge requests found
...@@ -276,7 +276,7 @@ async function run(): Promise<void> { ...@@ -276,7 +276,7 @@ async function run(): Promise<void> {
conf.set("preferences", preferences); conf.set("preferences", preferences);
if (program.postInstallAction === "runApp") { if (program.postInstallAction === "runApp") {
console.log("Running app..."); console.log(`Running app in ${root}...`);
await runApp( await runApp(
root, root,
program.frontend, program.frontend,
......
...@@ -221,7 +221,8 @@ export const askQuestions = async ( ...@@ -221,7 +221,8 @@ export const askQuestions = async (
if ( if (
!hasVectorDb && !hasVectorDb &&
hasOpenAiKey && hasOpenAiKey &&
!toolsRequireConfig(program.tools) !toolsRequireConfig(program.tools) &&
!program.llamapack
) { ) {
actionChoices.push({ actionChoices.push({
title: title:
......
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