From 7704c2e302d1b09c59822a6ce952af0e68aca86d Mon Sep 17 00:00:00 2001 From: italojohnny Date: Thu, 20 Jun 2024 17:56:54 -0300 Subject: [PATCH] fix arg-type error reported by mypy --- src/backend/base/langflow/api/v1/chat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/base/langflow/api/v1/chat.py b/src/backend/base/langflow/api/v1/chat.py index 747668b9e..27e8191d6 100644 --- a/src/backend/base/langflow/api/v1/chat.py +++ b/src/backend/base/langflow/api/v1/chat.py @@ -111,7 +111,7 @@ async def retrieve_vertices_order( run_id = uuid.uuid4() graph.set_run_id(run_id) vertices_to_run = list(graph.vertices_to_run) + get_top_level_vertices(graph, graph.vertices_to_run) - await chat_service.set_cache(flow_id, graph) + await chat_service.set_cache(str(flow_id), graph) return VerticesOrderResponse(ids=first_layer, run_id=run_id, vertices_to_run=vertices_to_run) except Exception as exc: