haystack/releasenotes/notes/add-timeout-and-max-retries-to-dict-openai-c9ad3661609ba339.yaml
Sebastian Husch Lee e6a53b9dca
fix: Add missing timeout and max_retries to OpenAITextEmbedder and OpenAIDocumentEmbedder (#9421)
* Add missing params to to_dict for OpenAI embedders

* add reno

* Track variable internally instead of using client
2025-05-22 09:19:14 +00:00

6 lines
252 B
YAML

---
fixes:
- |
Add the init parameters timeout and max_retries to the to_dict methods of OpenAITextEmbedder and OpenAIDocumentEmbedder.
This ensures that these values are properly serialized when using the to_dict method of these components.