haystack/releasenotes/notes/add-chat-message-name-field-a8ae96fb9ff13f7b.yaml

7 lines
207 B
YAML
Raw Permalink Normal View History

---
fixes:
- |
In the `ChatMessage.to_openai_dict_format` utility method,
include the `name` field in the returned dictionary, if present.
Previously, the `name` field was erroneously skipped.