Skip to content

Conversation

@Chesars
Copy link
Contributor

@Chesars Chesars commented Oct 2, 2025

Summary

Adds optional summarize_on_exit config to mini agent.

When enabled, the model generates a summary of changes before the exit prompt.

Changes:

  • Added summarize_on_exit field to InteractiveAgentConfig (default: false)
  • Implemented _summarize_changes() method that queries the model for a summary
  • Summary displays before the exit confirmation prompt
  • Added config example in mini.yaml (commented out by default)

Usage:
Set summarize_on_exit: true in any config that uses InteractiveAgent (mini.yaml, github_issue.yaml, etc.)

Closes #293

@codecov
Copy link

codecov bot commented Oct 2, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
src/minisweagent/agents/interactive.py 100.00% <100.00%> (ø)
tests/agents/test_interactive.py 100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

mini prompt: Ask model to summarize changes at the end

1 participant