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
With the addition of retries in 3.18.0, the exception message instead of containing valid errors like "Auth exception" for an invalid API key, throws errors like "Request failed after 1 attempt". And when I rethrow it using OpenAIExceptionConverter.rethrow(e), it does not provide a valid OpenAIException.
With the addition of retries in 3.18.0, the exception message instead of containing valid errors like "Auth exception" for an invalid API key, throws errors like "Request failed after 1 attempt". And when I rethrow it using
OpenAIExceptionConverter.rethrow(e)
, it does not provide a valid OpenAIException.SimpleOpenAIAzure simpleAzureOpenAI = SimpleOpenAIAzure.builder()
.apiKey(azureOpenAIKey)
.baseUrl(fullEndpoint)
.apiVersion(apiVersion)
.build();
I am not even using retries explicitly.
There should be some way to either bypass retries, or get the relevant exception message.
This works fine for 3.17.2
Please let me know if this needs more information, I am new to this.
The text was updated successfully, but these errors were encountered: