Skip to content

Conversation

serializer
Copy link
Contributor

@serializer serializer commented Sep 29, 2025

Title

Fixes exception has no attribute 'request'

Relevant issues

Pre-Submission checklist

Please complete all items before asking a LiteLLM maintainer to review your PR

  • I have Added testing in the tests/litellm/ directory, Adding at least 1 test is a hard requirement - see details
  • I have added a screenshot of my new test passing locally
  • My PR passes all unit tests on make test-unit
  • My PR's scope is as isolated as possible, it only solves 1 specific problem
Screenshot 2025-09-29 at 9 42 25 PM

Type

🐛 Bug Fix

Changes

  • Getting 'Exception' object has no attribute 'request' via LiteLLM in some cases.
  • Added getattr to handle such cases.

@CLAassistant
Copy link

CLAassistant commented Sep 29, 2025

CLA assistant check
All committers have signed the CLA.

Copy link

vercel bot commented Sep 29, 2025

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

Project Deployment Preview Comments Updated (UTC)
litellm Ready Ready Preview Comment Sep 29, 2025 4:14pm

@serializer serializer changed the title Update request handling for original exceptions [bug]: Update request handling for original exceptions Sep 29, 2025
@serializer
Copy link
Contributor Author

@ishaan-jaff can you please check this?

@krrishdholakia krrishdholakia merged commit fd1a986 into BerriAI:main Sep 30, 2025
6 of 7 checks passed
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.

3 participants