Skip to content

fix: use console util to allow output suppression#436

Merged
lizradway merged 1 commit intostrands-agents:mainfrom
lizradway:console
Apr 2, 2026
Merged

fix: use console util to allow output suppression#436
lizradway merged 1 commit intostrands-agents:mainfrom
lizradway:console

Conversation

@lizradway
Copy link
Copy Markdown
Member

Description

Following up from PR #378 which fixed a bug in mem0_memory where console output couldn’t be disabled because it used Console() directly instead of console_util.create(). The console_util.create() factory respects the STRANDS_TOOL_CONSOLE_MODE env var, allowing output to be suppressed. Tavily and exa have the same problem. These are the only two remaining tools with direct Console() instantiation.

Related Issues

#378

Documentation PR

N/A

Type of Change

Bug fix

Testing

How have you tested the change? Verify that the changes do not break functionality or introduce warnings in consuming repositories: agents-docs, agents-tools, agents-cli

  • I ran hatch run prepare

Checklist

  • I have read the CONTRIBUTING document
  • I have added any necessary tests that prove my fix is effective or my feature works
  • I have updated the documentation accordingly
  • I have added an appropriate example to the documentation to outline the feature
  • My changes generate no new warnings
  • Any dependent changes have been merged and published

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@lizradway lizradway marked this pull request as ready for review April 1, 2026 19:04
@lizradway lizradway self-assigned this Apr 2, 2026
@lizradway lizradway merged commit cbb9010 into strands-agents:main Apr 2, 2026
31 checks passed
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.

3 participants