Skip to content

Document and fix behavior of custom client instances - #318

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

mattt merged 4 commits into
mainfrom
mattt/customize-client

Conversation

@mattt

@mattt mattt commented Jun 28, 2024

Copy link
Copy Markdown

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 Zmuda 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