aboutsummaryrefslogtreecommitdiff
path: root/autogpts/autogpt/autogpt/command_decorator.py
diff options
context:
space:
mode:
Diffstat (limited to 'autogpts/autogpt/autogpt/command_decorator.py')
-rw-r--r--autogpts/autogpt/autogpt/command_decorator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/autogpts/autogpt/autogpt/command_decorator.py b/autogpts/autogpt/autogpt/command_decorator.py
index 70a519a42..f53c1ad85 100644
--- a/autogpts/autogpt/autogpt/command_decorator.py
+++ b/autogpts/autogpt/autogpt/command_decorator.py
@@ -25,7 +25,7 @@ def command(
enabled: Literal[True] | Callable[[Config], bool] = True,
disabled_reason: Optional[str] = None,
aliases: list[str] = [],
- available: Literal[True] | Callable[[BaseAgent], bool] = True,
+ available: bool | Callable[[BaseAgent], bool] = True,
) -> Callable[[Callable[P, CO]], Callable[P, CO]]:
"""
The command decorator is used to create Command objects from ordinary functions.