Skip to content

Commit 52d86b0

Browse files
committed
goat cli hotfix
1 parent f3a1cb4 commit 52d86b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/connections/goat_connection.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ def _register_actions_with_wallet(self) -> None:
253253

254254
register_action(tool.name)(
255255
lambda agent, tool_name=tool.name, **kwargs: self.perform_action(
256-
tool_name, **kwargs
256+
tool_name, kwargs
257257
)
258258
)
259259

@@ -393,7 +393,7 @@ def configure(self, **kwargs) -> bool:
393393
logger.error(error_msg)
394394
raise GoatConfigurationError(error_msg)
395395

396-
def perform_action(self, action_name: str, **kwargs) -> Any:
396+
def perform_action(self, action_name: str, kwargs) -> Any:
397397
"""Execute a GOAT action using a plugin's tool"""
398398
action = self.actions.get(action_name)
399399
if not action:

0 commit comments

Comments
 (0)