Skip to content

Add User-Agent header to API requests#13

Closed
mikelambert wants to merge 1 commit intoAbdelStark:mainfrom
mikelambert:mike/user-agent
Closed

Add User-Agent header to API requests#13
mikelambert wants to merge 1 commit intoAbdelStark:mainfrom
mikelambert:mike/user-agent

Conversation

@mikelambert
Copy link
Copy Markdown

Sets the User-Agent header to anthropic-rs/{version} using the crate version from Cargo.toml via env!("CARGO_PKG_VERSION").

Sets the User-Agent header to `anthropic-rs/{version}` using
the crate version from Cargo.toml via `env!("CARGO_PKG_VERSION")`.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@AbdelStark
Copy link
Copy Markdown
Owner

@mikelambert sorry I missed this PR. can you please resolve conflicts ? I will merge when done. thanks mate.

@mikelambert
Copy link
Copy Markdown
Author

Looks like the user-agent change already made it in upstream, so just gonna close this one!

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