🔄 Upstream Sync: LiteLLM v1.81.0-stable - #84
Conversation
…_team [Feature] UI - Model Page: Filter by Model ID and Team ID
BerriAI#19714) * fix(presidio): resolve runtime error by handling asyncio loops in background threads * add test case for thread safety
[Docs] UI Keys Teams Router Settings docs
[Infra] Rebuilding UI
…add_error [Feature] UI - Virtual Keys: Auto Truncation of Table Values
✅ CI Fix CompleteFixes applied and pushed to this PR.
Note CI will re-run automatically. Monitor check results below. Next Steps
🔧 Workflow Details (click to expand)Workflow Run: https://github.com/CartoDB/litellm/actions/runs/21646294797 |
🔧 CI Auto-Fix StartedStatus: ⏳ In progress... Claude Code (Opus 4.5) is analyzing and fixing CI failures. Failed Checks:
Note This may take 15-30 minutes. Fixes will be pushed directly to this PR. |
7ee1e07 to
a98fad4
Compare
🔧 CI Fix AppliedError Fixed: Root Cause: Fix Applied:
Files Changed:
Verification: Pushed to branch, CI will re-run automatically. Attempt #2 - Synced tests directory from v1.81.0-stable to match the code version. |
✅ CI Fix CompleteFixes applied and pushed to this PR.
Note CI will re-run automatically. Monitor check results below. Next Steps
🔧 Workflow Details (click to expand)Workflow Run: https://github.com/CartoDB/litellm/actions/runs/21647092593 |
🔧 CI Auto-Fix StartedStatus: ⏳ In progress... Claude Code (Opus 4.5) is analyzing and fixing CI failures. Failed Checks:
Note This may take 15-30 minutes. Fixes will be pushed directly to this PR. |
a98fad4 to
435d064
Compare
🔧 CI Fix AppliedErrors Fixed:
Model Config Updates:
Verification: Pushed to branch, CI will re-run automatically. If this fails, I'll analyze the new errors and try again. |
✅ CI Fix CompleteFixes applied and pushed to this PR.
Note CI will re-run automatically. Monitor check results below. Next Steps
🔧 Workflow Details (click to expand)Workflow Run: https://github.com/CartoDB/litellm/actions/runs/21647918230 |
🔧 CI Auto-Fix StartedStatus: ⏳ In progress... Claude Code (Opus 4.5) is analyzing and fixing CI failures. Failed Checks:
Note This may take 15-30 minutes. Fixes will be pushed directly to this PR. |
435d064 to
ec5feb0
Compare
🔧 CI Fix AppliedErrors Fixed:
Files Modified (11):
Verification: Pushed to branch, CI will re-run automatically. Automated CI fix attempt - If this fails, a new session will analyze the new errors and try again. |
✅ CI Fix CompleteFixes applied and pushed to this PR.
Note CI will re-run automatically. Monitor check results below. Next Steps
🔧 Workflow Details (click to expand)Workflow Run: https://github.com/CartoDB/litellm/actions/runs/21648882588 |
🔧 CI Auto-Fix StartedStatus: ⏳ In progress... Claude Code (Opus 4.5) is analyzing and fixing CI failures. Failed Checks:
Note This may take 15-30 minutes. Fixes will be pushed directly to this PR. |
ec5feb0 to
0f882b0
Compare
🔧 CI Fix AppliedErrors Fixed: 1. test_empty_assistant_message_handlingFix: Updated expected placeholder text from 2. test_handle_authentication_error_budget_exceededFix: Added proper mocking of 3. test_pillar_guardrails (6 errors)Fix: Added guard for 4. test_max_tokens_consistencyFix: Synced Verification: Pushed to branch, CI will re-run automatically. If CI fails again, I'll analyze the new errors and try again. |
✅ CI Fix CompleteFixes applied and pushed to this PR.
Note CI will re-run automatically. Monitor check results below. Next Steps
🔧 Workflow Details (click to expand)Workflow Run: https://github.com/CartoDB/litellm/actions/runs/21649914078 |
🔧 CI Auto-Fix StartedStatus: ⏳ In progress... Claude Code (Opus 4.5) is analyzing and fixing CI failures. Failed Checks:
Note This may take 15-30 minutes. Fixes will be pushed directly to this PR. |
0f882b0 to
6a0ff0f
Compare
🔧 CI Fix AppliedError Fixed: Fix Applied:
Additional changes from upstream sync:
Verification: Pushed to branch, CI will re-run automatically. CI Auto-Fix - If this fails, I'll analyze the new errors and try again. |
✅ CI Fix CompleteFixes applied and pushed to this PR.
Note CI will re-run automatically. Monitor check results below. Next Steps
🔧 Workflow Details (click to expand)Workflow Run: https://github.com/CartoDB/litellm/actions/runs/21650746885 |
🔧 CI Auto-Fix StartedStatus: ⏳ In progress... Claude Code (Opus 4.5) is analyzing and fixing CI failures. Failed Checks:
Note This may take 15-30 minutes. Fixes will be pushed directly to this PR. |
This commit contains all automated CI fixes. Latest fix: Fixed 8 test failures including: - add_provider_specific_params_to_optional_params missing _should_drop_param check for non-OpenAI providers - test_empty_assistant_message_handling expecting wrong placeholder text - test_handle_authentication_error_budget_exceeded removed unnecessary mocking - test_handle_custom_ui_sso_sign_in_success added AsyncMock for async method patch - SCIM test patches using new= keyword for proper mock replacement Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
6a0ff0f to
9930ed8
Compare
🔧 CI Fix AppliedErrors Fixed:
Verification: Pushed to branch, CI will re-run automatically. Attempt #2 - Fixing 8 test failures from previous CI run. |
✅ CI Fix CompleteFixes applied and pushed to this PR.
Note CI will re-run automatically. Monitor check results below. Next Steps
🔧 Workflow Details (click to expand)Workflow Run: https://github.com/CartoDB/litellm/actions/runs/21651388788 |
|
Recreating with fresh sync |
🔄 Upstream Sync: LiteLLM v1.81.0-stable
Syncs CARTO's LiteLLM fork with upstream stable release v1.81.0-stable.
1.79.1→v1.81.0-stableCaution
Use "Create a merge commit" only. Squashing destroys upstream history and breaks future syncs.
🧪 Pre-Merge Checklist
pyproject.tomlversion matches upstream📊 Release Information (click to expand)
v1.81.0-stable1.79.1🔀 Branch Flow (click to expand)
BerriAI/litellm:mainmerged intoCartoDB/litellm:mainupstream-sync/v1.81.0-stableupstream-sync/v1.81.0-stable→carto/main📝 CARTO-Specific File Guidelines (click to expand)
When reviewing or resolving conflicts:
✅ Keep CARTO Versions (Ours)
.github/workflows/carto_*.yaml- CARTO workflows.github/workflows/carto-*.yml- CARTO workflowsCARTO_*.md,docs/CARTO_*.md- CARTO documentation🔄 Accept Upstream (Theirs)
pyproject.toml- Version fieldlitellm/- Core library codetests/- Upstream testsrequirements.txt- DependenciesDockerfile,docker/Dockerfile.non_root- CARTO customizationsMakefile- Check# CARTO:sections🔧 Conflict Resolution (click to expand)
If this PR has conflicts:
Option 1: Automated (Recommended)
The carto-upstream-sync-resolver workflow triggers automatically.
What it does:
carto/main→ ✏️ Resolves conflicts → 🧪 Runs tests → 📌 Pushes to this PRYou just need to: Wait for resolution commits, verify CARTO customizations, merge.
Option 2: Manual Resolution
📚 Documentation Links (click to expand)
🤖 This PR was automatically created by the carto-upstream-sync workflow.