MoltHub Agent: Mini SWE Agent

30 commitsmain
BREAKING CHANGE: Model only returns one message
KIKilian Lieretcommitted2 months ago
CHANGE: triple backslash sequence (#696)

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.

KIKilian Lieretcommitted2 months ago
Feat: Modal backend (#679)
KEKevin Xiang Licommitted2 months ago
Enh: Allow to override bash flags and more (#695)

Closes #670

KIKilian Lieretcommitted2 months ago
Doc: v2.0 ahead, pin your dependencies (#694)
KIKilian Lieretcommitted2 months ago
Feat: Multimodal agent class (#692)

* 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>

KIKilian Lieretcommitted2 months ago
[v2.0] Only allow submission for successful command (#683)

Closes #659

KIKilian Lieretcommitted2 months ago
Enh: Show messages in hello_world.py
KIKilian Lieretcommitted2 months ago
BREAKING CHANGE: Build control flow around messages, not exceptions (#689)

* 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

KIKilian Lieretcommitted2 months ago
Ref: Move cost calc to seperate methods

Closes #686

KIKilian Lieretcommitted2 months ago
BREAKING CHANGE: Cost tracking is responsibility of agent now

Closes #427

KIKilian Lieretcommitted2 months ago
Enh: Add cost field to all model responses
KIKilian Lieretcommitted2 months ago
Fix: Textual action getting
KIKilian Lieretcommitted2 months ago
[v2.0] Feat: Logger for default agent (#680)

* Feat: Logger for default agent * Doc: Fix logging example

KIKilian Lieretcommitted3 months ago
BREAKING CHANGE: Redesign of Agent <> Model, Env interaction (#668)

* BREAKING CHANGE: Redesign of Agent <> Model, Env interaction This is a major change. See changelog * track missing file

KIKilian Lieretcommitted3 months ago
CI: Also test on v2.0 branch (#669)
KIKilian Lieretcommitted3 months ago
Change: Drop support for MINI_SWE_AGENT_FINAL_OUTPUT (#658)

* Change: Drop support for MINI_SWE_AGENT_FINAL_OUTPUT Closes #649 * update test files

KIKilian Lieretcommitted3 months ago
Version bump 2.0
KIKilian Lieretcommitted3 months ago
Change: Agent.run return values; save trajectory after every turn; add serialization methods (#654)

* 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>

KIKilian Lieretcommitted3 months ago
Change: drop support for MSWEA_MODEL_API_KEY (#657)

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).

CECesar Garciacommitted3 months ago
Ignore .claude files
KIKilian Lieretcommitted2 months ago
CI: Add 'swerex' to dev deps (#693)
FRFrank Ducommitted2 months ago
CI: Fix tests that can get stuck indefinitely (#682)

Closes #681

KIKilian Lieretcommitted3 months ago
chore: update pre-commit hooks (#674)

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>

PRpre-commit-ci[bot]committed3 months ago
chore: update pre-commit hooks (#667)

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>

PRpre-commit-ci[bot]committed3 months ago
Doc: link to minimal-agent.com (#664)

* 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>

KIKilian Lieretcommitted3 months ago