tobitege
7d31057904
feat: file explorer: better sorting; .gitignore support; file upload config ( #2621 )
...
* feat: file explorer: better sorting; .gitignore support; file upload config
* resolved poetry
* move config settings (no extra file); updated uploading of files; fix exception on refresh of removed folder
* removed console cmds; fix in a toast
* attempt fix of upload toasts
* fix new options' assignments in listen.py
2024-06-28 16:36:25 +00:00
Boxuan Li
7766a3283e
CodeActAgent: Fix delegate history ( #2672 )
2024-06-28 16:37:23 +09:00
மனோஜ்குமார் பழனிச்சாமி
af9385322b
Refactor: Simplify message formatting ( #2670 )
...
Removed redundant `str()` conversion in f-string.
2024-06-28 07:34:26 +02:00
மனோஜ்குமார் பழனிச்சாமி
9919d8e448
Provide [Package already installed] info to LLM ( #2642 )
...
* Provide [Package already installed] info to LLM
* regenerate tests
2024-06-27 09:03:54 +00:00
Engel Nyst
58b06cced7
Revert "Show relevant error in UI ( #2516 )" ( #2657 )
...
This reverts commit d0bdae232f .
2024-06-27 08:55:41 +00:00
Boxuan Li
ee86d8d25e
Frontend support for delegation and rejection ( #2608 )
...
1. Add support for rejection action on frontend
2. Show users the reason for rejection
3. Get rid of weird empty box after delegation
4. On web GUI, show customer when a delegation starts and ends
2024-06-26 00:30:10 -07:00
Xavier Vergés
cd91d45b44
Allow SANDBOX_CONTAINER_IMAGEs built from opendevin/sandbox:main ( #2622 )
2024-06-26 12:05:07 +08:00
Boxuan Li
7e78fde48f
Bug fix: add error observation to history ( #2610 )
...
* Bug fix: add error observation to history
* Regenerate to demonstrate format error
2024-06-24 21:24:17 -07:00
Boxuan Li
39d90c0b2a
Track metrics throughout delegation & Polish UX for out of budget error ( #2595 )
...
* Track metrics (costs) throught delegation
* Metrics should be shared across agents for better UX
* Update cost before starting delegate
2024-06-23 18:38:52 -07:00
Graham Neubig
45d7a53b91
Add links to a feedback sharing site ( #2580 )
...
* Add links to a feedback sharing site
* Remove console log
---------
Co-authored-by: sp.wack <83104063+amanape@users.noreply.github.com >
2024-06-22 09:36:31 +02:00
மனோஜ்குமார் பழனிச்சாமி
c743320201
Interactive Terminal ( #2493 )
...
* Interactive Terminal
* linted
* fixed tests
* fixed tests
* refactored logic
* remove console logs
2024-06-21 20:56:54 -06:00
Shimada666
5972498e23
No longer chown -R the miniforge3 folder ( #2566 )
...
* No longer chown -R the miniforge3 folder
* change miniforge3 group permission
2024-06-21 17:33:00 +00:00
Shimada666
64c2a783d4
Revert "Always pull sandbox image ( #2538 )" ( #2560 )
...
This reverts commit 6dd2491944 .
2024-06-21 08:09:26 +00:00
Shimada666
1ffaed48c4
Stop always pulling the latest image. ( #2558 )
...
LGTM, thanks!
2024-06-21 05:42:49 +00:00
மனோஜ்குமார் பழனிச்சாமி
6dd2491944
Always pull sandbox image ( #2538 )
2024-06-21 06:52:18 +05:30
Xingyao Wang
eac05d71fa
replace / for tag ( #2550 )
2024-06-20 11:09:29 -06:00
Robert Brennan
373a700599
Architecture documentation ( #2116 )
...
* add initial arch
* add agent
* update docs
* Update opendevin/README.md
* Update opendevin/README.md
* Update opendevin/README.md
2024-06-20 15:16:06 +00:00
Shimada666
9ec5e4f3e2
remove gcc ( #2536 )
2024-06-20 13:49:26 +05:30
Shimada666
26fc3c886a
Make plugins sandbox-agnostic ( #2101 )
...
* tmp
* tmp
* merge main
* feat: auto build image cache
* remove plugins
* use config file
* update mamba setup shell
* support agnostic sandbox image autobuild
* remove config
* Update .gitignore
Co-authored-by: Xingyao Wang <xingyao6@illinois.edu >
* Update opendevin/runtime/docker/ssh_box.py
Co-authored-by: Xingyao Wang <xingyao6@illinois.edu >
* update setup.sh
* readd sudo
* add sudo in dockerfile
* remove export
* move od-runtime dependencies to sandbox dockerfile
* factor out re-build logic into a separate util file
* tweak existing plugin to use OD specific sandbox
* update testcase
* attempt to fix unit test using image built in ghcr
* use cache tag
* try to fix unit tests
* add unittest
* add unittest
* add some unittests
* revert gh workflow changes
* feat: optimize sandbox image naming rule
* add pull latest image hint
* add opendevin python hint and use mamba to install gcc
* update docker image naming rule and fix mamba issue
* Update opendevin/runtime/docker/ssh_box.py
Co-authored-by: Boxuan Li <liboxuan@connect.hku.hk >
* fix: opendevin user use correct pip
* fix lint issue
* fix custom sandbox base image
* rename test name
* add skipif
---------
Co-authored-by: Graham Neubig <neubig@gmail.com >
Co-authored-by: Xingyao Wang <xingyao6@illinois.edu >
Co-authored-by: Boxuan Li <liboxuan@connect.hku.hk >
Co-authored-by: Yufan Song <33971064+yufansong@users.noreply.github.com >
Co-authored-by: tobitege <tobitege@gmx.de >
2024-06-19 19:58:07 -07:00
மனோஜ்குமார் பழனிச்சாமி
d0bdae232f
Show relevant error in UI ( #2516 )
2024-06-19 15:58:48 +05:30
Engel Nyst
80fe13f4be
rename our completion as a drop-in replacement of litellm completion ( #2509 )
2024-06-19 05:25:25 +02:00
Engel Nyst
b2307db010
Document, rename Agent* exceptions to LLM* ( #2508 )
...
* rename "Agent" exceptions to LLM*, document
* LLMResponseError
2024-06-18 22:30:22 +00:00
மனோஜ்குமார் பழனிச்சாமி
f4c917345f
Reworded port forward msg ( #2478 )
...
* Reworded port forward msg
* applied suggestions.
---------
Co-authored-by: tobitege <tobitege@gmx.de >
2024-06-17 11:40:37 +00:00
tobitege
d2509a19c8
fix: logger with more masking of sensitive data ( #2470 )
...
* fix: more logger sensitive masking
* fix: test_config.py updated for more sensitive patterns
* added one more...
2024-06-16 17:32:26 -04:00
tobitege
823298e0d0
fix: Agentskills enhancements ( #2384 )
...
* avoid repeat logging of unneeded messages
* refactored append/edit_file (tests next)
* agentskills and unit test fixes
* testing
* more changes and test prompts
* smaller changes
* final test fixes
* remove dead code from test_agent.py
* reverting unneeded changes
* updated tests, more tweaks to skills
* refactor (#2442 )
* chores: fix DelegatorAgent description (#2446 )
* change
* change comments
* fix
* stopped container to prevent port issues. (#2447 )
* chore: remove useless browsing code in CodeActSWEAgent (#2438 )
* remove useless
* fix integration test
* Regenerate test_ipython_module artifacts for CodeActSWEAgent
---------
Co-authored-by: Boxuan Li <liboxuan@connect.hku.hk >
* Merge remote-tracking branch 'upstream/main' into agent-fileops
* unneeded tweak
* * fix edit_file to not introduce extra newline
* updated docstrings with more details for LLM
* fix legacy typo in prompts causing ]] instead of ]
* several mock files regenerated
* Regen'ed CodeActSWEAgent integration tests
* fix _print_window signature; explicit exception type in _is_valid_path
* splitlines with named param
---------
Co-authored-by: Yufan Song <33971064+yufansong@users.noreply.github.com >
Co-authored-by: மனோஜ்குமார் பழனிச்சாமி <smartmanoj42857@gmail.com >
Co-authored-by: Boxuan Li <liboxuan@connect.hku.hk >
2024-06-16 15:06:46 -04:00
மனோஜ்குமார் பழனிச்சாமி
cb44c116cd
detailed jupyter error log ( #2448 )
2024-06-16 14:28:24 -04:00
Yufan Song
85c0eae31d
remove ( #2465 )
2024-06-17 00:45:48 +08:00
tobitege
2d824947f8
fix: improve toml parsing exception ( #2459 )
2024-06-16 14:27:21 +00:00
மனோஜ்குமார் பழனிச்சாமி
ac6ef8e59d
stopped container to prevent port issues. ( #2447 )
2024-06-15 00:31:33 +00:00
Engel Nyst
bb4ea1e6cb
Adjust is-stuck check for the same steps to 3 until it's stopped ( #2437 )
2024-06-14 19:20:12 +05:30
Engel Nyst
1cc70be616
workspace_mount_path sentinel: an undefined string ( #2431 )
2024-06-14 10:39:33 +05:30
tobitege
e4145aef66
avoid repeat logging of unneeded messages ( #2380 )
2024-06-10 20:08:09 +00:00
tobitege
9605106e72
feat: append_file incl. all tests [agentskills] ( #2346 )
...
* new skill: append_file incl. all tests
* more tests needed caring
* file_name for append_file/edit_file; updated tests
2024-06-10 17:18:40 +00:00
Yufan Song
f7491bd2fa
Refactor response to action in agent step ( #2350 )
...
* refactor action parser
* Fix typos
* fix typo
---------
Co-authored-by: Boxuan Li <liboxuan@connect.hku.hk >
2024-06-10 10:17:30 +00:00
tobitege
41344f0dfe
remove backtick handling from run_ipython ( #2347 )
2024-06-09 22:53:06 +00:00
Engel Nyst
fab8c9003b
remove deprecated github-token config ( #2334 )
...
Co-authored-by: Xingyao Wang <xingyao6@illinois.edu >
2024-06-09 09:50:24 +02:00
Boxuan Li
a9a2f10170
Revamp AgentRejectAction and allow ManagerAgent to handle rejection ( #1735 )
...
* Fix AgentRejectAction handling
* Add ManagerAgent to integration tests
* Fix regenerate.sh
* Fix merge
* Update README for micro-agents
* Add test reject to regenerate.sh
* regenerate.sh: Add support for running a specific test and/or agent
* Refine reject schema, and allow ManagerAgent to handle reject
* Add test artifacts for test_simple_task_rejection
* Fix manager agent tests
* Fix README
* test_simple_task_rejection: check final agent state
* Integration test: exit if mock prompt not found
* Update test_simple_task_rejection tests
* Fix test_edits test artifacts after prompt update
* Fix ManagerAgent test_edits
* WIP
* Fix tests
* update test_edits for ManagerAgent
* Skip local sandbox for reject test
* Fix test comparison
2024-06-08 23:12:30 -07:00
tobitege
a97d0767e9
fix: Backticks get always escaped by runtime; add Ipython test ( #2321 )
...
* added tests related to backticks
* updated .gitignore
* added extra linter test for #2210
* hotfix for integration test
* added test_ipython unit test
* added test_ipython unit test
* remove draft test from test_ipython.py
---------
Co-authored-by: Engel Nyst <enyst@users.noreply.github.com >
2024-06-08 21:02:27 +00:00
Yufan Song
1bdf8752e6
remote useless ( #2332 )
2024-06-08 19:04:43 +00:00
Aaron Xia
b5a17efc45
fix: codeact bug [If running a command that never returns, it gets stuck #1895 ] ( #2034 )
...
* fix: codeact bug https://github.com/OpenDevin/OpenDevin/issues/1895
* fix: add CmdRunAction timeout hint.
* Update agenthub/codeact_agent/prompt.py
Co-authored-by: Engel Nyst <enyst@users.noreply.github.com >
* regenerate integration test
---------
Co-authored-by: Engel Nyst <enyst@users.noreply.github.com >
Co-authored-by: Graham Neubig <neubig@gmail.com >
Co-authored-by: yufansong <yufan@risingwave-labs.com >
2024-06-08 16:40:23 +00:00
Yufan Song
06a6ffcb09
feat: revert hiden special paths change in file action ( #2328 )
...
* revert change in file action
* remove useless code
* make lint
2024-06-08 12:12:52 +00:00
Xingyao Wang
903381f16e
Add back jupyter PWD env var for agentskills ( #2327 )
...
* add back jupyter pwd env var for agentskills
* add unit test for pwd change in execute_cli
2024-06-08 08:51:42 +00:00
tobitege
5e42f140cb
fix: hide special paths; sort models ( #2325 )
2024-06-08 02:13:11 +00:00
tobitege
b431fce938
tests: more Agentskills tests; updated .gitignore ( #2307 )
...
* added tests related to backticks
* updated .gitignore
* added extra linter test for #2210
* hotfix for integration test
---------
Co-authored-by: Engel Nyst <enyst@users.noreply.github.com >
2024-06-07 16:29:03 +00:00
Frank Xu
48151bdbb0
[feat] WebArena benchmark, MiniWoB++ benchmark and related arch changes ( #2170 )
...
* add webarena, and revamp messaging for webarena eval
* add changes for browsergym
* update infer script
* fix unit tests
* update
* add multiple run for miniwob
* update instruction, remove personal path
* update
* add code for getting final reward, fix integration, add results
* add avg cost calculation
2024-06-06 09:01:20 +08:00
Aaron Xia
69542c9999
fix: there maybe unexpected files in event file list, not like 1.json… ( #2270 )
...
* fix: there maybe unexpected files in event file list, not like 1.json, 2.json, but .DS_Store for macOS system.
* log
---------
Co-authored-by: sp.wack <83104063+amanape@users.noreply.github.com >
2024-06-05 17:56:39 +08:00
மனோஜ்குமார் பழனிச்சாமி
2ffd54d258
fixed output logging ( #2244 )
...
Co-authored-by: Leo <ifuryst@gmail.com >
2024-06-04 16:05:23 +00:00
மனோஜ்குமார் பழனிச்சாமி
4e479038f9
Bugfix by added config to disable plugin initialization for Persistent sandbox ( #2179 )
...
* refactored source bashrc logic
* added initialize_plugins config
---------
Co-authored-by: Graham Neubig <neubig@gmail.com >
2024-06-04 10:59:30 -04:00
Graham Neubig
74e25920da
Transition to gcloud endpoint ( #2240 )
2024-06-04 01:20:04 +00:00
Leo
759f76fab5
Fix: Properly close Docker client in DockerExecBox to prevent resource leakage ( #2224 )
2024-06-04 09:05:41 +08:00