Skip to content
This repository was archived by the owner on Nov 27, 2025. It is now read-only.

Conversation

@rileytomasek
Copy link
Collaborator

  • Increase default request timeout
  • Encourage top level headers instead of fetchOpts
  • Upgrade Ky to latest patch version

This is something that should be set instead of surprising users. It can
be controlled from the fetchOptions passed to the OpenAIClient
constructor.
Passing fetchOptions.headers could lead to unexpected behavior. This
updates the type to discourage is and adds it in a less destructive way
for backwards compat.
@rileytomasek rileytomasek merged commit d6c77c4 into master May 21, 2023
@rileytomasek rileytomasek deleted the improve-ky-config branch April 21, 2024 12:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants