Commit Graph

1561 Commits

Author SHA1 Message Date
Xingyao Wang
2b668b1506 add exception handling for update_pwd_decorator 2024-07-28 14:03:45 -04:00
Xingyao Wang
382424d5f7 change parsing output as debug 2024-07-28 14:01:55 -04:00
Xingyao Wang
aab2093ed1 test for different container images 2024-07-28 14:00:12 -04:00
Xingyao Wang
4edaf45c60 update warning message 2024-07-28 13:57:02 -04:00
Xingyao Wang
7d486f4290 update warning message 2024-07-28 13:56:55 -04:00
Xingyao Wang
31c6d2631f fix enable auto lint as env var 2024-07-28 13:51:35 -04:00
Xingyao Wang
876c398f11 Merge branch 'main' into xw/run-as-user 2024-07-29 00:49:52 +08:00
Xingyao Wang
2270a8a479 merge runtime tests in CI 2024-07-28 12:49:36 -04:00
Xingyao Wang
3277bf7bf4 move agnostic image test to test_runtime 2024-07-28 12:32:01 -04:00
Xingyao Wang
5ec62b2514 fix ServerRuntime agentskills issue 2024-07-28 12:25:04 -04:00
Xingyao Wang
ca6fa27b9e support agentskills import in
move tests for jupyter pwd tests;
overload `add_env_vars` for EventStreamRuntime to update env var also in Jupyter;
make agentskills read env var lazily, in case env var is updated;
2024-07-28 11:51:14 -04:00
மனோஜ்குமார் பழனிச்சாமி
eb182f492e Feat: Dev Container for GitHub Codespaces (#2689)
* Workaround for GitHub Codespaces

* Add devcontainer config

* rename devcontainer folder

* install netcat

* add VS Code Python extension

* apt update

* give executable path to avoid bugs

* configure poetry env

* fix postCreateCommand

* revert executable path

* add postStartCommand

* run in background

* Add Codespaces badge

* add default config

* Add Codespaces badge to doc

* update comment

* apply workaround 2

* refactor

* fix lib path

* Update on_create.sh

* pass env directly to cmd

* resolve unexpected merge conflicts

* Separated to #2850

* Update README.md

Co-authored-by: Graham Neubig <neubig@gmail.com>

* Update codespaces link

* Update README.md

* Separated to #2975

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Graham Neubig <neubig@gmail.com>
2024-07-28 07:44:18 -04:00
Xingyao Wang
3b29565119 make plugin's init async;
chdir at initialization of jupyter plugin;
move ipy simple testcase to test runtime;
2024-07-27 23:56:18 -04:00
Xingyao Wang
58d2c36ab9 fix user-specific jupyter by fixing the pypoetry virtualenv folder 2024-07-27 23:38:16 -04:00
Xingyao Wang
3ad2072fd5 move over multi-line echo related tests to test_runtime 2024-07-27 18:44:32 -04:00
Xingyao Wang
57d451b31b move all run-as-devin tests from sandbox;
only tests a few cases on different user to save time;
2024-07-27 18:39:18 -04:00
Xingyao Wang
3a7215899e handle the case when username is root 2024-07-27 18:31:44 -04:00
Xingyao Wang
ccd61b5593 add run-as-devin to all the runtime tests 2024-07-27 18:24:40 -04:00
Xingyao Wang
6fbf3e47e1 fix test runtime for run as od 2024-07-27 18:19:04 -04:00
Xingyao Wang
3decd7ab0a fix run as other user;
make test async;
2024-07-27 18:15:37 -04:00
Xingyao Wang
8919833e6a Merge commit 'b1ea204c5bdbdd086b82045c9c4b5efbcf09aecc' into xw/run-as-user 2024-07-27 17:13:33 -04:00
Xingyao Wang
b1ea204c5b Migrate multi-line-bash-related sandbox tests into runtime tests and fix multi-line issue (#3128)
* Remove global config from memory

* Remove runtime global config

* Remove from storage

* Remove global config

* Fix event stream tests

* Fix sandbox issue

* Change config

* Removed transferred tests

* Add swe env box

* Fixes on testing

* Fixed some tests

* Merge with stashed changes

* Fix typing

* Fix ipython test

* Revive function

* Make temp_dir fixture

* Remove test to avoid circular import

* fix eventstream filestore for test_runtime

* fix parse arg issue that cause integration test to fail

* support swebench pull from custom namespace

* add back simple tests for runtime

* move multi-line bash tests to test_runtime;
support multi-line bash for esruntime;

* add testcase to handle PS2 prompt

* use bashlex for bash parsing to handle multi-line commands;
add testcases for multi-line commands

* revert ghcr runtime change

---------

Co-authored-by: Graham Neubig <neubig@gmail.com>
2024-07-27 20:12:57 +00:00
mamoodi
8b77e8a0ff chore: Release 0.8.2 (#3150) 2024-07-27 17:54:39 +00:00
Engel Nyst
3328669b89 fix Finish action to sent its 'thoughts' in the prompt (#3149) 2024-07-27 17:37:44 +00:00
Engel Nyst
9ed95abf83 Fix max budget per task error in headless mode (#3147)
* set agent in ERROR instead of PAUSED when in headless mode

* fallback to config value for budget
2024-07-27 17:35:40 +00:00
Xingyao Wang
b5d3fcaba8 [docs] Update README.md for new OpenDevin Runtime (#3142)
* Update README.md

* address comment

* remove DEBUG flag
2024-07-27 15:45:09 +00:00
Engel Nyst
a29c795418 clear last_error when restoring a session (#3146) 2024-07-27 15:34:36 +00:00
Xingyao Wang
b7f8a53a39 Apply stash 2024-07-27 11:09:31 -04:00
Xingyao Wang
01773d18be revert ghcr runtime change 2024-07-27 10:56:46 -04:00
Xingyao Wang
94cfe898b0 Merge commit 'f07280153aafe3531edef3d63cbe4d108ca9933a' into xw/migrate-sandbox-tests 2024-07-27 10:56:08 -04:00
Xingyao Wang
e69c0417bf use bashlex for bash parsing to handle multi-line commands;
add testcases for multi-line commands
2024-07-27 10:52:13 -04:00
Engel Nyst
f07280153a restore logging of user messages when using cli (#3145) 0.8.2 2024-07-27 12:58:23 +00:00
tofarr
437e0c76bf Icon transparency (#3138)
I noticed that in dark modes the icons don't look as good as they could - making the outlines transparent makes them pop a bit more

Co-authored-by: Tim O'Farrell <tofarr@Tims-MacBook-Pro-2.local>
2024-07-26 21:29:41 -04:00
Xingyao Wang
5a04b14ce4 add testcase to handle PS2 prompt 2024-07-26 16:16:21 -04:00
Xingyao Wang
1cb22e0934 move multi-line bash tests to test_runtime;
support multi-line bash for esruntime;
2024-07-26 15:36:22 -04:00
Xingyao Wang
be4696f297 add back simple tests for runtime 2024-07-26 15:03:32 -04:00
tobitege
c0adca1e30 fix DummyAgent (#3137) 2024-07-26 18:59:25 +00:00
Xingyao Wang
1c813a2fa0 support swebench pull from custom namespace (#3136) 2024-07-26 18:46:36 +00:00
Xingyao Wang
403eb17487 Merge commit '3301beffecb25548c4c4cf72738b1bbb145b98a3' into xw/migrate-sandbox-tests 2024-07-26 14:43:44 -04:00
Xingyao Wang
ddb1cc540d Merge commit 'db81b08aceb6f2e08dbf0176bd9efc75e0133ed1' into xw/migrate-sandbox-tests 2024-07-26 14:43:41 -04:00
Graham Neubig
275ea706cf Remove remaining global config (#3099)
* Remove global config from memory

* Remove runtime global config

* Remove from storage

* Remove global config

* Fix event stream tests

* Fix sandbox issue

* Change config

* Removed transferred tests

* Add swe env box

* Fixes on testing

* Fixed some tests

* Fix typing

* Fix ipython test

* Revive function

* Make temp_dir fixture

* Remove test to avoid circular import
2024-07-26 18:43:32 +00:00
Xingyao Wang
5e96ffcae3 Merge commit '0aa6f931af019fed827babdf402cccc7ddf10f09' into xw/migrate-sandbox-tests 2024-07-26 14:43:05 -04:00
Anatolij Vasilev
3301beffec fixed broken shell command (#3135) 2024-07-26 18:36:20 +00:00
Xingyao Wang
0aa6f931af support swebench pull from custom namespace 2024-07-26 18:06:02 +00:00
Xingyao Wang
db81b08ace Merge branch 'main' into neubig/remove_remaining_global_config 2024-07-27 01:50:01 +08:00
Xingyao Wang
006e64ef80 fix parse arg issue that cause integration test to fail 2024-07-26 13:49:01 -04:00
Xingyao Wang
af9c67f1ee fix eventstream filestore for test_runtime 2024-07-26 13:35:32 -04:00
Xingyao Wang
1e4b5e1320 Merge commit '6c4cce01a7e825536a94009f09c7f54f0fa15cfc' into xw/migrate-sandbox-tests 2024-07-26 13:20:04 -04:00
dependabot[bot]
6c4cce01a7 chore(deps-dev): bump openai from 1.37.0 to 1.37.1 (#3134)
Bumps [openai](https://github.com/openai/openai-python) from 1.37.0 to 1.37.1.
- [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.37.0...v1.37.1)

---
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-07-26 17:01:16 +00:00
dependabot[bot]
e62a7c08f8 chore(deps): bump boto3 from 1.34.148 to 1.34.149 (#3133)
Bumps [boto3](https://github.com/boto/boto3) from 1.34.148 to 1.34.149.
- [Release notes](https://github.com/boto/boto3/releases)
- [Commits](https://github.com/boto/boto3/compare/1.34.148...1.34.149)

---
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-07-27 00:11:07 +08:00