Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Add OpenAiService constructor that takes timeout parameter #17

Merged
merged 1 commit into from
Jun 29, 2022

Conversation

TheoKanning
Copy link
Owner

If certain engines are timing out regularly, then OpenAiService needs a timeout parameter.
I also added a constructor that takes an OpenAiApi, and this will allow users to customize their api settings much more easily.

If we need more parameters later, I might add a builder for OpenAiService.

Based on feedback in #5

If certain engines are timing out regularly, then OpenAiService needs a timeout parameter.
I also added a constructor that takes an OpenAiApi, and this will allow users to customize their api settings much more easily.

If we need more parameters later, I might add a builder for OpenAiService.

Based on feedback in #5
@TheoKanning TheoKanning merged commit 4d5878d into main Jun 29, 2022
@TheoKanning TheoKanning deleted the timeout branch June 29, 2022 16:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant