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
{{ message }}
Repository navigation
Preserve refusals in OpenAI Chat Generators #13255
Currently, both OpenAIChatGenerator and OpenAIResponsesChatGenerator do not preserve refusals from the API.
We should preserve this information in ChatMessage.
At the moment, this field is only handled in to_openai_dict_format/from_openai_dict_format (the latter is not used in Chat Generators). When we do the above work, we might also decide to simplify/remove support for this field from these conversion functions.
👋 Hello there! This issue will be handled internally and isn't open for external contributions. If you'd like to contribute, please take a look at issues labeled contributions welcome or good first issue. We'd really appreciate it!
Activity