feat: Add is_computer_use field to agent information in adk-web server

PiperOrigin-RevId: 857218915
This commit is contained in:
Peter Kaplan
2026-01-16 10:41:47 -08:00
committed by Copybara-Service
parent f92d4e397f
commit 5923da786e
4 changed files with 76 additions and 1 deletions
+3
View File
@@ -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}")