Repository navigation
docs(bedrock): document listing and deleting batch files, the S3 permissions they need, and purpose semantics - #1264
Open
devin-ai-integration[bot] wants to merge 4 commits into
Open
devin-ai-integration[bot] wants to merge 4 commits into
devin-ai-integration[bot] wants to merge 4 commits into
Conversation
…issions they need, and purpose semantics
Contributor
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
|
bugbot run |
Merged
12 tasks done
Contributor
|
bugbot run |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit 300cccc. Configure here.
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TLDR
docs/providers/bedrock_batches.mdnever said thatGET /v1/filesandDELETE /v1/files/{file_id}work for Bedrock batch files, which S3 permissions the credentials need for them, or what eachpurposelists. This adds a "5. List and delete files" step with Python and curl tabs, an S3 permissions paragraph under the required parameters (s3:PutObject,s3:GetObject,s3:ListBucket,s3:DeleteObject, scoped to the three key prefixes LiteLLM writes under), ans3_output_bucket_namerow in the optional parameters, the purpose semantics (batchinputs,batch_outputresults, anything else empty), the 10,000 file ceiling, and a note that listing bytarget_model_namesand deleting by?model=are deployment-wide for any key allowed to call the model, with managed file ids as the per-user alternativeCompanion to BerriAI/litellm#39836 (LIT-6975), which ships the delete and list implementation; publish this once that PR is in a release
Caveats (if any)
Link to Devin session: https://app.devin.ai/sessions/5ecb66321a714eb980b5f86f856e9e7a
Open in Devin Desktop: https://app.devin.ai/desktop/session/5ecb66321a714eb980b5f86f856e9e7a?variant=devin
Requested by: @mateo-berri
Note
Low Risk
Markdown documentation only; no application or infrastructure code changes.
Overview
Documentation-only update to
bedrock_batches.mdso Bedrock batch operators know howGET /v1/filesandDELETE /v1/files/{file_id}behave and what AWS permissions to grant.Adds an S3 permissions blurb (Put/Get/List/Delete on configured buckets, scoped to LiteLLM key prefixes) and documents optional
s3_output_bucket_name. New §5 List and delete files coverspurpose=batchvsbatch_output, OpenAI-shaped pagination limits (10k cap, nolimit/after), deployment-wide listing viatarget_model_names, delete rules for managed ids vs raws3://(admin +?model=), plus Python and curl examples.Companion docs for the list/delete implementation in a separate PR; no runtime code changes here.
Reviewed by Cursor Bugbot for commit 300cccc. Bugbot is set up for automated code reviews on this repo. Configure here.