Skip to content

Commit b4f1fb7

Browse files
committed
Also update run_tutorials
1 parent e1734e9 commit b4f1fb7

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

.github/workflows/run_tutorials.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,5 +98,12 @@ jobs:
9898
9999
- name: Run the converted notebook
100100
run: |
101-
# We add a prompt to confirm any user inputs in the HiTL notebook
102-
yes y | python ./tutorials/${{ matrix.notebook }}.py
101+
NOTEBOOK="./tutorials/${{ matrix.notebook }}.py"
102+
if [[ "${{ matrix.notebook }}" == "47_Human_in_the_Loop_Agent" ]]; then
103+
# We add a prompt to confirm any user inputs in the HiTL notebook
104+
yes y | python "$NOTEBOOK"
105+
elif [[ "${{ matrix.notebook }}" == "48_Conversational_RAG" ]]; then
106+
yes Q | python "$NOTEBOOK"
107+
else
108+
python "$NOTEBOOK"
109+
fi

0 commit comments

Comments
 (0)