Prechádzať zdrojové kódy

Update base agent class

StrayWarrior 17 hodín pred
rodič
commit
7e7efd868b
1 zmenil súbory, kde vykonal 1 pridanie a 3 odobranie
  1. 1 3
      pqai_agent/agent.py

+ 1 - 3
pqai_agent/agent.py

@@ -7,13 +7,11 @@ class BaseAgent(ABC):
     r"""An abstract base class for all agents."""
 
     @abstractmethod
-    def run(self, user_input: str, **kwargs) -> Any:
+    def run(self, user_input: str) -> Any:
         """Run the agent with the given user input.
 
         Args:
             user_input (str): The input from the user.
-            **kwargs: Additional keyword arguments.
-
         Returns:
             Any: The output from the agent.
         """