Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

genai: do not fail with custom HTTP client #81

Merged
merged 1 commit into from
Apr 9, 2024
Merged

genai: do not fail with custom HTTP client #81

merged 1 commit into from
Apr 9, 2024

Conversation

jba
Copy link
Collaborator

@jba jba commented Apr 8, 2024

If there is no WithAPIKey option, we were returning an error.
But it's possible that the user provided an alternative HTTP
client that does auth, so don't return an error in that case.

Fixes #80.

If there is no WithAPIKey option, we were returning an error.
But it's possible that the user provided an alternative HTTP
client that does auth, so don't return an error in that case.

Fixes #80.
@jba jba requested a review from eliben April 8, 2024 22:52
@jba jba merged commit 78aace2 into main Apr 9, 2024
2 checks passed
@jba jba deleted the apikey branch April 9, 2024 10:40
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.

Issue with custom proxy client and required API key
2 participants