You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Still return “context deadline exceeded (Client.Timeout or context cancellation while reading body)”
codes: httpClient := &http.Client{ Timeout: time.Duration(600 * time.Second), } client := gpt3.NewClient(apiKey, gpt3.WithHTTPClient(httpClient))
I used streaming call(client.CompletionStreamWithEngine), but the problem was not solved
Recently I started having this problem too, even if on curl request the request is working properly (ie is not an outage from openAI). Do you guys have any clue?
hello
The code reported an error:
“context deadline exceeded (Client.Timeout or context cancellation while reading body)”
The text was updated successfully, but these errors were encountered: