We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9848f00 commit d3e55b9Copy full SHA for d3e55b9
main.py
@@ -414,7 +414,10 @@ async def on_handoff_hook(
414
415
taskflow = available_tools.taskflows.get(t)
416
if taskflow is None:
417
- await render_model_output(f"** 🤖❗ Input Error: No such taskflow: {t}. Available taskflows are: {'\n' + '\n'.join(available_tools.taskflows.keys())}")
+ taskflow_list = '\n'.join(available_tools.taskflows.keys())
418
+ await render_model_output(
419
+ f"** 🤖❗ Input Error: No such taskflow: {t}. Available taskflows are:\n{taskflow_list}"
420
+ )
421
raise ValueError(f"No such taskflow: {t}")
422
423
await render_model_output(f"** 🤖💪 Running Task Flow: {t}\n")
0 commit comments