ChatFireworks doesn't retry on API errors (max_retries parameter is fake) #29843
Labels
🤖:bug
Related to a bug, vulnerability, unexpected error with an existing feature
investigate
Flagged for investigation.
Checked other resources
Example Code
nothing custom, just copy/paste example from ChatFireworks documentation (notice specified parameter
max_retries
):Error Message and Stack Trace (if applicable)
httpx.ReadError
:httpx.ConnectError
:BadGatewayError
:RateLimitError
:Description
what I expect:
what I see:
BadGatewayError
httpx.ConnectError
httpx.ReadError
RateLimitError
ChatFireworks documentation specify parameter
max_retries
, example from documentation:Class ChatFireworks has this parameter, but it's not used, to be specific it:
Fireworks(BaseFireworks)
AsyncFireworks(BaseFireworks)
FireworksClient
ImageInference(FireworksClient)
FireworksClient
don't have/receive this parameter, but it also doesn't have any retry specific logicInterim solution for those who experience issues with Fireworks models: add your own retry logic, for example as wrapper around model calls
System Info
The text was updated successfully, but these errors were encountered: