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

Setting the timeout on requests to ChatCompletionService #2

Open
robertstewartnz opened this issue Oct 10, 2023 · 2 comments
Open

Setting the timeout on requests to ChatCompletionService #2

robertstewartnz opened this issue Oct 10, 2023 · 2 comments

Comments

@robertstewartnz
Copy link

Is there an easy way to change the timeout.

I've been hitting a timeout issue in my response from the ChatCompletionService. The max appears to be 100seconds.

@JZO001
Copy link
Owner

JZO001 commented Oct 10, 2023

Where is the timeout comes? From the HttpClient or from the OpenAI service?
If your would like to configure HttpClient Timeout value, the quickest way right now, if you extend the ApiHttpClientFactory and replace the service registration in the DI container.

@robertstewartnz
Copy link
Author

robertstewartnz commented Oct 10, 2023 via email

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

No branches or pull requests

2 participants