mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-12-03 02:16:34 +00:00
* feat: Configure max_retries & timeout for AzureOpenAIChatGenerator max_retries: if not set is read from the OPENAI_MAX_RETRIES env variable or set to 5. timeout: if not set is read from the OPENAI_TIMEOUT env variable or set to 30. Signed-off-by: Nitanshu Vashistha <nitanshu.vzard@gmail.com> * Update haystack/components/generators/chat/azure.py * Update haystack/components/generators/chat/azure.py * Update max_retries-for-AzureOpenAIChatGenerator-9e49b4c7bec5c72b.yaml --------- Signed-off-by: Nitanshu Vashistha <nitanshu.vzard@gmail.com> Co-authored-by: David S. Batista <dsbatista@gmail.com>
5 lines
120 B
YAML
5 lines
120 B
YAML
---
|
|
enhancements:
|
|
- |
|
|
Add `max_retries` and `timeout` parameters to the AzureOpenAIChatGenerator initializations.
|