Skip to content

ref(litellm): Remove dead attributes#5985

Merged
alexander-alderman-webb merged 1 commit intomasterfrom
webb/litellm/integration-specific-parameters
Apr 13, 2026
Merged

ref(litellm): Remove dead attributes#5985
alexander-alderman-webb merged 1 commit intomasterfrom
webb/litellm/integration-specific-parameters

Conversation

@alexander-alderman-webb
Copy link
Copy Markdown
Contributor

@alexander-alderman-webb alexander-alderman-webb commented Apr 13, 2026

Description

The api_base, api_version and custom_llm_provider values are stored in litellm_params and are not passed as top level keyword arguments to litellm.input_callback callbacks. See https://github.com/BerriAI/litellm/blob/5e80e075c7d12a816bea9bc4f6fed4c876aae9c8/litellm/litellm_core_utils/litellm_logging.py#L414.

The attributes were therefore not set.

Issues

Reminders

@alexander-alderman-webb alexander-alderman-webb marked this pull request as ready for review April 13, 2026 08:38
@alexander-alderman-webb alexander-alderman-webb requested a review from a team as a code owner April 13, 2026 08:38
@github-actions
Copy link
Copy Markdown
Contributor

Semver Impact of This PR

🟢 Patch (bug fixes)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


New Features ✨

  • (ai) Redact base64 data URLs in image_url content blocks by ericapisani in #5953
  • (integrations) Instrument pyreqwest tracing by servusdei2018 in #5682

Bug Fixes 🐛

Anthropic

  • Capture exceptions for stream() calls by alexander-alderman-webb in #5950
  • Stop setting transaction status when child span fails by alexander-alderman-webb in #5717
  • Only finish relevant spans in .create() patches by alexander-alderman-webb in #5716

Pydantic Ai

  • Adapt import for new library versions by alexander-alderman-webb in #5984
  • Use first-class hooks when available by alexander-alderman-webb in #5947

Other

  • (wsgi) Respect HTTP_X_FORWARDED_PROTO in request.url construction by sl0thentr0py in #5963

Internal Changes 🔧

  • (ai) Remove gen_ai.tool.type span attribute by ericapisani in #5964
  • (anthropic) Separate sync and async .create() patches by alexander-alderman-webb in #5715
  • (litellm) Remove dead attributes by alexander-alderman-webb in #5985
  • (openai) Split token counting by API for easier deprecation by ericapisani in #5930
  • (opentelemetry) Ignore mypy error by alexander-alderman-webb in #5927
  • 🤖 Update test matrix with new releases (04/13) by github-actions in #5983
  • Fix license metadata in setup.py by sl0thentr0py in #5934
  • Update validate-pr workflow by stephanie-anderson in #5931

Other

  • Handle None span context in the span processor and pin tokenizers version for anthropic tests on Python 3.8 by alexander-alderman-webb in #5967

🤖 This preview updates automatically when you update the PR.

@alexander-alderman-webb alexander-alderman-webb merged commit 8786dca into master Apr 13, 2026
157 of 161 checks passed
@alexander-alderman-webb alexander-alderman-webb deleted the webb/litellm/integration-specific-parameters branch April 13, 2026 14:46
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