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: prepare workflows for main default branch
Yuneng Jiangedeb93e72713
diff --git a/.github/workflows/publish-basedpyright-base-counts.yml b/.github/workflows/publish-basedpyright-base-counts.ymlindex cd443a8e9db..27d4682dbd9 100644--- a/.github/workflows/publish-basedpyright-base-counts.yml+++ b/.github/workflows/publish-basedpyright-base-counts.yml@@ -1,6 +1,6 @@name: Publish basedpyright base counts-# Every commit on litellm_internal_staging is some branch's future merge-base.+# Every commit on main or litellm_internal_staging can become a future merge-base.# Publishing its per-rule basedpyright counts as an artifact lets# scripts/type_check_gate.py download them in seconds instead of paying a# 60-110s second basedpyright pass on every fresh worktree or moved merge-base.@@ -10,13 +10,13 @@ name: Publish basedpyright base countson:push:branches:+ - main- litellm_internal_stagingworkflow_dispatch:inputs:ref:- description: "Ref to compute and publish base counts for"+ description: "Ref to compute and publish base counts for (defaults to the workflow run's commit)"required: false- default: litellm_internal_stagingpermissions:contents: readdiff --git a/.github/workflows/sync-together-ai-models.yml b/.github/workflows/sync-together-ai-models.ymlindex 1daaadeabe2..18d5e3de1eb 100644--- a/.github/workflows/sync-together-ai-models.yml+++ b/.github/workflows/sync-together-ai-models.yml@@ -13,10 +13,12 @@ jobs:sync_together_ai_models:if: github.repository == 'BerriAI/litellm'runs-on: ubuntu-latest+ env:+ BASE_BRANCH: ${{ github.event.repository.default_branch }}steps:- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0with:- ref: litellm_internal_staging+ ref: ${{ env.BASE_BRANCH }}persist-credentials: false- name: Set up uvuses: ./.github/actions/setup-uv-with-retries@@ -63,6 +65,6 @@ jobs:gh pr create --title "feat(models): sync together_ai model registry" \--body-file "$RUNNER_TEMP/pr_body.md" \--head "$branch" \- --base litellm_internal_staging+ --base "$BASE_BRANCH"env:GH_TOKEN: ${{ secrets.GH_TOKEN || github.token }}diff --git a/.github/workflows/test-litellm-ui-unit.yml b/.github/workflows/test-litellm-ui-unit.ymlindex 314efcc49d5..cd58f861a87 100644--- a/.github/workflows/test-litellm-ui-unit.yml+++ b/.github/workflows/test-litellm-ui-unit.yml@@ -12,6 +12,7 @@ on:- "litellm_**"push:branches:+ - main- litellm_internal_stagingconcurrency: