mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-10 07:40:39 +08:00
adjustments to pypi
This commit is contained in:
@ -27,12 +27,8 @@ def main():
|
||||
get_settings().set("openai.key", openai_key)
|
||||
get_settings().set("github.user_token", user_token)
|
||||
|
||||
# Preparing the command
|
||||
run_command = f"--pr_url={pr_url} {command.lstrip('/')}"
|
||||
args = cli.set_parser().parse_args(run_command.split())
|
||||
|
||||
# Run the command. Feedback will appear in GitHub PR comments
|
||||
cli.run(args=args)
|
||||
cli.run_command(pr_url, command)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
Reference in New Issue
Block a user