Files
DocsGPT/tests
Alex b32d27c912 fix(agents): cite the pages the graph tool read
The graph tool records every page read_entity_pages returns in
retrieved_docs, but agents only ever collected internal_search's. A turn
answered from graph pages therefore emitted no sources: on the multi-hop e2e
run, a question answered from two read_entity_pages calls came back with none.

_search_tool_docs gathers both tools' documents the way the executor caches
them, and both the classic/agentic collector and the research agent's
per-step citations use it. Checked against the real executor and a real
graph: a graph-only turn now cites the pages it read.
2026-09-19 14:33:14 +01:00
..
2026-09-14 14:12:21 +01:00
2026-09-12 19:35:22 +01:00
2026-03-12 14:46:26 +00:00
2026-04-18 13:13:57 +01:00
2026-01-22 13:11:24 +02:00