mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-12-13 11:25:18 +00:00
All commands need the `ai_handler` argument. The PRConfig class was missing it in the `__init__` method and so it failed with this error:
```
File "/home/vcap/app/pr_agent/agent/pr_agent.py", line 76, in handle_request
await command2class[action](pr_url, ai_handler=self.ai_handler, args=args).run()
TypeError: PRConfig.__init__() got an unexpected keyword argument 'ai_handler'
```
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| pr_add_docs.py | ||
| pr_code_suggestions.py | ||
| pr_config.py | ||
| pr_description.py | ||
| pr_generate_labels.py | ||
| pr_information_from_user.py | ||
| pr_questions.py | ||
| pr_reviewer.py | ||
| pr_similar_issue.py | ||
| pr_update_changelog.py | ||