File tree Expand file tree Collapse file tree 4 files changed +21
-0
lines changed Expand file tree Collapse file tree 4 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -184,6 +184,16 @@ def validate_agent_name(text: str) -> bool | str:
184184 ).ask ()
185185 if not description :
186186 return
187+
188+ agent_input_type = questionary .select (
189+ "What type of input will your agent handle?" ,
190+ choices = [
191+ {"name" : "Text Input" , "value" : "text" },
192+ {"name" : "Structured Input" , "value" : "json" },
193+ ],
194+ ).ask ()
195+ if not agent_input_type :
196+ return
187197
188198 use_uv = questionary .select (
189199 "Would you like to use uv for package management?" ,
@@ -196,10 +206,12 @@ def validate_agent_name(text: str) -> bool | str:
196206 answers = {
197207 "template_type" : template_type ,
198208 "project_path" : project_path ,
209+ "agent_input_type" : agent_input_type ,
199210 "agent_name" : agent_name ,
200211 "agent_directory_name" : agent_directory_name ,
201212 "description" : description ,
202213 "use_uv" : use_uv ,
214+
203215 }
204216
205217 # Derive all names from agent_directory_name and path
Original file line number Diff line number Diff line change 6767 # Helps with documentation and discovery
6868 description: {{ description }}
6969
70+ # Type of input the agent will handle: text or json
71+ agent_input_type: {{ agent_input_type }}
72+
7073 # Temporal workflow configuration
7174 # Set enabled: true to use Temporal workflows for long-running tasks
7275 temporal:
Original file line number Diff line number Diff line change 6666 # Helps with documentation and discovery
6767 description: {{ description }}
6868
69+ # Type of input the agent will handle: text or json
70+ agent_input_type: {{ agent_input_type }}
71+
6972 # Temporal workflow configuration
7073 # Set enabled: true to use Temporal workflows for long-running tasks
7174 temporal:
Original file line number Diff line number Diff line change 7575 # Helps with documentation and discovery
7676 description: {{ description }}
7777
78+ # Type of input the agent will handle: text or json
79+ agent_input_type: {{ agent_input_type }}
80+
7881 # Temporal workflow configuration
7982 # This enables your agent to run as a Temporal workflow for long-running tasks
8083 temporal:
You can’t perform that action at this time.
0 commit comments