mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-18 14:34:23 +01:00
Add fields to disable the command if needed by configuration, blacked.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
from auto_gpt.commands import Command, command
|
||||
from autogpt.commands.command import command
|
||||
|
||||
|
||||
@command('function_based', 'Function-based test command')
|
||||
@command("function_based", "Function-based test command")
|
||||
def function_based(arg1: int, arg2: str) -> str:
|
||||
return f'{arg1} - {arg2}'
|
||||
return f"{arg1} - {arg2}"
|
||||
|
||||
Reference in New Issue
Block a user