Skip to content

Commit

Permalink
Fixed typo in registry.py (Significant-Gravitas#6127)
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeZeno authored Nov 6, 2023
1 parent e2809b5 commit 37a62de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autogpts/forge/forge/sdk/abilities/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def decorator(func):
func_param_names = set(func_params.keys())
if param_names != func_param_names:
raise ValueError(
f"Mismatch in parameter names. Ability Annotation includes {param_names}, but function acatually takes {func_param_names} in function {func.__name__} signature"
f"Mismatch in parameter names. Ability Annotation includes {param_names}, but function actually takes {func_param_names} in function {func.__name__} signature"
)
func.ability = Ability(
name=name,
Expand Down

0 comments on commit 37a62de

Please sign in to comment.