Forge.OpenAI
Forge.OpenAI copied to clipboard
Setting the timeout on requests to ChatCompletionService
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.
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.
Thanks.
Get Outlook for Androidhttps://aka.ms/AAb9ysg
From: Zoltan Juhasz @.> Sent: Tuesday, October 10, 2023 8:49:59 PM To: JZO001/Forge.OpenAI @.> Cc: Robert Stewart @.>; Author @.> Subject: Re: [JZO001/Forge.OpenAI] Setting the timeout on requests to ChatCompletionService (Issue #2)
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.
— Reply to this email directly, view it on GitHubhttps://github.com/JZO001/Forge.OpenAI/issues/2#issuecomment-1754608597, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXN6OCPCBMDPUFH5WU5OFX3X6T42PAVCNFSM6AAAAAA5ZUGLYOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJUGYYDQNJZG4. You are receiving this because you authored the thread.Message ID: @.***>