Skip to content

Commit

Permalink
fix(run): should follow the option autoRunLLMIfPromptAvailable of scr…
Browse files Browse the repository at this point in the history
…ipt in interactive mode
  • Loading branch information
snowyu committed Jun 12, 2024
1 parent bb5c825 commit 7e67c39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/run-script.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export async function runScript(filename: string, options: IRunScriptOptions) {
if (stream !== undefined) {
script.llmStream = stream
}
if (interactive) {
if (interactive && script.autoRunLLMIfPromptAvailable === undefined) {
script.autoRunLLMIfPromptAvailable = false
}

Expand Down

0 comments on commit 7e67c39

Please sign in to comment.