fix: add chat_service to build_vertex method call so freeze works (#3175)
This commit is contained in:
parent
34fe3a8a6a
commit
e8f2e018e4
1 changed files with 3 additions and 3 deletions
|
|
@ -15,13 +15,13 @@ from starlette.types import Receive
|
||||||
|
|
||||||
from langflow.api.utils import (
|
from langflow.api.utils import (
|
||||||
build_and_cache_graph_from_data,
|
build_and_cache_graph_from_data,
|
||||||
|
build_graph_from_data,
|
||||||
build_graph_from_db,
|
build_graph_from_db,
|
||||||
|
build_graph_from_db_no_cache,
|
||||||
format_elapsed_time,
|
format_elapsed_time,
|
||||||
format_exception_message,
|
format_exception_message,
|
||||||
get_top_level_vertices,
|
get_top_level_vertices,
|
||||||
parse_exception,
|
parse_exception,
|
||||||
build_graph_from_db_no_cache,
|
|
||||||
build_graph_from_data,
|
|
||||||
)
|
)
|
||||||
from langflow.api.v1.schemas import (
|
from langflow.api.v1.schemas import (
|
||||||
FlowDataRequest,
|
FlowDataRequest,
|
||||||
|
|
@ -232,7 +232,7 @@ async def build_flow(
|
||||||
artifacts,
|
artifacts,
|
||||||
vertex,
|
vertex,
|
||||||
) = await graph.build_vertex(
|
) = await graph.build_vertex(
|
||||||
chat_service=None,
|
chat_service=chat_service,
|
||||||
vertex_id=vertex_id,
|
vertex_id=vertex_id,
|
||||||
user_id=current_user.id,
|
user_id=current_user.id,
|
||||||
inputs_dict=inputs.model_dump() if inputs else {},
|
inputs_dict=inputs.model_dump() if inputs else {},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue