Skip to content

Commit 60083cf

Browse files
vertex-sdk-botcopybara-github
authored andcommitted
chore: pre-emptive v2-compatible test/code fixes for ADK migration
PiperOrigin-RevId: 910099643
1 parent d5e71ff commit 60083cf

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

tests/unit/vertex_adk/test_agent_engine_templates_adk.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def __init__(self, name: str, model: str):
6363
_TEST_AGENT = Agent(name=_TEST_AGENT_NAME, model=_TEST_MODEL)
6464
_TEST_SESSION = {
6565
"id": "ca18c25a-644b-4e13-9b24-78c150ec3eb9",
66-
"app_name": "default-app-name",
66+
"app_name": "default_app_name",
6767
"user_id": _TEST_USER_ID,
6868
"events": [
6969
{

vertexai/agent_engines/templates/adk.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
SynchronousMultiSpanProcessor = Any
9494

9595

96-
_DEFAULT_APP_NAME = "default-app-name"
96+
_DEFAULT_APP_NAME = "default_app_name"
9797
_DEFAULT_USER_ID = "default-user-id"
9898
_TELEMETRY_API_DISABLED_WARNING = (
9999
"Tracing integration for Agent Engine has migrated to a new API.\n"

0 commit comments

Comments
 (0)