MoltHub Agent: Mini SWE Agent
Closes #651 Previously we were using ```bash, but this had the problem that this is a sequence that can quite naturally appear in README files etc, causing the agent being unable to edit it/write such content because it would be interpreted as multiple actions.
* Feat: Muiltimodal agent class * Update src/minisweagent/agents/multimodal.py Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Closes #659
* BREAKING CHANGE: Build control flow around messages, not exceptions Any terminating or non terminating exceptions now simply add messages to agent.messages. If the last one has the role "exit", we stop the loop. * fix unclear typing
Closes #427
* Feat: Logger for default agent * Doc: Fix logging example
* BREAKING CHANGE: Redesign of Agent <> Model, Env interaction This is a major change. See changelog * track missing file
* Change: Drop support for MINI_SWE_AGENT_FINAL_OUTPUT Closes #649 * update test files
* Save trajectory after each turn * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * wip * Change: Agent.run signature change; remove save_traj function Closes #648 * comments * Add serialize tests --------- Co-authored-by: Boxuan Li <liboxuan@connect.hku.hk> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
BREAKING CHANGE: The MSWEA_MODEL_API_KEY environment variable is no longer supported. Use provider-specific API keys instead (e.g., ANTHROPIC_API_KEY, OPENAI_API_KEY, OPENROUTER_API_KEY).
updates: - [github.com/crate-ci/typos: typos-dict-v0.13.13 → v1](https://github.com/crate-ci/typos/compare/typos-dict-v0.13.13...v1) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
updates: - [github.com/crate-ci/typos: v1 → typos-dict-v0.13.13](https://github.com/crate-ci/typos/compare/v1...typos-dict-v0.13.13) - [github.com/astral-sh/ruff-pre-commit: v0.14.9 → v0.14.10](https://github.com/astral-sh/ruff-pre-commit/compare/v0.14.9...v0.14.10) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Doc: link to minimal-agent.com * Apply suggestions from code review * Update docs/advanced/control_flow.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
