Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(router.py): filter out deployments which don't support request params w/ 'pre_call_checks=True' #3770

Merged
merged 7 commits into from
May 22, 2024

Conversation

krrishdholakia
Copy link
Contributor

Title

Filter out deployments which don't support request params

Relevant issues

Fixes #3769

Type

🆕 New Feature

Changes

  • NEW pre-call check added, to filter out deployments which don't support the request params passed in (not run if 'litellm.drop_params=True'

[REQUIRED] Testing - Attach a screenshot of any new tests passing locall

If UI changes, send a screenshot/GIF of working UI fixes

  • Added test to 'test_router.py'
Screenshot 2024-05-21 at 5 26 40 PM

Copy link

vercel bot commented May 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
litellm ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 22, 2024 3:43am

litellm/tests/test_streaming.py Dismissed Show dismissed Hide dismissed
litellm/tests/test_streaming.py Dismissed Show dismissed Hide dismissed
@krrishdholakia krrishdholakia merged commit 5d7d638 into main May 22, 2024
1 of 3 checks passed
@krrishdholakia krrishdholakia deleted the litellm_filter_invalid_params branch May 22, 2024 03:42
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.

[Feature]: filter out deployments which don't support request params
1 participant