Skip to content

Fix: Remove reference to non-existent agent module in CLI #962

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 25, 2025

Conversation

codegen-sh[bot]
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 codegen-team and a 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.

1 participant