We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5bee33c commit 0d63430Copy full SHA for 0d63430
1 file changed
tests/unittests/a2a/utils/test_agent_card_builder.py
@@ -403,6 +403,17 @@ def test_replace_pronouns_partial_matches(self):
403
# Assert
404
assert result == "youth, yourself, yourname" # No changes
405
406
+ def test_replace_pronouns_phrases(self):
407
+ """Test _replace_pronouns with phrases that should be replaced."""
408
+ # Arrange
409
+ text = "You are a helpful chatbot"
410
+
411
+ # Act
412
+ result = _replace_pronouns(text)
413
414
+ # Assert
415
+ assert result == "I am a helpful chatbot"
416
417
def test_get_default_description_llm_agent(self):
418
"""Test _get_default_description for LlmAgent."""
419
# Arrange
0 commit comments