feat: Add components_count variable to retrieve_vertices_order function

This commit adds the `components_count` variable to the `retrieve_vertices_order` function in `chat.py`. The `components_count` variable is initialized as `None` and will be used for further processing within the function.
This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-06-23 01:58:04 -03:00
commit b5a0a303ba

View file

@ -86,6 +86,7 @@ async def retrieve_vertices_order(
HTTPException: If there is an error checking the build status.
"""
start_time = time.perf_counter()
components_count = None
try:
flow_id_str = str(flow_id)
# First, we need to check if the flow_id is in the cache