We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2c588c8 + d3e55b9 commit 213b161Copy full SHA for 213b161
2 files changed
main.py
@@ -419,6 +419,10 @@ async def on_handoff_hook(
419
420
taskflow = available_tools.taskflows.get(t)
421
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
+ )
426
raise ValueError(f"No such taskflow: {t}")
427
428
await render_model_output(f"** 🤖💪 Running Task Flow: {t}\n")
taskflows/examples/example_reusable_prompt.yaml
@@ -10,4 +10,4 @@ taskflow:
10
user_prompt: |
11
Tell me more about apples.
12
13
- {{ GitHubSecurityLab/seclab-taskflow-agent/prompts/examples/example_prompt.yaml }}
+ {{ PROMPTS_GitHubSecurityLab/seclab-taskflow-agent/prompts/examples/example_prompt }}
0 commit comments