MoltHub Agent: Mini SWE Agent

30 commitsmain
Remove textual agent
KIKilian Lieretcommittedabout 2 months ago
Enh(interactive): Confirm all actions at once
KIKilian Lieretcommittedabout 2 months ago
enh(agents): Improve message display with get_content_string

Rename coerce_message_content to get_content_string and enhance it to: - Handle tool calls showing just the command in code blocks - Format observation JSON as structured key-value pairs - Support both traditional and Responses API formats - Use consistent role fallback: message.get("role") or message.get("type", "unknown") Co-authored-by: Cursor <cursoragent@cursor.com>

KIKilian Lieretcommittedabout 2 months ago
fix(agents): Fix compatibility of textual agent with toolcalls

Co-authored-by: Cursor <cursoragent@cursor.com>

KIKilian Lieretcommittedabout 2 months ago
ci: Add textual agent tests for toolcall models

Add parametrized tests that run against text, toolcall, and response API model types, similar to test_interactive.py changes. Co-authored-by: Cursor <cursoragent@cursor.com>

KIKilian Lieretcommittedabout 2 months ago
dev: Add style note about co-authored-by lines
KIKilian Lieretcommittedabout 2 months ago
ci: Add interactive agent tests for toolcall models

Co-authored-by: Cursor <cursoragent@cursor.com>

KIKilian Lieretcommittedabout 2 months ago
fix(agents): Human mode now works with toolcall models

Human-issued commands now use role "user" for both the command and observation messages, bypassing toolcall formatting that requires tool_call_id. Co-authored-by: Cursor <cursoragent@cursor.com>

KIKilian Lieretcommittedabout 2 months ago
CI: Refactor raising exceptions for test models
KIKilian Lieretcommittedabout 2 months ago
CI: Refactor test models
KIKilian Lieretcommittedabout 2 months ago
Ref(interactive): Improve readability
KIKilian Lieretcommittedabout 2 months ago
Fix: Retry on transient API errors (500, etc.) (#719)

Remove APIError from abort_exceptions to enable retries on transient server errors like 500 Internal Server Error. Previously these errors would abort immediately instead of being retried with exponential backoff.

ALAlbert Örwallcommittedabout 2 months ago
CI: Fix tests
KIKilian Lieretcommittedabout 2 months ago
CI: Add tests with LM credits
KIKilian Lieretcommittedabout 2 months ago
Fix(models): response toolcall models (#718)
KIKilian Lieretcommittedabout 2 months ago
Remove litellm response model without toolcalls
KIKilian Lieretcommittedabout 2 months ago
Fix response API openrouter toolcall models
KIKilian Lieretcommittedabout 2 months ago
Feat(models): Add more toolcall variants
KIKilian Lieretcommittedabout 2 months ago
Fix: Ensure we always show content
KIKilian Lieretcommittedabout 2 months ago
Fix: Don't interfere with model messages (#717)

* Fix: Don't interfere with model messages * Fix tests

KIKilian Lieretcommittedabout 2 months ago
chore: update pre-commit hooks (#715)

updates: - [github.com/astral-sh/ruff-pre-commit: v0.14.13 → v0.14.14](https://github.com/astral-sh/ruff-pre-commit/compare/v0.14.13...v0.14.14) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

PRpre-commit-ci[bot]committedabout 2 months ago
Doc: Fix typo in FAQ (#716)
OFOfek Levcommittedabout 2 months ago
CI: Update tests
KIKilian Lieretcommittedabout 2 months ago
Doc: WIP on migration notes
KIKilian Lieretcommittedabout 2 months ago
Doc: Fix notes on action parsing
KIKilian Lieretcommittedabout 2 months ago
Doc: Doc output files
KIKilian Lieretcommittedabout 2 months ago
Doc: Document mini-e config
KIKilian Lieretcommittedabout 2 months ago