Skip to content

Conversation

@codegen-sh
Copy link
Contributor

@codegen-sh codegen-sh bot commented Mar 25, 2025

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.

@jayhack jayhack marked this pull request as ready for review March 25, 2025 15:35
@jayhack jayhack requested review from a team and codegen-team as code owners March 25, 2025 15:35
@jayhack jayhack merged commit d981477 into develop Mar 25, 2025
17 of 18 checks passed
@jayhack jayhack deleted the gen/f3b829b5-00d2-4c76-99fe-2da01f697d73 branch March 25, 2025 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants