Spaces:
Running
Running
Update agent.py
Browse files
agent.py
CHANGED
|
@@ -126,8 +126,8 @@ class Agent:
|
|
| 126 |
self._history = []
|
| 127 |
|
| 128 |
def chat(self, user_input: str) -> str:
|
| 129 |
-
|
| 130 |
-
|
| 131 |
|
| 132 |
def available_strategies(self) -> List[str]:
|
| 133 |
"""Return a list of available strategy names."""
|
|
|
|
| 126 |
self._history = []
|
| 127 |
|
| 128 |
def chat(self, user_input: str) -> str:
|
| 129 |
+
"""Process user input and return the assistant's response."""
|
| 130 |
+
return self.execute(user_input)
|
| 131 |
|
| 132 |
def available_strategies(self) -> List[str]:
|
| 133 |
"""Return a list of available strategy names."""
|