Skip to content

Commit cd381ca

Browse files
committed
fix: example script not failing correctly
1 parent 747341e commit cd381ca

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

scripts/run_examples.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ if [ "$NO_EXTRA_DEP" = true ]; then
4949
"examples/mistral/agents/async_conversation_run_mcp_remote.py"
5050
"examples/mistral/agents/async_conversation_run_stream.py"
5151
"examples/mistral/agents/async_conversation_run.py"
52+
"examples/mistral/agents/async_multi_turn_conversation"
5253
)
5354
fi
5455

@@ -64,8 +65,8 @@ run_test_with_retries() {
6465
echo "Running $file (attempt $attempt/$RETRY_COUNT)"
6566

6667
# Run the script and capture both exit status and error output
67-
local current_output=$(python3 "$file" 2>&1)
68-
local exit_code=$?
68+
current_output=$(python3 "$file" 2>&1)
69+
exit_code=$?
6970

7071
if [ $exit_code -eq 0 ]; then
7172
echo "Success"

0 commit comments

Comments
 (0)