Skip to content

Tool execution output not visible when running CLI #328

Closed
@bhouston

Description

@bhouston

Issue: Tool execution output not visible when running CLI

When running the MyCoder CLI with pnpm build && pnpm cli -i and providing a task, the tool execution output that used to be visible by default (showing log, warn, and error messages) is no longer displayed.

Steps to Reproduce

  1. Run pnpm build && pnpm cli -i
  2. Enter a task prompt like "What is the weather at my location? You can not ask me any questions, just try to figure it out on your own."
  3. Observe that there is no output showing tool execution or thoughts

Expected Behavior

The CLI should show log messages from each tool being executed, including the agent's thoughts and reasoning, by default.

Current Behavior

After providing a task, the CLI shows no output until the final result is returned.

Possible Causes

  • Changes to the default log level setting
  • Changes to how console output is handled in the logger implementation
  • Configuration issue with the logger listeners

Possible Solutions

  • Verify the default log level in the configuration
  • Check if the console output logger is properly registered
  • Ensure tool execution messages are being properly logged at the appropriate level

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions