-
-
Couldn't load subscription status.
- Fork 4.5k
Enable base64 stripping from sqs #15927
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
base: main
Are you sure you want to change the base?
Enable base64 stripping from sqs #15927
Conversation
|
Someone is attempting to deploy a commit to the CLERKIEAI Team on Vercel. A member of the Team first needs to authorize it. |
|
deepanshu seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
|
hi @deepanshululla can you please fix the linting errors? |
|
@krrishdholakia fixed. thanks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reviewed
| sqs_batch_size: 10 # [OPTIONAL] Number of messages to batch before sending (default: 10) | ||
| sqs_flush_interval: 30 # [OPTIONAL] Time in seconds to wait before flushing batch (default: 30) | ||
| # --- 🧱 Required Parameters --- | ||
| sqs_queue_url: https://sqs.us-west-2.amazonaws.com/123456789012/my-queue |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there's a lot more content here, can u just add the new field
| • Drop entries with type == 'file' or any non-text type. | ||
| • Keep untyped or text content. | ||
| • Recursively redact inline base64 blobs in *any* string field, at any depth. | ||
| """ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please add a max depth, we don't want infinite recursion

Title
Enables Strips base64 files from SQS and adds documentation for unexposed SQS configs
Relevant issues
Large files can go in base64
Pre-Submission checklist
Please complete all items before asking a LiteLLM maintainer to review your PR
tests/litellm/directory, Adding at least 1 test is a hard requirement - see detailsmake test-unitType
Bug fix
Changes
Adds an option to strip