Skip to content

Commit

Permalink
Update autogpt_platform/backend/backend/data/graph.py
Browse files Browse the repository at this point in the history
Co-authored-by: Reinier van der Leer <pwuts@agpt.co>
  • Loading branch information
aarushik93 and Pwuts authored Oct 8, 2024
1 parent af354fa commit 879f131
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autogpt_platform/backend/backend/data/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ def _process_node(node: AgentNode, hide_secrets: bool) -> Node:

@staticmethod
def _hide_secrets_in_input(input_data: Dict[str, Any]):
sensitive_keys = ["api_key", "password", "token", "secret"]
sensitive_keys = ["credentials", "api_key", "password", "token", "secret"]
for key, value in input_data.items():
if isinstance(value, dict):
Graph._hide_secrets_in_input(value)
Expand Down

0 comments on commit 879f131

Please sign in to comment.