haystack/releasenotes/notes/do-not-pass-tools-to-openai-if-none-1fe09e924e7fad7a.yaml
Stefano Fiorucci 741ce5df50
fix: OpenAIChatGenerator - do not pass tools to the OpenAI client when none are provided (#8702)
* do not pass tools to OpenAI client if None

* release note

* fix release note
2025-01-10 14:46:41 +01:00

7 lines
242 B
YAML

---
fixes:
- |
OpenAIChatGenerator no longer passes tools to the OpenAI client if none are provided.
Previously, a null value was passed.
This change improves compatibility with OpenAI-compatible APIs that do not support tools.