mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-25 16:36:21 +02:00
fix: forward explain_triples through RAG clients and agent tool callback - RAG clients and the KnowledgeQueryImpl tool callback were dropping explain_triples from explain events, losing provenance data (including focus edge selections) when graph-rag is invoked via the agent. Tests for provenance and explainability (56 new): - Client-level forwarding of explain_triples - Graph-RAG structural chain (question → grounding → exploration → focus → synthesis) - Graph-RAG integration with mocked subsidiary clients - Document-RAG integration (question → grounding → exploration → synthesis) - Agent-orchestrator all 3 patterns: react, plan-then-execute, supervisor |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| conftest.py | ||
| test_agent_service_non_streaming.py | ||
| test_agent_step_arguments.py | ||
| test_aggregator.py | ||
| test_callback_message_id.py | ||
| test_completion_dispatch.py | ||
| test_conversation_state.py | ||
| test_explainability_parsing.py | ||
| test_mcp_tool_auth.py | ||
| test_meta_router.py | ||
| test_on_action_callback.py | ||
| test_orchestrator_provenance_integration.py | ||
| test_parse_chunk_message_id.py | ||
| test_pattern_base_subagent.py | ||
| test_provenance_triples.py | ||
| test_react_processor.py | ||
| test_reasoning_engine.py | ||
| test_tool_coordination.py | ||
| test_tool_filter.py | ||
| test_tool_service.py | ||
| test_tool_service_lifecycle.py | ||