File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -419,6 +419,10 @@ async def on_handoff_hook(
419419
420420 taskflow = available_tools .taskflows .get (t )
421421 if taskflow is None :
422+ taskflow_list = '\n ' .join (available_tools .taskflows .keys ())
423+ await render_model_output (
424+ f"** 🤖❗ Input Error: No such taskflow: { t } . Available taskflows are:\n { taskflow_list } "
425+ )
422426 raise ValueError (f"No such taskflow: { t } " )
423427
424428 await render_model_output (f"** 🤖💪 Running Task Flow: { t } \n " )
Original file line number Diff line number Diff line change @@ -10,4 +10,4 @@ taskflow:
1010 user_prompt : |
1111 Tell me more about apples.
1212
13- {{ GitHubSecurityLab /seclab-taskflow-agent/prompts/examples/example_prompt.yaml }}
13+ {{ PROMPTS_GitHubSecurityLab /seclab-taskflow-agent/prompts/examples/example_prompt }}
You can’t perform that action at this time.
0 commit comments