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
Hello @danielescaramuzzi and thank you for reporting this issue. I think this could be a good first issue for someone to contribute to Haystack. In case you or someone else wants to work on small fix just let us now and follow our contributing guide to open PR.
Otherwise we'll pick it up in one of our next sprints. We should also double check if other (Chat)Generators are affected by this use of max_retries.
Describe the bug
AzureOpenAIGenerator and AzureOpenAIChatGenerator init methods do:
it means that if
max_retries == 0
, thanself.max_retries = 5
(bacause max_retries evaluates to False ).To Reproduce
Output:
Expected behavior
Output of example should be:
The text was updated successfully, but these errors were encountered: