Skip to content

Commit

Permalink
fix: 🐛 Fix Bedrock Converse's join_two_dicts function when a new st…
Browse files Browse the repository at this point in the history
…ring kwarg is added (#14548)
  • Loading branch information
AndreCNF authored Jul 3, 2024
1 parent fb94a45 commit 1cf59b6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ def join_two_dicts(dict1: Dict[str, Any], dict2: Dict[str, Any]) -> Dict[str, An
for key, value in dict2.items():
if key not in new_dict:
new_dict[key] = value
if key in new_dict:
else:
if isinstance(value, dict):
new_dict[key] = join_two_dicts(new_dict[key], value)
else:
Expand Down

0 comments on commit 1cf59b6

Please sign in to comment.