You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Running eval through pytest is not saving evalset_result.json file #2602
** Please make sure you read the contribution guide and file the issues in the right place. ** Contribution guide.
Describe the bug
When I run the evals either through adk web or adk eval command, I see the evalset_result.json file getting stored under .adk/eval_history folder under the agent folder. But which I run the eval through pytest, the result.json is not getting stored
To Reproduce
Steps to reproduce the behavior:
Install '...'
Run '....'
Open '....'
See error
Expected behavior
A clear and concise description of what you expected to happen.
The evalset_result.json should get stored just like what happens when we run the evals through adk web or through adk eval command
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OS: Windows
Python version(python -V): 3.12.10
ADK version(pip show google-adk): 1.11.0
Model Information:
For example, which model is being used.
gemini-2.5-pro
Additional context
Add any other context about the problem here.
@CloudIQTechnologies Thanks for the update. The request is currently being reviewed, and I will let you know if anything further is needed. Thank you for your understanding.
This issue has been resolved in newer versions of the library (PR #4414 introduced LocalEvalSetResultsManager to persist results when running via pytest).
@DeanChensj Thanks for the update. I may be missing something, but PR #4414 still appears to be open and not merged yet.
Since #4414 is the PR that adds LocalEvalSetResultsManager support to AgentEvaluator for pytest-based eval result persistence, I don’t think the fix is available on main yet. I also don’t see the new eval_set_results_manager argument or the related persistence logic in AgentEvaluator on the current main branch.
Could you clarify why this issue was closed before #4414 was merged or otherwise released?
Activity
hangfei commentedon Nov 4, 2025
This is not supported. This will be a a feature request.
sivakumar-d3v commentedon Nov 24, 2025
Noted this issue; commenting to receive updates when it’s fixed
ftnext commentedon Jan 14, 2026
implementation example
#2652 (comment)
klateefa commentedon Feb 11, 2026
@CloudIQTechnologies Thanks for the update. The request is currently being reviewed, and I will let you know if anything further is needed. Thank you for your understanding.
ftnext commentedon Feb 11, 2026
#4414 resolves this issue like:
DeanChensj commentedon Jun 24, 2026
This issue has been resolved in newer versions of the library (PR #4414 introduced LocalEvalSetResultsManager to persist results when running via pytest).
ftnext commentedon Jun 24, 2026
@DeanChensj Thanks for the update. I may be missing something, but PR #4414 still appears to be open and not merged yet.
Since #4414 is the PR that adds
LocalEvalSetResultsManagersupport toAgentEvaluatorfor pytest-based eval result persistence, I don’t think the fix is available onmainyet. I also don’t see the neweval_set_results_managerargument or the related persistence logic inAgentEvaluatoron the currentmainbranch.Could you clarify why this issue was closed before #4414 was merged or otherwise released?
DeanChensj commentedon Jun 25, 2026
Thanks @ftnext for the context, reopening.
feat(evaluation): add optional eval set result persistence to AgentEv…
feat(evaluation): add optional eval set result persistence to AgentEv…