Skip to content

Commit

Permalink
hot fix (#185)
Browse files Browse the repository at this point in the history
  • Loading branch information
rayrayraykk authored Apr 28, 2024
1 parent f2c51cc commit 21e16db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/agentscope/web/workstation/workflow_dag.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ def sanitize_node_data(raw_info: dict) -> dict:
),
)
for key, value in copied_info["data"].get("args", {}).items():
if not value:
if value == "":
raw_info["data"]["args"].pop(key)
raw_info["data"]["source"].pop(key)
elif is_callable_expression(value):
Expand Down

0 comments on commit 21e16db

Please sign in to comment.