fix: Update agent_card_builder to follow grammar rules

Merge https://github.com/google/adk-python/pull/2226

Fixes #2223

COPYBARA_INTEGRATE_REVIEW=https://github.com/google/adk-python/pull/2226 from holtskinner:a2a-fixes ff556224e4071a8287a9ced19f645f0edd9916ef
PiperOrigin-RevId: 788512608
This commit is contained in:
Holt Skinner
2025-07-29 10:32:32 -07:00
committed by Copybara-Service
parent 5eff66a132
commit 9c0721beaa
2 changed files with 33 additions and 4 deletions
@@ -403,6 +403,17 @@ class TestHelperFunctions:
# Assert
assert result == "youth, yourself, yourname" # No changes
def test_replace_pronouns_phrases(self):
"""Test _replace_pronouns with phrases that should be replaced."""
# Arrange
text = "You are a helpful chatbot"
# Act
result = _replace_pronouns(text)
# Assert
assert result == "I am a helpful chatbot"
def test_get_default_description_llm_agent(self):
"""Test _get_default_description for LlmAgent."""
# Arrange