Skip to content

Document and fix behavior of custom client instances#318

Merged
mattt merged 4 commits intomainfrom
mattt/customize-client
Jun 28, 2024
Merged

Document and fix behavior of custom client instances#318
mattt merged 4 commits intomainfrom
mattt/customize-client

Conversation

@mattt
Copy link
Contributor

@mattt mattt commented Jun 28, 2024

In #268, we allowed custom headers to be passed to client instances. However, that didn't apply any custom User-Agent header. This is now fixed.

This PR also updates the README to document how to create a custom client instance, incorporating this new behavior. This PR is an alternative to #304.

mattt added 3 commits June 28, 2024 05:31
Signed-off-by: Mattt Zmuda <mattt@replicate.com>
Signed-off-by: Mattt Zmuda <mattt@replicate.com>
Signed-off-by: Mattt Zmuda <mattt@replicate.com>
Signed-off-by: Mattt Zmuda <mattt@replicate.com>
@mattt mattt merged commit f30dc0d into main Jun 28, 2024
@mattt mattt deleted the mattt/customize-client branch June 28, 2024 12:50
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