Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ask the user if they want to execute the suggested chain of commands. #1183

Closed
github-actions bot opened this issue May 9, 2024 · 1 comment
Closed
Labels

Comments

@github-actions
Copy link

github-actions bot commented May 9, 2024

# TODO: Ask the user if they want to execute the suggested chain of commands.

                                            command_args=command_args,
                                        )
                                    )
                                    # TODO: Ask the user if they want to execute the suggested chain of commands.
                                    command_output = f"{command_output}\n\n**Would you like to execute the command `{command_name}` with the following parameters?**\n```json\n{json.dumps(command_args, indent=4)}\n```"
                                    # Ask the AI to make the command output more readable and relevant to the conversation and respond with that.
                            except Exception as e:
                                logging.error(
                                    f"Error: {self.agent_name} failed to execute command `{command_name}`. {e}"
@github-actions github-actions bot added the todo label May 9, 2024
Copy link
Author

Closed in 68efa13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

0 participants