Skip to content

Commit 95dd73a

Browse files
committed
Merge remote-tracking branch 'upstream/litellm_internal_staging' into runware-provider
2 parents ecbafd5 + 17bfd41 commit 95dd73a

569 files changed

Lines changed: 34025 additions & 6688 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/deploy-on-aws.png

4.02 KB
Loading

.github/deploy-on-gcp.png

4.81 KB
Loading

.github/workflows/guard-fork-dependencies.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
branches:
66
- main
77
- litellm_internal_staging
8-
- litellm_oss_branch
8+
- litellm_oss_staging
99
- "litellm_**"
1010
paths:
1111
- "uv.lock"

.github/workflows/guard-main-branch.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ jobs:
3131
echo "PR head repo: $HEAD_REPO"
3232
echo "PR head branch: $HEAD_REF"
3333
if [ "$HEAD_REPO" != "$BASE_REPO" ]; then
34-
echo "::error::PRs to main must originate from the canonical repository ($BASE_REPO), not a fork ($HEAD_REPO). External contributors should open PRs against the 'litellm_oss_branch' branch instead."
34+
echo "::error::PRs to main must originate from the canonical repository ($BASE_REPO), not a fork ($HEAD_REPO). External contributors should open PRs against the 'litellm_oss_staging' branch instead."
3535
exit 1
3636
fi
3737
if [ "$HEAD_REF" = "litellm_internal_staging" ] || [[ "$HEAD_REF" == litellm_hotfix_?* ]]; then
3838
echo "Allowed source branch."
3939
exit 0
4040
fi
41-
echo "::error::PRs to main must originate from 'litellm_internal_staging' or a 'litellm_hotfix_*' branch. Got: '$HEAD_REF'. If this is a contribution, retarget the PR against 'litellm_oss_branch' instead."
41+
echo "::error::PRs to main must originate from 'litellm_internal_staging' or a 'litellm_hotfix_*' branch. Got: '$HEAD_REF'. If this is a contribution, retarget the PR against 'litellm_oss_staging' instead."
4242
exit 1

.github/workflows/osv-scan.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,8 @@ on:
55
branches:
66
- main
77
- litellm_internal_staging
8-
- litellm_oss_branch
8+
- litellm_oss_staging
99
- "litellm_**"
10-
paths:
11-
- uv.lock
12-
- ui/litellm-dashboard/package-lock.json
13-
- osv-scanner.toml
14-
- .github/workflows/osv-scan.yml
1510
schedule:
1611
- cron: "23 6 * * *"
1712
workflow_dispatch:

.github/workflows/test-code-quality.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
branches:
66
- main
77
- litellm_internal_staging
8-
- litellm_oss_branch
8+
- litellm_oss_staging
99
- "litellm_**"
1010

1111
permissions:

.github/workflows/test-linting.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
branches:
66
- main
77
- litellm_internal_staging
8-
- litellm_oss_branch
8+
- litellm_oss_staging
99
- "litellm_**"
1010

1111
permissions:
@@ -14,7 +14,7 @@ permissions:
1414
jobs:
1515
lint:
1616
runs-on: ubuntu-latest
17-
timeout-minutes: 10
17+
timeout-minutes: 15
1818

1919
steps:
2020
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
@@ -50,10 +50,10 @@ jobs:
5050
run: |
5151
uv sync --frozen
5252
53-
- name: Check Black formatting
53+
- name: Check ruff format
5454
run: |
5555
cd litellm
56-
uv run --no-sync black --check --exclude '/enterprise/' .
56+
uv run --no-sync ruff format --check --line-length 88 --exclude '/enterprise/' .
5757
cd ..
5858
5959
- name: Debug - Check file state
@@ -87,9 +87,11 @@ jobs:
8787
run: |
8888
uv run --no-sync python -c "import openai; print(f'OpenAI version: {openai.__version__}')"
8989
90-
- name: Run basedpyright type checking
90+
- name: Check basedpyright budget (delta vs base)
91+
env:
92+
BASE_SHA: ${{ github.event.pull_request.base.sha }}
9193
run: |
92-
(uv run --no-sync basedpyright --outputjson || true) | uv run --no-sync python scripts/type_check_gate.py
94+
(uv run --no-sync basedpyright --outputjson || true) | uv run --no-sync python scripts/type_check_gate.py --base "$BASE_SHA"
9395
9496
- name: Check for circular imports
9597
run: |

.github/workflows/test-litellm-ui-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
branches:
88
- main
99
- litellm_internal_staging
10-
- litellm_oss_branch
10+
- litellm_oss_staging
1111
- "litellm_**"
1212

1313
jobs:
@@ -111,4 +111,4 @@ jobs:
111111
if: ${{ !cancelled() && steps.changed.outputs.has_files == 'true' }}
112112
run: |
113113
npx eslint . -f json -o "$RUNNER_TEMP/lint-report.json" || true
114-
node scripts/check-lint-budgets.mjs "$RUNNER_TEMP/lint-report.json" eslint-budgets.json
114+
node scripts/check-lint-budgets.mjs "$RUNNER_TEMP/lint-report.json" eslint-budgets.json --check eslint-metrics.json

.github/workflows/test-mcp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
branches:
66
- main
77
- litellm_internal_staging
8-
- litellm_oss_branch
8+
- litellm_oss_staging
99
- "litellm_**"
1010

1111
permissions:

.github/workflows/test-model-map.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
branches:
66
- main
77
- litellm_internal_staging
8-
- litellm_oss_branch
8+
- litellm_oss_staging
99
- "litellm_**"
1010

1111
permissions:

0 commit comments

Comments
 (0)