Robert Brennan
01ae22ef57
Rename OpenDevin to OpenHands ( #3472 )
...
* Replace OpenDevin with OpenHands
* Update CONTRIBUTING.md
* Update README.md
* Update README.md
* update poetry lock; move opendevin folder to openhands
* fix env var
* revert image references in docs
* revert permissions
* revert permissions
---------
Co-authored-by: Xingyao Wang <xingyao6@illinois.edu>
2024-08-20 00:44:54 +08:00
Xingyao Wang
83f36c1d66
test: build and run runtime tests on different custom docker images ( #3324 )
...
* try to fix pip unavailable
* update test case for pip
* force rebuild in CI
* remove extra symlink
* fix newline
* added semi-colon to line 31
* Dockerfile.j2: activate env at the end
* Revert "Dockerfile.j2: activate env at the end"
This reverts commit cf2f5651021fe80d4ab69a35a85f0a35b29dc3d7.
* cleanup Dockerfile
* switch default python image
* remove image agnostic (no longer used)
* fix tests
* simplify integration tests default image
* add nodejs specific runtime tests
* update tests and workflows
* switch to nikolaik/python-nodejs:python3.11-nodejs22
* update build sh to output image name correctly
* increase custom images to test
* fix test
* fix test
* fix double quote
* try fixing ci
* update ghcr workflow
* fix artifact name
* try to fix ghcr again
* fix workflow
* save built image to correct dir
* remove extra -docker-image
* make last tag to be human readable image tag
* fix hyphen to underscore
* run test runtime on all tags
* revert app build
* separate ghcr workflow
* update dockerfile for eval
* fix tag for test run
* try fix tag
* try fix tag via matrix output
* try workflow again
* update comments
* try fixing test matrix
* fix artifact name
* try fix tag again
* Revert "try fix tag again"
This reverts commit b369badd8cccf4a526e36d27eafb77ea2d32f6be.
* tweak filename
* try different path
* fix filepath
* try fix tag artifact path again
* save json instead of line
* update matrix
* print all tags in workflow
* fix DOCKER_IMAGE to avoid ghcr.io/opendevin/ghcr.io/opendevin/od_runtime
* fix test matrix to only load unique test image tags
* try fix matrix again!!!!!
* add all runtime tests passed
---------
Co-authored-by: tobitege <tobitege@gmx.de>
Co-authored-by: Graham Neubig <neubig@gmail.com>
Co-authored-by: tobitege <10787084+tobitege@users.noreply.github.com>
2024-08-19 21:12:00 +08:00
Xingyao Wang
4f285c8e0f
Fix "Credits" in README.md ( #3455 )
2024-08-19 09:07:18 -04:00
mamoodi
14a4e45cbb
Standardize names and better organization ( #3453 )
...
* Standardize names and better organization
* Update links
2024-08-19 09:30:47 +08:00
tobitege
d1b9787751
remove obsolete prompt.py file (codeact_agent) ( #3450 )
2024-08-19 09:18:36 +08:00
tobitege
49bde1a760
ghcr.yml: bump docker/login-action@v2 to v3 ( #3451 )
2024-08-19 09:18:16 +08:00
tobitege
733bf2b38c
tweaks to chat message CSS stylings for lists ( #3449 )
2024-08-18 21:49:12 +02:00
Xingyao Wang
537fb7d985
feat: convert agent prompts into structured Jinja2 templates ( #3360 )
...
* commit jinja draft
* remove extra file
* update system prompt
* remove github message
* update prompts
* add prompt manager and its tests
* use prompt manager for codeact and bump version
* fix integration tests
* fix lint
* simplify test case
* update system
* fix integration tests
* update credit path for aider
* Update CREDITS.md
Co-authored-by: Engel Nyst <enyst@users.noreply.github.com>
---------
Co-authored-by: Engel Nyst <enyst@users.noreply.github.com>
2024-08-18 16:38:46 +00:00
Xingyao Wang
a2ea17909d
chore: remove deprecated RuntimeTool ( #3443 )
2024-08-18 09:45:45 +08:00
Xingyao Wang
ac80f20473
update readme
2024-08-17 20:45:21 -05:00
Xingyao Wang
c3f62c3ce9
allow setting dataset name and split
2024-08-17 20:43:59 -05:00
Xingyao Wang
b8ec420ccd
remove unused stuff
2024-08-17 20:43:09 -05:00
Xingyao Wang
7b6ae3638e
remove unused swebench scripts
2024-08-17 20:38:49 -05:00
Engel Nyst
84a814c447
Additions to agent docs ( #3434 )
...
* adjust docstrings
docstrings for agent controller
Update agent readme.
* remove not implemented
* fix formatting
* fix indentation
* fix block
* formatting
* include stop
2024-08-18 01:56:07 +02:00
Graham Neubig
2b1e73365b
Fix typing for fake user response function ( #3438 )
2024-08-18 06:47:08 +08:00
tobitege
944f934475
remove 1s sleep from _ensure_session (runtime) ( #3439 )
2024-08-17 22:00:20 +00:00
Engel Nyst
9cb0bf97c1
Fix restore cli sessions ( #3409 )
...
* fix restore cli sessions
* pytest
* fix log message
* make sure sid is set
---------
Co-authored-by: mamoodi <mamoodiha@gmail.com>
2024-08-17 23:31:42 +02:00
Xingyao Wang
8d7bf83224
refactor: break agentskills single file to multiple composable modules ( #3429 )
...
* refactor agentskills to prepare for agentless
* fix import
* fix typo
* fix imports
* fix globals
* fix import
* fix import
* disable log to file to avoid auto-created log file w/ permission issue when import od in runtime
* import agentskills from OD instead from itself directly
* add back pythonpath
* remove chown since there's no log/folder
2024-08-18 05:18:36 +08:00
Engel Nyst
3d04bd90e1
Add credits and licenses for code from other projects ( #3436 )
...
* add projects with licenses list
* fix projects
* fix projects
* fix projects
* fix licenses, include full Apache
* move AL 2.0 text to Credits
* Update README.md
Co-authored-by: Graham Neubig <neubig@gmail.com>
---------
Co-authored-by: Graham Neubig <neubig@gmail.com>
2024-08-17 18:12:28 +00:00
tofarr
b2221f135f
Now printing a warning message when a config has an unknown key ( #3428 )
...
* Now printing a warning message when unknown keys present
2024-08-17 10:54:38 -06:00
Engel Nyst
92b1a2da5c
Refactor agent to accept agent config ( #3430 )
...
* refactor agents to receive their agent config
* add unit test
* fix test
* fix tests
2024-08-17 18:11:30 +02:00
dependabot[bot]
629b47400d
chore(deps): bump fastapi from 0.112.0 to 0.112.1 ( #3417 )
...
Bumps [fastapi](https://github.com/fastapi/fastapi ) from 0.112.0 to 0.112.1.
- [Release notes](https://github.com/fastapi/fastapi/releases )
- [Commits](https://github.com/fastapi/fastapi/compare/0.112.0...0.112.1 )
---
updated-dependencies:
- dependency-name: fastapi
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mamoodi <mamoodiha@gmail.com>
2024-08-17 23:52:05 +08:00
tobitege
0583609531
(fix) jobs need if condition modified to enable run on PR push ( #3433 )
...
* fix ghcr_push job: condition needed to check right push context
* apply same rule for other dependent jobs
2024-08-17 23:37:57 +08:00
mamoodi
6e70f79bf4
Remove unnecessary concurrency and more comments ( #3422 )
2024-08-16 18:19:34 -04:00
Xingyao Wang
1cf44ef854
fix app docker again! ( #3427 )
2024-08-16 21:43:56 +00:00
Xingyao Wang
5d920489fc
docs: improve documentation ( #3425 )
...
* add imports to eval harness
* update out-dated custom sandbox guide
* Update docs/modules/usage/evaluation_harness.md
* remove llm pasta
* update od doc
---------
Co-authored-by: Engel Nyst <enyst@users.noreply.github.com>
2024-08-16 21:25:10 +00:00
Xingyao Wang
3f20e4edc6
attempt to fix docker issue ( #3426 )
2024-08-16 19:41:24 +00:00
tofarr
f8b129da43
Added remark gfm to render tables ( #3423 )
...
Co-authored-by: Tim O'Farrell <tofarr@gmai.com>
2024-08-17 03:20:50 +08:00
dependabot[bot]
23608be974
chore(deps-dev): bump openai from 1.40.6 to 1.40.8 ( #3419 )
...
Bumps [openai](https://github.com/openai/openai-python ) from 1.40.6 to 1.40.8.
- [Release notes](https://github.com/openai/openai-python/releases )
- [Changelog](https://github.com/openai/openai-python/blob/main/CHANGELOG.md )
- [Commits](https://github.com/openai/openai-python/compare/v1.40.6...v1.40.8 )
---
updated-dependencies:
- dependency-name: openai
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-16 16:46:15 +00:00
dependabot[bot]
df2bdc2ae9
chore(deps): bump litellm from 1.43.13 to 1.43.15 ( #3420 )
...
Bumps [litellm](https://github.com/BerriAI/litellm ) from 1.43.13 to 1.43.15.
- [Release notes](https://github.com/BerriAI/litellm/releases )
- [Commits](https://github.com/BerriAI/litellm/compare/v1.43.13...v1.43.15 )
---
updated-dependencies:
- dependency-name: litellm
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-16 16:42:39 +00:00
dependabot[bot]
3c0a61666b
chore(deps): bump json-repair from 0.27.2 to 0.28.0 ( #3421 )
...
Bumps [json-repair](https://github.com/mangiucugna/json_repair ) from 0.27.2 to 0.28.0.
- [Release notes](https://github.com/mangiucugna/json_repair/releases )
- [Commits](https://github.com/mangiucugna/json_repair/compare/0.27.2...0.28.0 )
---
updated-dependencies:
- dependency-name: json-repair
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-16 16:41:34 +00:00
dependabot[bot]
db5d120c2c
chore(deps): bump boto3 from 1.34.161 to 1.34.162 ( #3418 )
...
Bumps [boto3](https://github.com/boto/boto3 ) from 1.34.161 to 1.34.162.
- [Release notes](https://github.com/boto/boto3/releases )
- [Commits](https://github.com/boto/boto3/compare/1.34.161...1.34.162 )
---
updated-dependencies:
- dependency-name: boto3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-16 15:42:34 +00:00
mamoodi
340fe0de18
Split Frontend and Python Unit tests ( #3399 )
...
* Split Frontend and Python Unit tests
* Extra comment for deploy docs workflow
* Simpler comment
* Add paths and paths-ignore to unit tests
* More specific comment for py unit tests
* Remove paths-ignore because jobs are required
---------
Co-authored-by: Engel Nyst <enyst@users.noreply.github.com>
2024-08-16 11:39:14 -04:00
Engel Nyst
f9f96dd429
Use generic types ( #3414 )
...
* use generic types post python 3.10
* use newer optional
* a lost list
* fix integration tests
2024-08-16 06:41:57 -04:00
Bin Lei
ae5f130881
fix potential flake8 miss checking ( #3124 )
...
* fix potential flake8 miss checking
* Add unit test for edit_file_by_replace function with problematic file
* Add unit test for edit_file_by_replace function with problematic file
* Add unit test for edit_file_by_replace function with problematic file
* Add unit test for edit_file_by_replace function with problematic file
* Add unit test for edit_file function with problematic file
* Add unit test for edit_file function with problematic file
* Add unit test for edit_file function with problematic file
* Add unit test for edit_file function with problematic file
* Add unit test for edit_file function with problematic file
* Update opendevin/runtime/plugins/agent_skills/agentskills.py
Co-authored-by: Boxuan Li <liboxuan@connect.hku.hk>
* add test intention description
* fix potential flake8 miss checking
* fix potential flake8 miss checking
* fix potential flake8 miss checking
* fix potential flake8 miss checking
* fix potential flake8 miss checking
---------
Co-authored-by: Boxuan Li <liboxuan@connect.hku.hk>
Co-authored-by: Graham Neubig <neubig@gmail.com>
Co-authored-by: tobitege <tobitege@gmx.de>
2024-08-16 09:23:55 +08:00
tofarr
eab7ea3d37
Feat: unsaved file content ( #3358 )
...
Added file states, useEffect and destructor
2024-08-15 18:21:49 -06:00
dependabot[bot]
c67df47c10
chore(deps): bump litellm from 1.43.10 to 1.43.13 ( #3403 )
...
Bumps [litellm](https://github.com/BerriAI/litellm ) from 1.43.10 to 1.43.13.
- [Release notes](https://github.com/BerriAI/litellm/releases )
- [Commits](https://github.com/BerriAI/litellm/compare/v1.43.10...v1.43.13 )
---
updated-dependencies:
- dependency-name: litellm
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-15 14:51:47 -04:00
dependabot[bot]
4629f3d984
chore(deps): bump vite from 5.4.0 to 5.4.1 in /frontend ( #3402 )
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 5.4.0 to 5.4.1.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v5.4.1/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-15 10:48:50 -07:00
dependabot[bot]
6129ffbf77
chore(deps-dev): bump ruff from 0.5.7 to 0.6.0 ( #3404 )
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.5.7 to 0.6.0.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md )
- [Commits](https://github.com/astral-sh/ruff/compare/0.5.7...0.6.0 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-15 10:48:14 -07:00
dependabot[bot]
1c0f71a857
chore(deps): bump boto3 from 1.34.160 to 1.34.161 ( #3405 )
...
Bumps [boto3](https://github.com/boto/boto3 ) from 1.34.160 to 1.34.161.
- [Release notes](https://github.com/boto/boto3/releases )
- [Commits](https://github.com/boto/boto3/compare/1.34.160...1.34.161 )
---
updated-dependencies:
- dependency-name: boto3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-15 19:47:45 +02:00
tobitege
17c360c891
RuntimeClient: make _init_user more robust ( #3400 )
2024-08-15 16:42:39 +02:00
tobitege
3a77af8a22
copy manifest file into container ( #3396 )
2024-08-14 21:46:56 -04:00
mamoodi
5dab07094d
fix: Only run one deploy docs workflow at a time. Add comments ( #3398 )
2024-08-15 03:30:57 +02:00
Graham Neubig
50b1256c49
Add tests for agent controller ( #3357 )
...
* Add tests for agent controller
* Remove dead code
* Remove dead code
2024-08-15 04:58:16 +08:00
Xingyao Wang
b6243bb96b
feat: refactor image building logic into runtime builder ( #3395 )
...
* feat: refactor building logic into runtime builder
* return image name
* fix testcases
* use runtime builder for eventstream runtime
2024-08-14 20:02:12 +00:00
Engel Nyst
be2ea6ab35
logging fixes ( #3393 )
2024-08-14 21:21:42 +02:00
Engel Nyst
463c66a372
add error obs to codeact SWE ( #3392 )
2024-08-14 18:41:25 +00:00
tobitege
4095a7d5c9
_create_project_source_dist: run subprocess as shell ( #3390 )
2024-08-14 18:55:21 +02:00
dependabot[bot]
09e67d90a4
chore(deps): bump litellm from 1.43.9 to 1.43.10 ( #3388 )
2024-08-15 00:17:11 +08:00
dependabot[bot]
3fc8f5d4fa
chore(deps): bump boto3 from 1.34.159 to 1.34.160 ( #3387 )
2024-08-15 00:16:57 +08:00