🐛 fix(chat.py): fix variable name in if condition to improve code readability and maintain consistency
This commit is contained in:
parent
e63eb59116
commit
2a0e33f3f4
1 changed files with 1 additions and 1 deletions
|
|
@ -170,7 +170,7 @@ async def stream_build(
|
||||||
update_build_status(cache_service, flow_id, BuildStatus.FAILURE)
|
update_build_status(cache_service, flow_id, BuildStatus.FAILURE)
|
||||||
|
|
||||||
vertex_id = vertex.parent_node_id if vertex.parent_is_top_level else vertex.id
|
vertex_id = vertex.parent_node_id if vertex.parent_is_top_level else vertex.id
|
||||||
if vertex_id in graph.top_level_nodes:
|
if vertex_id in graph.top_level_vertices:
|
||||||
response = {
|
response = {
|
||||||
"valid": valid,
|
"valid": valid,
|
||||||
"params": params,
|
"params": params,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue