-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Changed example to use the Global Instruction Plugin (#1244) - #2177
Changed example to use the Global Instruction Plugin (#1244) #2177JuanCaCoder wants to merge 1 commit into
Conversation
JuanCaCoder
commented
Aug 26, 2026
📝 Executive Summary
🗂️ PR Consolidation & Verification Mapping
🔍 Technical Verification Report
|
JuanCaCoder
commented
Aug 31, 2026
📝 Executive Summary
🗂️ PR Consolidation & Verification Mapping
🔍 Technical Verification Report
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't add either of these new imports here. revert
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't modify the example code this way. revert
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't add here. remove.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A. Don't add this "note" here, remove it.
B. revise this to be a tip (see revision below)
C. Add this as a tip in the following locations:
- just ahead of the Known Limitations heading in: https://adk.dev/graphs/#known-limitations
- just ahead of Operating Considerations* heading in: https://adk.dev/workflows/collaboration/#operating-considerations
- At the end of the template workflow pages (after code example):
- https://adk.dev/agents/workflow-agents/sequential-agents/
- https://adk.dev/agents/workflow-agents/loop-agents/
- https://adk.dev/agents/workflow-agents/parallel-agents/
!!! tip "Global instructions for all agents"
Apply consistent rules or identity across all agents in your workflow using `GlobalInstructionPlugin` registered on your `App` or `Runner` object. Do not use the `global_instruction` parameter on `Agent` which is deprecated since ADK Python v1.16.0.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
revert this change.
Placing this update here basically hides it. No one is going to look for it here. See the comment below about where to place a "tip"-only version of this information in a few places where it would be helpful.
Changed the code sample to use the GlobalInstructionPlugin.