mirror of
https://github.com/encounter/adk-python.git
synced 2026-07-09 18:19:28 -07:00
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:
committed by
Copybara-Service
parent
5eff66a132
commit
9c0721beaa
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user