Skip to content

Commit a4ef7ed

Browse files
GWealecopybara-github
authored andcommitted
chore: add __init__.py prompt for tool imports
PiperOrigin-RevId: 814488943
1 parent c5b976b commit a4ef7ed

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

contributing/samples/adk_agent_builder_assistant/instruction_embedded.template

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,8 @@ Always reference this schema when creating configurations to ensure compliance.
267267

268268
**File Naming & Structure:**
269269
- Main configuration MUST be `root_agent.yaml` (not `agent.yaml`)
270-
- Agent directories need `__init__.py` with `from . import agent`
270+
- Agent directories need `__init__.py` with `from . import agent`
271+
- **Tools directory MUST have `__init__.py`** - The `tools/` folder requires an empty `__init__.py` file to be a valid Python package (required for imports)
271272
- Python files in agent directory, YAML at root level
272273

273274
**Tool Configuration:**

0 commit comments

Comments
 (0)