chore: Add the name of the agent as a billing label. This will help consumers slice their billing reports by Agent.

Fixes https://github.com/google/adk-python/issues/452

PiperOrigin-RevId: 765402643
This commit is contained in:
Ankur Sharma
2025-05-30 17:53:44 -07:00
committed by Copybara-Service
parent 63822c3fa8
commit e06e6753ad
2 changed files with 14 additions and 0 deletions

View File

@@ -44,3 +44,4 @@ def test_output_schema():
assert len(mockModel.requests) == 1
assert mockModel.requests[0].config.response_schema == CustomOutput
assert mockModel.requests[0].config.response_mime_type == 'application/json'
assert mockModel.requests[0].config.labels == {'adk_agent_name': 'root_agent'}