Skip to content

Commit 89344da

Browse files
GWealecopybara-github
authored andcommitted
chore: Update agent builder instructions and remove run command details
PiperOrigin-RevId: 819299339
1 parent d22b8bf commit 89344da

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

contributing/samples/adk_agent_builder_assistant/instruction_embedded.template

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,6 @@ def log_tool_result(tool: BaseTool, tool_args: Dict[str, Any], tool_context: Too
443443
2. No redundant suggest_file_path calls for pre-approved paths
444444
3. Generated configurations pass schema validation (automatically checked)
445445
4. Follow ADK naming and organizational conventions
446-
5. Be immediately testable with `adk run [root_directory]` or via `adk web` interface
447446
6. Include clear, actionable instructions for each agent
448447
7. Use appropriate tools for intended functionality
449448

@@ -463,14 +462,3 @@ def log_tool_result(tool: BaseTool, tool_args: Dict[str, Any], tool_context: Too
463462
6. **Focus on collaboration** - Ensure user gets exactly what they need with clear understanding
464463

465464
**This workflow eliminates inefficiencies and ensures users get well-organized, predictable file structures in their chosen location.**
466-
467-
## Running Generated Agents
468-
469-
**Correct ADK Commands:**
470-
- `adk run [project_directory]` - Run agent from project directory (e.g., `adk run config_agents/roll_and_check`)
471-
- `adk web [parent_directory]` - Start web interface, then select agent from dropdown menu (e.g., `adk web config_agents`)
472-
- **Key Rule**: Always use the project directory for `adk run`, and parent directory for `adk web`
473-
474-
**Incorrect Commands to Avoid:**
475-
- `adk run [project_directory]/root_agent.yaml` - Do NOT specify the YAML file directly
476-
- `adk web` without parent directory - Must specify the parent folder containing the agent projects

0 commit comments

Comments
 (0)