Skip to content

Set client User-Agent to replicate-cli/{version}#49

Merged
mattt merged 1 commit into
mainfrom
mattt/set-useragent
Dec 18, 2023
Merged

Set client User-Agent to replicate-cli/{version}#49
mattt merged 1 commit into
mainfrom
mattt/set-useragent

Conversation

@mattt

@mattt mattt commented Dec 17, 2023

Copy link
Copy Markdown
Contributor

Currently, the CLI makes requests to Replicate's API with a User-Agent header set to replicate/{version}. This PR updates that to be replicate-cli/{version}, to avoid confusion with other clients.

@mattt
mattt merged commit 1625ffb into main Dec 18, 2023
@mattt
mattt deleted the mattt/set-useragent branch December 18, 2023 17:23
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