chore: Removes LlmAgent.examples field, which was already abandoned before 0.1 version

For context: tools/example_tool.py was created to replace LlmAgent.example

Also removes relevant usage in tests.

PiperOrigin-RevId: 768193042
This commit is contained in:
Wei Sun (Jack)
2025-06-06 13:17:10 -07:00
committed by Copybara-Service
parent 309a656f49
commit a09781142a
4 changed files with 0 additions and 323 deletions
-5
View File
@@ -204,11 +204,6 @@ class LlmAgent(BaseAgent):
"""
# Advance features - End
# TODO: remove below fields after migration. - Start
# These fields are added back for easier migration.
examples: Optional[ExamplesUnion] = None
# TODO: remove above fields after migration. - End
# Callbacks - Start
before_model_callback: Optional[BeforeModelCallback] = None
"""Callback or list of callbacks to be called before calling the LLM.