mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-04-08 03:00:28 -04:00
fix(graph): formatting
This commit is contained in:
@@ -311,7 +311,7 @@ class GraphModel(Graph):
|
||||
f"Node {block.name} #{node.id}: Field {field_name} requires {', '.join(missing_deps)} to be set"
|
||||
)
|
||||
|
||||
# Check if field is required when dependencies are present
|
||||
# Check if field is required when dependencies are present
|
||||
has_all_deps = all(
|
||||
dep in node.input_default
|
||||
and node.input_default[dep]
|
||||
@@ -324,7 +324,6 @@ class GraphModel(Graph):
|
||||
f"Node {block.name} #{node.id}: {field_name} is required when {', '.join(dependencies)} are set"
|
||||
)
|
||||
|
||||
|
||||
node_map = {v.id: v for v in self.nodes}
|
||||
|
||||
def is_static_output_block(nid: str) -> bool:
|
||||
|
||||
Reference in New Issue
Block a user