Commit d981477
authored
Fix: Remove reference to non-existent agent module in CLI (#962)
## Description
This PR fixes an issue where the CLI is trying to import a non-existent
module `codegen.cli.commands.agent.main`. This was causing errors when
users tried to run commands like `codegen init` or `codegen update`.
## Changes
- Removed the import of `agent_command` from
`codegen.cli.commands.agent.main`
- Removed the reference to `agent_command` in the `main.add_command`
section
## Testing
This change should allow users to run basic codegen CLI commands without
encountering the `ModuleNotFoundError: No module named
'codegen.cli.commands.agent'` error.
## Related Issues
This fixes the issue reported in Slack where a user was unable to run
`codegen init` or `codegen update` due to this missing module.
Co-authored-by: codegen-sh[bot] <131295404+codegen-sh[bot]@users.noreply.github.com>1 parent 6c086fe commit d981477
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
0 commit comments