Skip to content

v1.7.1 - Stable Release: Double-Output Fix + Load Template

Choose a tag to compare

@jwesleye jwesleye released this 06 Jan 14:12
· 42 commits to main since this release

🎉 Version 1.7.1 - Stable Release

Major Bug Fix

Fixed double-output bug where text appeared twice in the terminal (unformatted during streaming, then formatted at the end).

Root Cause

After extensive diagnostic work across beta.6-8, we discovered that AWS Strands and similar agent libraries print accumulated response text to stdout during async generator execution. This caused text to appear twice when using Rich markdown formatting.

Solution

  • Configurable stdout suppression during streaming (behavior.suppress_agent_stdout)
  • Suppression only active during yield back to stream_async (between iterations)
  • Stdout restored during event processing so tool calls and logging work normally
  • Enabled by default for clean output

New Feature

New /load template for loading markdown files into context

  • Loads all .md files from a directory (non-recursive)
  • Usage: /load (current dir) or /load path/to/dir
  • Automatically created in ~/.prompts/ on first run

Default Templates (Now 7)

  1. /explain - Explain code
  2. /review - Code review
  3. /debug - Debug help
  4. /optimize - Optimize code
  5. /test - Write tests
  6. /document - Add documentation
  7. /load - NEW - Load markdown files

Configuration

Stdout suppression is enabled by default. To configure:

behavior:
  suppress_agent_stdout: true  # Recommended (default)

Or use the wizard:

chat_loop --wizard

Installation

# Stable release (recommended)
pip install --upgrade basic-agent-chat-loop

# Or specific version
pip install basic-agent-chat-loop==1.7.1

Upgrading from Beta

If you were on any 1.7.1-beta version:

  1. Upgrade: pip install --upgrade basic-agent-chat-loop
  2. If you see YAML config errors, reset: chat_loop --reset-config
  3. Test with your agent - no more double output!

Changes Since 1.7.0

  • Fixed double-output bug with configurable stdout suppression
  • Added /load template for loading markdown files
  • Improved code quality (linting fixes)
  • Enhanced default configuration

Testing Status

  • ✅ Confirmed working with AWS Strands agents
  • ✅ Tool calls and logging fully functional
  • ✅ Rich markdown rendering working perfectly
  • ✅ No more duplicate output

Known Issues

None - this is a stable, production-ready release!


Thank you to everyone who helped test the beta versions and report issues! 🙏