Skip to content

feat: collector sends a neutral User-Agent - #52

Merged
hobbyistz merged 1 commit into
mainfrom
collector-user-agent-neutral
Sep 13, 2026
Merged

hobbyistz merged 1 commit into
mainfrom
collector-user-agent-neutral

Conversation

@hobbyistz

@hobbyistz hobbyistz commented Sep 13, 2026

Copy link
Copy Markdown
Contributor

The collector's User-Agent is the product token gpu-index/1.0. An operator running this code under their own identity can install a different value for a scope with user_agent_scope().

Two files: the constant and its comment in src/gpu_index/common/http.py, and the corresponding test in tests/unit/test_public_read_backend.py. No methodology or changelog change.

🤖 Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

The collector's User-Agent is the product token `gpu-index/1.0`.
An operator running this code under their own identity can install a
different value for a scope with `user_agent_scope()`.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Signed-off-by: hobbyistz <293619914+hobbyistz@users.noreply.github.com>
@hobbyistz
hobbyistz merged commit e8bbf9f into main Sep 13, 2026
5 checks passed
@hobbyistz
hobbyistz deleted the collector-user-agent-neutral branch September 13, 2026 19:19
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.

1 participant