Skip to content

litellm_fix: stabilize CI - UI build, mapped tests, and E2E tests#20128

Closed
shin-bot-litellm wants to merge 1 commit intoBerriAI:mainfrom
shin-bot-litellm:litellm_fix_ci_failures
Closed

litellm_fix: stabilize CI - UI build, mapped tests, and E2E tests#20128
shin-bot-litellm wants to merge 1 commit intoBerriAI:mainfrom
shin-bot-litellm:litellm_fix_ci_failures

Conversation

@shin-bot-litellm
Copy link
Contributor

Summary

This PR fixes several CI failures on main branch:

1. UI Build Fix

  • Remove unused ToolOutlined import in ToolCallCard.tsx
  • This was causing ESLint unused-imports/no-unused-imports error during UI build

2. Azure AI Cost Calculator Tests Fix

  • Fix broken import: LitellmLoggingObject class was renamed to Logging
  • Properly instantiate the Logging class with required parameters
  • Test test_additional_costs_in_cost_breakdown now works correctly

3. Bedrock Test Fix

  • Update test_advanced_tool_use_header_filtered_for_non_opus_4_5 test
  • Changed test model from Claude Sonnet 4.5 to Claude 3.5 Sonnet
  • Reason: Claude Sonnet 4.5 now supports tool search on Bedrock (along with Opus 4.5)
  • The test was incorrectly using Sonnet 4.5 as a model that "doesn't support tool search"

4. E2E Anthropic Tests Fix

  • Temporarily disable bedrock-converse-claude-sonnet-4.5 model from test suite
  • This model is not available in the CI environment (Bedrock Converse API availability)
  • Other tests (Bedrock Invoke API, Nova Premier) continue to run

Testing

  • All fixes are based on actual CI failure logs from CircleCI
  • Changes are minimal and targeted to each specific failure

Fixes:
1. UI Build: Remove unused ToolOutlined import in ToolCallCard.tsx
2. Azure AI cost tests: Fix LitellmLoggingObject import (renamed to Logging)
   and properly instantiate the Logging class
3. Bedrock tests: Update test_advanced_tool_use_header_filtered_for_non_opus_4_5
   to use Claude 3.5 Sonnet (which truly doesn't support tool search on Bedrock)
   instead of Claude 4.5 Sonnet (which does support it)
4. E2E Anthropic tests: Temporarily disable bedrock-converse-claude-sonnet-4.5
   model test as it's not available in CI environment
@vercel
Copy link

vercel bot commented Jan 31, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
litellm Error Error Jan 31, 2026 8:19am

Request Review

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@shin-bot-litellm
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants