Skip to content

Commit 1856e83

Browse files
committed
style: format lambda handler for better readability in llm_agent.py
refactor: remove unnecessary blank line in test_enterprise_search_agent_tool.py
1 parent e41ea88 commit 1856e83

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

src/google/adk/agents/llm_agent.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,9 @@ async def _convert_tool_union_to_tools(
161161
# EnterpriseWebSearchTool: wrap with AgentTool
162162
{
163163
'tool_class': EnterpriseWebSearchTool,
164-
'handler': lambda: _handle_enterprise_search_tool(tool_union, model),
164+
'handler': lambda: _handle_enterprise_search_tool(
165+
tool_union, model
166+
),
165167
},
166168
]
167169

tests/unittests/tools/test_enterprise_search_agent_tool.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,4 +138,3 @@ async def test_grounding_metadata_is_not_stored_in_state_after_invocation():
138138

139139
# Verify grounding_metadata is not stored in the root_agent's state
140140
assert 'temp:_adk_grounding_metadata' not in runner.session.state
141-

0 commit comments

Comments
 (0)