deepset-ai / deepset-ai/haystack

OpenAIResponsesChatGenerator discards annotations

Open
#12,682 1 comment 0 reactions 1 assignee View on GitHub

@julian-risch is already working on this.

Since Sep 16, 2026.

P1
Dominant language
Python
Stars
26.6k
Forks
3.2k
Avg merge
1d 3h
Merged PRs (30d)
194

Description

The Responses API can return annotations, such as URL and file citations, on text output items. Docs

OpenAIResponsesChatGenerator currently discards these annotations when converting the response into a ChatMessage.

We might add this information to ChatMessage.meta.


👋 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!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.