feat:Add tool_responses to IntermediateData

PiperOrigin-RevId: 800600571
This commit is contained in:
Jinning Li
2025-08-28 13:54:25 -07:00
committed by Copybara-Service
parent 8e43f0dd83
commit f4a8df0ba2
+3
View File
@@ -37,6 +37,9 @@ class IntermediateData(EvalBaseModel):
tool_uses: list[genai_types.FunctionCall] = []
"""Tool use trajectory in chronological order."""
tool_responses: list[genai_types.FunctionResponse] = []
"""Tool response trajectory in chronological order."""
intermediate_responses: list[tuple[str, list[genai_types.Part]]] = []
"""Intermediate responses generated by sub-agents to convey progress or status
in a multi-agent system, distinct from the final response.