refactor: update dict to model_dump

This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-06-23 22:34:28 -03:00
commit 61c34915a9
2 changed files with 5 additions and 6 deletions

View file

@ -180,7 +180,6 @@ async def simplified_run_flow(
stream=stream,
api_key_user=api_key_user,
)
except ValueError as exc:
if "badly formed hexadecimal UUID string" in str(exc):
# This means the Flow ID is not a valid UUID which means it can't find the flow