Skip to content

Add bucket to collection#4041

Merged
Wauplin merged 2 commits intomainfrom
bucket-to-collections
Apr 3, 2026
Merged

Add bucket to collection#4041
Wauplin merged 2 commits intomainfrom
bucket-to-collections

Conversation

@coyotte508
Copy link
Copy Markdown
Member

@coyotte508 coyotte508 commented Apr 2, 2026

100% vibe-coded, but I figure should be ok given the minimal changes

(buckets can be added to collections on HF, see this one)


Note

Low Risk
Low risk: changes are limited to widening accepted/ documented CollectionItemType values to include bucket, with no behavioral changes to request/response handling beyond allowing the new enum value.

Overview
Collections now accept buckets as first-class items across the library and docs.

This extends the allowed CollectionItemType (API typing + CLI hf collections add-item argument/help + CLI reference) to include bucket, and updates the collections guide/examples to show bucket IDs and filtering via buckets/....

Written by Cursor Bugbot for commit 62fe867. This will update automatically on new commits. Configure here.

@bot-ci-comment
Copy link
Copy Markdown

bot-ci-comment Bot commented Apr 2, 2026

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Copy link
Copy Markdown
Contributor

@Wauplin Wauplin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! I've pushed a commit to update the Collections guide in the docs
Looks good to merge

@Wauplin Wauplin merged commit e93ad67 into main Apr 3, 2026
20 of 21 checks passed
@Wauplin Wauplin deleted the bucket-to-collections branch April 3, 2026 07:33
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