We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ac8c12 commit c5ae71fCopy full SHA for c5ae71f
1 file changed
src/google/adk/flows/llm_flows/contents.py
@@ -67,8 +67,11 @@ async def run_async(
67
# Preserve all contents that were added by instruction processor
68
# (since llm_request.contents will be completely reassigned below)
69
instruction_related_contents = llm_request.contents
70
+ run_config = invocation_context.run_config
71
include_thoughts_from_other_agents = (
- invocation_context.run_config.include_thoughts_from_other_agents
72
+ run_config.include_thoughts_from_other_agents
73
+ if run_config is not None
74
+ else False
75
)
76
77
if agent.include_contents == 'default':
0 commit comments