Skip to content

Commit

Permalink
fix: add user_id to component parameters to fix build (#4016)
Browse files Browse the repository at this point in the history
  • Loading branch information
italojohnny authored Oct 3, 2024
1 parent b6546e4 commit 0298596
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/base/langflow/api/v1/chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ async def build_graph_and_get_order() -> tuple[list[str], list[str], Graph]:
if not data:
graph = await build_graph_from_db_no_cache(flow_id=flow_id_str, session=session)
else:
graph = await build_graph_from_data(flow_id_str, data.model_dump())
graph = await build_graph_from_data(flow_id_str, data.model_dump(), user_id=str(current_user.id))
graph.validate_stream()
if stop_component_id or start_component_id:
try:
Expand Down

0 comments on commit 0298596

Please sign in to comment.