The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
ci(mcp): document pinned workflow action versions
Joshua Vallurub42e2827a591
diff --cc .github/workflows/test-dependency-installs.ymlindex 80864e63c5f,ab701111347..c3d33cbcfe2--- a/.github/workflows/test-dependency-installs.yml+++ b/.github/workflows/test-dependency-installs.yml@@@ -32,11 -32,8 +32,11 @@@ jobswith:workspaces: litellm-rustcache-on-failure: true- - run: uv build --wheel --out-dir dist+ - run: |+ uv build --wheel --out-dir dist+ uv build --wheel --package litellm-enterprise --out-dir dist+ uv build --wheel --package litellm-proxy-extras --out-dir dist- - uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1+ - uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1with:name: dependency-wheelspath: dist/*.whl@@@ -74,102 -71,3 +74,102 @@@uv pip install --python /tmp/base-sdk/bin/python \--resolution "$RESOLUTION" --no-sources -r pyproject.toml dist/litellm-[0-9]*.whl/tmp/base-sdk/bin/python -I tests/base_sdk_tests/check_base_sdk_install.py++ mcp-dependency-gate:+ needs: dependency-wheel+ runs-on: ubuntu-latest+ timeout-minutes: 25+ strategy:+ fail-fast: false+ matrix:+ python:+ - '3.10'+ - '3.11'+ - '3.12'+ - '3.13'+ - '3.14'+ steps:- - uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955++ - uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0+ with:+ persist-credentials: false+ - uses: ./.github/actions/setup-uv-with-retries+ with:+ version: 0.10.9- - uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e++ - uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1+ with:+ name: dependency-wheels+ path: dist+ - name: Verify minimum and locked installations+ env:+ TEST_PYTHON: ${{ matrix.python }}+ run: |+ set -euo pipefail+ wheel=(dist/litellm-[0-9]*.whl)+ mkdir -p /tmp/mcp-gate-reports+ for profile in core mcp proxy; do+ for mode in minimum locked; do+ uv run --no-project --python 3.12 --with 'packaging==26.0' --with 'coverage==7.14.0' \+ coverage run --append --branch --source=tests/mcp_dependency_tests,tests/base_sdk_tests \+ tests/mcp_dependency_tests/runner.py check \+ --wheel "${wheel[0]}" --profile "$profile" --mode "$mode" \+ --python "$TEST_PYTHON" \+ --environment "/tmp/mcp-gate/${profile}-${mode}"+ cp "/tmp/mcp-gate/${profile}-${mode}/report.json" "/tmp/mcp-gate-reports/${profile}-${mode}.json"+ done+ done+ git diff --exit-code -- pyproject.toml uv.lock+ - name: Test dependency runner behavior+ if: matrix.python == '3.12'+ run: |+ set -euo pipefail+ for profile in core mcp; do+ instrumented="/tmp/mcp-gate-coverage-${profile}"+ cp -a "/tmp/mcp-gate/${profile}-locked" "$instrumented"+ uv pip install --python "$instrumented/bin/python" 'coverage==7.14.0'+ "$instrumented/bin/python" -m coverage run --append --branch \+ --source=tests/mcp_dependency_tests,tests/base_sdk_tests \+ tests/mcp_dependency_tests/check_environment.py "$profile" "$instrumented"+ if [ "$profile" = core ]; then+ "$instrumented/bin/python" -m coverage run --append --branch \+ --source=tests/mcp_dependency_tests,tests/base_sdk_tests \+ tests/base_sdk_tests/check_base_sdk_install.py+ fi+ done+ uv run --no-project --python 3.12 --with 'packaging==26.0' \+ --with 'pytest==9.0.3' --with 'pytest-cov==5.0.0' --with 'coverage==7.14.0' \+ pytest tests/mcp_dependency_tests/test_runner.py \+ --cov=tests/mcp_dependency_tests \+ --cov=tests/base_sdk_tests --cov-append --cov-branch \+ --cov-report=xml:mcp-dependency-coverage.xml- - uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1++ - uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1+ with:+ name: mcp-dependency-reports-${{ matrix.python }}+ path: /tmp/mcp-gate-reports/*.json+ if-no-files-found: error- - uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1++ - uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1+ if: matrix.python == '3.12'+ with:+ name: mcp-dependency-coverage+ path: mcp-dependency-coverage.xml+ if-no-files-found: error+ mcp-dependency-coverage:+ needs: mcp-dependency-gate+ runs-on: ubuntu-latest+ timeout-minutes: 10+ permissions:+ contents: read+ id-token: write+ steps:- - uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955++ - uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0+ with:+ persist-credentials: false- - uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e++ - uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1+ with:+ name: mcp-dependency-coverage+ path: coverage-reports- - uses: codecov/codecov-action@75cd11691c0faa626561e295848008c8a7dddffe++ - uses: codecov/codecov-action@75cd11691c0faa626561e295848008c8a7dddffe # v5.5.4+ with:+ use_oidc: true+ directory: coverage-reports+ flags: mcp-dependencies+ fail_ci_if_error: true