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
Despite the comment which says the result may be status=processing and being in a retry loop, the code never checks for processing and assumes the first response is successful. Which results in the transform_response method raising an exception.
The code for completions should retry the request when the response has status=processing.
PR to follow.
The text was updated successfully, but these errors were encountered:
We use the DEFAULT_REPLICATE_ constants for retry count and initial
delay. If the completion response returns status=processing, we
loop to retry.
FixesBerriAI#7900
Signed-off-by: BJ Hargrave <[email protected]>
Despite the comment which says the result may be status=processing and being in a retry loop, the code never checks for processing and assumes the first response is successful. Which results in the transform_response method raising an exception.
The code for completions should retry the request when the response has status=processing.
PR to follow.
The text was updated successfully, but these errors were encountered: