2091 Commits

Author SHA1 Message Date
carlosejimenez 7c3c8fd840 Merge remote-tracking branch 'refs/remotes/origin/main'
Check Markdown links / markdown-link-check (push) Has been cancelled
2025-07-09 18:24:20 +00:00
Kilian Lieret 4fce28706f SWE-agent Multimodal (#1223)
* Add ImageParsingHistoryProcessor

* Add SWEBenchMultimodal problem statement parsing

* cache processed swe-bench multimodal inputs

* Add testing for multimodal problem statement

* Update environment variable for PROBLEM_STATEMENT

* Update timeout params to multimodal config

* Add problem statement with images to Inspector view

* Update configs and add default_mm_no_images

* Add templates.disable_image_processing option

* Add Observation Images to Inspector

* Update configs for gemini

* Update docs for multimodal updates

* Fix: Protocols aren't inherited

* Chore: pathlib instead of os.path and make pre-commit happy

* add web_browser bundle

---------

Co-authored-by: carlosejimenez <cjsaltlake@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-07-09 03:19:59 -04:00
carlosejimenez 88a5bb27bf Merge remote-tracking branch 'refs/remotes/origin/main' 2025-07-02 15:37:43 +00:00
carlosejimenez 6cf978b516 Update basic config 2025-07-02 15:37:38 +00:00
pre-commit-ci[bot] 454ab7610d chore: update pre-commit hooks (#1229)
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.12.0 → v0.12.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.12.0...v0.12.1)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-06-30 16:30:23 -04:00
Kilian Lieret d420308b74 Doc: Move custom cost tracking to extended docs (#1225) 2025-06-30 11:15:47 -04:00
Kilian Lieret 893e59defb Doc: Improve tool doc interlinking 2025-06-26 20:31:29 -04:00
Kilian Lieret f54d514e7d Doc: Improve FAQ organization 2025-06-26 20:31:29 -04:00
Kilian Lieret d747e53604 Doc: Add tutorial on adding new tools (#1226)
* Doc: Add tutorial on adding new tools

Closes #919

* ignore link
2025-06-26 20:03:43 -04:00
Kilian Lieret c68ba15eeb Change: Make token counting simpler & more explicit 2025-06-26 18:13:34 -04:00
Tobias Lindenbauer 34f9f687b2 FIX: Use correct local model tokenizer for computing token consumption
[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

UPDATE: Make transformers dependency optional and move import as far in as possible

[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
2025-06-26 18:13:34 -04:00
Kilian Lieret 1826a4ccee Doc: Remove outdated todo 2025-06-26 17:18:03 -04:00
Joshua Shanks a0cf20a255 Doc: Fix typos and URL corrections in developer documentation (#1221)
The changes include:
- Update ruff GitHub URL from old repository to current astral-sh/ruff
- Fix typo "easy-tow-rite" to "easy-to-write"
- Correct git branch command parameter order
- Fix typo "upstream/mean" to "upstream/main"

Signed-off-by: Joshua Shanks <jjshanks@gmail.com>
2025-06-25 11:42:01 -04:00
Kilian Lieret 54f649e818 Doc: Fix typo; link to benchmark configs (#1210) 2025-06-24 17:31:21 -04:00
Xiang Chen 286a67f32d Update models.py (#1214)
fix the format error when using human_thought mode.
The action in code block should be the command itself, not the message dict
2025-06-24 17:30:23 -04:00
Kilian Lieret ee55ae3b0c CI: Queue up doc pushes (#1220)
This action fails if more than 1 is running at the same time (which
happens if you merge multiple PRs in quick succession). Fix is by
disabling concurrency, so they just queue up.
2025-06-24 17:30:07 -04:00
Joshua Shanks d1b14ba5e5 Doc: Update model names and fix syntax errors in usage documentation (#1217)
Signed-off-by: Joshua Shanks <jjshanks@gmail.com>
2025-06-24 17:18:58 -04:00
Joshua Shanks 0b3c7dc612 Doc: Fix malformed markdown links in installation documentation (#1216)
Signed-off-by: Joshua Shanks <jjshanks@gmail.com>
2025-06-24 17:17:55 -04:00
Joshua Shanks c330430802 Doc: Fix Claude model name typos (#1215)
Remove extra parenthesis from claude-sonnet-4-20250514 model name and update model description from "Claude 3.5 Sonnet" to "Claude Sonnet 4"

Signed-off-by: Joshua Shanks <jjshanks@gmail.com>
2025-06-24 17:17:34 -04:00
pre-commit-ci[bot] 5d930c2b09 chore: update pre-commit hooks (#1219)
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.11.13 → v0.12.0](https://github.com/astral-sh/ruff-pre-commit/compare/v0.11.13...v0.12.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-06-24 17:17:17 -04:00
carlosejimenez f3e5ffb172 Merge remote-tracking branch 'refs/remotes/origin/main' 2025-06-20 20:16:11 +00:00
Kilian Lieret 47d425b954 Config: Disable pagers by default (#1206) 2025-06-15 14:20:14 -04:00
Kilian Lieret 6c3af40daf Config: Helpful feedback for timeouts (#1207)
Closes #1204
2025-06-15 14:14:40 -04:00
carlos f0965e301d Merge pull request #1205 from SWE-agent/fix/update-arg-format-check
Fix/update arg format check
2025-06-12 22:00:01 -07:00
Kilian Lieret 01ba4de144 Nit: import location 2025-06-12 15:46:32 -07:00
pre-commit-ci[bot] a432dc6392 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-06-12 22:45:33 +00:00
Kilian Lieret 37d041c845 Simplify duplication counting
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-06-12 18:45:12 -04:00
pre-commit-ci[bot] 16849a0c32 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-06-12 22:30:20 +00:00
carlosejimenez 25c7d5350a Add testing for tools command parsing 2025-06-12 22:28:53 +00:00
carlosejimenez 0adae1c73e Update commands to for better validation errors 2025-06-12 22:28:40 +00:00
carlos 3f8944e7dc Fix GenericAPIModelConfig.id's property to avoid casting errors on valid None types (#1199) 2025-06-12 16:35:11 -04:00
carlos be69e037bb Move Breaking: observation truncation to jinja template next_step_truncated_observation_template instead of manual truncation (#1201) 2025-06-12 16:34:49 -04:00
pre-commit-ci[bot] 557f1eb44e chore: update pre-commit hooks (#1196)
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.11.12 → v0.11.13](https://github.com/astral-sh/ruff-pre-commit/compare/v0.11.12...v0.11.13)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-06-11 22:27:36 -04:00
carlos 3eebd199b8 Enh: custom model registry (#1200)
* add litellm_model_registry to model config

* Add agent.model.litellm_model_registry details to docs

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-06-11 22:24:23 -04:00
carlosejimenez 92e8c9eabd Update model id naming 2025-06-11 20:43:01 +00:00
Kilian Lieret 61e5d06284 Config: Add some demo configs for talks 2025-06-10 17:50:42 -07:00
carlosejimenez cc83ce5831 Merge remote-tracking branch 'refs/remotes/origin/main' 2025-06-06 22:32:50 +00:00
carlosejimenez f2d165775e Update model id name to account for None values in top-p / temp 2025-06-06 22:29:11 +00:00
carlosejimenez ea0304b249 Add custom litellm model config for cost calculations 2025-06-06 22:27:33 +00:00
Kilian Lieret 8ea180bc9c Enh(sh): Do not pollute working repo with logs (#1192) 2025-06-04 15:48:25 -04:00
Kilian Lieret 14c0257f1c Dev: Ignore linter warnings 2025-06-04 15:47:56 -04:00
Kilian Lieret 189100a03c Enh(sh): Prompt for problem statement and repo if not given 2025-06-04 12:53:29 -04:00
Kilian Lieret 5ec3bb2100 Enh(models): log model response only on debug level 2025-06-04 12:53:29 -04:00
Kilian Lieret ca5650e7ab Feat(sh): Mount repo into container 2025-06-04 12:53:29 -04:00
Kilian Lieret 39c0df103c Fix: Use reset commands from repo config 2025-06-04 12:53:29 -04:00
Kilian Lieret eeb8527e2a Feat: Most basic version of sweagent sh 2025-06-04 12:53:29 -04:00
Kilian Lieret 1e7151f6fc Ref, WIP: Move most changes to new run_shell entry 2025-06-04 12:53:29 -04:00
Kilian Lieret be954d47a3 Feat: Interactive mode also makes human need to submit 2025-06-04 12:53:29 -04:00
Kilian Lieret 09b2d27660 Enh: Need to explicitly make agent interruptable 2025-06-04 12:53:29 -04:00
Kilian Lieret 42691d9569 Feat: Allow human to jump in agent run 2025-06-04 12:53:29 -04:00