Skip to content

Commit fa110c2

Browse files
seanzhougooglecopybara-github
authored andcommitted
chore: refine doc string of global_instruction
PiperOrigin-RevId: 769650108
1 parent 0882000 commit fa110c2

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/google/adk/agents/llm_agent.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ class LlmAgent(BaseAgent):
129129
global_instruction: Union[str, InstructionProvider] = ''
130130
"""Instructions for all the agents in the entire agent tree.
131131
132-
global_instruction ONLY takes effect in root agent.
132+
ONLY the global_instruction in root agent will take effect.
133133
134134
For example: use global_instruction to make all agents have a stable identity
135135
or personality.
@@ -204,6 +204,11 @@ class LlmAgent(BaseAgent):
204204
"""
205205
# Advance features - End
206206

207+
# TODO: remove below fields after migration. - Start
208+
# These fields are added back for easier migration.
209+
examples: Optional[ExamplesUnion] = None
210+
# TODO: remove above fields after migration. - End
211+
207212
# Callbacks - Start
208213
before_model_callback: Optional[BeforeModelCallback] = None
209214
"""Callback or list of callbacks to be called before calling the LLM.

0 commit comments

Comments
 (0)