Skip to content

Update spaces-agents.md to match prod agents.md output#2524

Merged
mishig25 merged 1 commit into
mainfrom
update-spaces-agents-md
Jun 5, 2026
Merged

Update spaces-agents.md to match prod agents.md output#2524
mishig25 merged 1 commit into
mainfrom
update-spaces-agents-md

Conversation

@mishig25

@mishig25 mishig25 commented Jun 3, 2026

Copy link
Copy Markdown
Collaborator

Keeping the agents.md snippet up to date with prod.


Note

Low Risk
Documentation-only change to spaces-agents.md; no runtime or API behavior changes in this PR.

Overview
Updates docs/hub/spaces-agents.md so the documented agents.md response and examples match production: /gradio_api/call/v2/{endpoint} with named parameters (replacing the legacy call/{endpoint} + {"data": [...]} shape), plus the file-upload line and auth text that includes the tokens settings URL.

Adds a File inputs section (upload via /gradio_api/upload, then FileData in the v2 call) and refreshes the intro, sample snippet, auth curl, and the numbered agent workflow to include upload and v2.

Reviewed by Cursor Bugbot for commit a52851a. Bugbot is set up for automated code reviews on this repo. Configure here.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@mishig25
mishig25 requested review from apolinario and gary149 June 3, 2026 08:26
@gary149

gary149 commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

is this feature documented @mishig25 ? I dont remebmer
image
I'd rather document this first (the fact that it exists and that you dont think to think to use a space you like with your agents) and then write about the details.

@mishig25

mishig25 commented Jun 3, 2026

Copy link
Copy Markdown
Collaborator Author

It is literally this page I'm updating, no ?

https://huggingface.co/docs/hub/spaces-agents

Screenshot 2026-06-03 at 16 13 23

@gary149 gary149 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

ok

@mishig25
mishig25 merged commit 7cf383a into main Jun 5, 2026
3 checks passed
@mishig25
mishig25 deleted the update-spaces-agents-md branch June 5, 2026 11:25
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