We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70c8be7 commit c38b939Copy full SHA for c38b939
1 file changed
src/seclab_taskflow_agent/__main__.py
@@ -379,6 +379,11 @@ async def _run_streamed():
379
async_task=async_task,
380
task_id=task_id)
381
logging.error(f"Bad Request: {e}")
382
+ except APIStatusError as e:
383
+ await render_model_output(f"** 🤖❗ API Status Error: {e}\n",
384
+ async_task=async_task,
385
+ task_id=task_id)
386
+ logging.error(f"Bad Request: {e}")
387
388
if async_task:
389
await flush_async_output(task_id)
0 commit comments