diff --git a/.github/workflows/sdk_generation_mistralai_sdk.yaml b/.github/workflows/sdk_generation_mistralai_sdk.yaml index 719a7b72..77a630f7 100644 --- a/.github/workflows/sdk_generation_mistralai_sdk.yaml +++ b/.github/workflows/sdk_generation_mistralai_sdk.yaml @@ -24,6 +24,6 @@ jobs: speakeasy_version: latest target: mistralai-sdk secrets: - github_access_token: ${{ secrets.SPEAKEASY_WORKFLOW_GITHUB_PAT }} + github_access_token: ${{ secrets.GITHUB_TOKEN }} pypi_token: ${{ secrets.PYPI_TOKEN }} speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }} diff --git a/scripts/run_examples.sh b/scripts/run_examples.sh index d9ff43b2..106c10b2 100755 --- a/scripts/run_examples.sh +++ b/scripts/run_examples.sh @@ -39,21 +39,26 @@ exclude_files=( "examples/mistral/mcp_servers/stdio_server.py" "examples/mistral/agents/async_conversation_run_stream.py" "examples/mistral/agents/async_conversation_run_mcp.py" - "examples/mistral/agents/async_conversation_run_mcp_remote.py" + "examples/mistral/agents/async_conversation_run_mcp_remote.py" ) # Check if the no-extra-dep flag is set if [ "$NO_EXTRA_DEP" = true ]; then # Add more files to the exclude list exclude_files+=( - "examples/mistral/agents/async_conversation_run_mcp_remote.py" "examples/mistral/agents/async_conversation_run_stream.py" "examples/mistral/agents/async_conversation_run.py" + "examples/mistral/agents/async_multi_turn_conversation.py" ) fi failed=0 +echo "Skipping scripts" +for file in "${exclude_files[@]}"; do + echo "$file" +done + # Function to run a test with retries run_test_with_retries() { local file="$1" @@ -64,8 +69,8 @@ run_test_with_retries() { echo "Running $file (attempt $attempt/$RETRY_COUNT)" # Run the script and capture both exit status and error output - local current_output=$(python3 "$file" 2>&1) - local exit_code=$? + current_output=$(python3 "$file" 2>&1) + exit_code=$? if [ $exit_code -eq 0 ]; then echo "Success"