mirror of
https://github.com/encounter/adk-python.git
synced 2026-07-09 18:19:28 -07:00
feat: Add is_computer_use field to agent information in adk-web server
PiperOrigin-RevId: 857218915
This commit is contained in:
committed by
Copybara-Service
parent
f92d4e397f
commit
5923da786e
@@ -201,6 +201,7 @@ def mock_agent_loader():
|
||||
"root_agent_name": "test_agent",
|
||||
"description": "A test agent for unit testing",
|
||||
"language": "python",
|
||||
"is_computer_use": False,
|
||||
}]
|
||||
|
||||
return MockAgentLoader(".")
|
||||
@@ -735,6 +736,8 @@ def test_list_apps_detailed(test_app):
|
||||
assert "description" in app
|
||||
assert "language" in app
|
||||
assert app["language"] in ["yaml", "python"]
|
||||
assert "isComputerUse" in app
|
||||
assert not app["isComputerUse"]
|
||||
|
||||
logger.info(f"Listed apps: {data}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user