Added web agent
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
from abc import ABC, abstractmethod
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from .working_memory import WorkingMemory
|
||||
from .command_result import CommandResult
|
||||
from .working_memory import WorkingMemory
|
||||
from .command_result import CommandResult
|
||||
|
||||
class Command(ABC):
|
||||
"""
|
||||
@@ -12,7 +11,7 @@ class Command(ABC):
|
||||
"""
|
||||
|
||||
@abstractmethod
|
||||
def execute(self, memory: 'WorkingMemory') -> 'CommandResult':
|
||||
def execute(self, memory: WorkingMemory) -> CommandResult:
|
||||
"""
|
||||
Execute the command on the given working memory.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user