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'
```
|
||
|---|---|---|
| .. | ||
| agent | ||
| algo | ||
| git_providers | ||
| log | ||
| secret_providers | ||
| servers | ||
| settings | ||
| tools | ||
| __init__.py | ||
| cli.py | ||
| config_loader.py | ||