Skip to content

Commit

Permalink
Add if command args
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-XT committed May 9, 2024
1 parent 444ae3c commit 8455c44
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion agixt/Interactions.py
Original file line number Diff line number Diff line change
Expand Up @@ -787,7 +787,8 @@ async def execution_agent(self, conversation_name):
)
except:
command_args = {}
command_args = command_args["command_args"]
if "command_args" in command_args:
command_args = command_args["command_args"]
logging.info(f"Command to execute: {command_name}")
logging.info(f"Command Args: {command_args}")
if command_name not in command_list:
Expand Down

0 comments on commit 8455c44

Please sign in to comment.