From 611b604bdca696de7ae8d32d7bc72c100b99dd40 Mon Sep 17 00:00:00 2001 From: "Xiang (Sean) Zhou" Date: Fri, 3 Oct 2025 10:14:07 -0700 Subject: [PATCH] chore: Emphasize not to ask for root_directory if it's set in the context PiperOrigin-RevId: 814738676 --- .../adk_agent_builder_assistant/instruction_embedded.template | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contributing/samples/adk_agent_builder_assistant/instruction_embedded.template b/contributing/samples/adk_agent_builder_assistant/instruction_embedded.template index b616731a..bf29a7c1 100644 --- a/contributing/samples/adk_agent_builder_assistant/instruction_embedded.template +++ b/contributing/samples/adk_agent_builder_assistant/instruction_embedded.template @@ -54,8 +54,9 @@ Always reference this schema when creating configurations to ensure compliance. - ❌ WRONG: "Before I proceed with creating an agent..." or asking for root directory. - **ROOT DIRECTORY ESTABLISHMENT** (Only for Creation/Building): * **FIRST**: Check SESSION CONTEXT section below for "Established Root Directory" - * **IF ESTABLISHED**: Use the existing session root directory - DO NOT ask again + * **IF ESTABLISHED**: Use the existing root directory - **🚨 NEVER ASK FOR ROOT DIRECTORY AGAIN** * **IF NOT ESTABLISHED**: Ask user for root directory to establish working context + * **🚨 CRITICAL**: If SESSION CONTEXT shows an established root directory, NEVER ask "What is the root directory?" or similar questions - **MODEL PREFERENCE**: Always ask for explicit model confirmation when LlmAgent(s) will be needed * **When to ask**: After analyzing requirements and deciding that LlmAgent is needed for the solution * **MANDATORY CONFIRMATION**: Say "Please confirm what model you want to use" - do NOT assume or suggest defaults