Improve HTML report rendering, tool call display, and fix empty schemas (#48, #49, #50)#51
Merged
Merged
Conversation
- Render Judge LLM reasoning and Synthetic User messages as Markdown using the existing marked.js library (same as agent under test output) - Categorize tool calls into Required, Optional, and Unexpected sections - Show missing required tools with clear visual indicators - Add optional_tools to judgment results for proper categorization - Style improvements for tool category sections with pass/fail states
Extract MCP tool schemas from the server config instead of only from the agent. SimpleLLMAgent.get_available_tools() returns an empty list, which caused reports generated via MCP server to show empty schemas. - Add _extract_tool_schemas helper that tries mcp_server config first - Fall back to agent.get_available_tools() for ADK agents without mcp_server config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
run_scenarioreturning empty tool schemasChanges
Markdown Rendering (#48)
<p>tags to<div class="markdown-content">for proper markdown renderingTool Call Categorization (#49)
_build_tool_calls_htmlto categorize tools by:optional_toolsto the judgment result'stool_usage_dictso the report has access to itMCP Server Tool Schema Fix (#50)
_extract_tool_schemashelper function that:mcp_serverconfig (most reliable)agent.get_available_tools()for ADK agents without mcp_server config{}schemasTest plan
Closes #48
Closes #49
Closes #50