Skip to content

Commit f4a8df0

Browse files
jinning-licopybara-github
authored andcommitted
feat:Add tool_responses to IntermediateData
PiperOrigin-RevId: 800600571
1 parent 8e43f0d commit f4a8df0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/google/adk/evaluation/eval_case.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ class IntermediateData(EvalBaseModel):
3737
tool_uses: list[genai_types.FunctionCall] = []
3838
"""Tool use trajectory in chronological order."""
3939

40+
tool_responses: list[genai_types.FunctionResponse] = []
41+
"""Tool response trajectory in chronological order."""
42+
4043
intermediate_responses: list[tuple[str, list[genai_types.Part]]] = []
4144
"""Intermediate responses generated by sub-agents to convey progress or status
4245
in a multi-agent system, distinct from the final response.

0 commit comments

Comments
 (0)