Leo
759f76fab5
Fix: Properly close Docker client in DockerExecBox to prevent resource leakage ( #2224 )
2024-06-04 09:05:41 +08:00
மனோஜ்குமார் பழனிச்சாமி
cfae6821fa
refactored timeout ( #2044 )
2024-05-24 18:19:14 +02:00
Robert Brennan
5bdacf738d
Refactor session management ( #1810 )
...
* refactor session mgmt
* defer file handling to runtime
* add todo
* refactor sessions a bit more
* remove messages logic from FE
* fix up socket handshake
* refactor frontend auth a bit
* first pass at redoing file explorer
* implement directory suffix
* fix up file tree
* close agent on websocket close
* remove session saving
* move file refresh
* remove getWorkspace
* plumb path/code differently
* fix build issues
* fix the tests
* fix npm build
* add session rehydration
* fix event serialization
* logspam
* fix user message rehydration
* add get_event fn
* agent state restoration
* change history tracking for codeact
* fix responsiveness of init
* fix lint
* lint
* delint
* fix prop
* update tests
* logspam
* lint
* fix test
* revert codeact
* change fileService to use API
* fix up session loading
* delint
* delint
* fix integration tests
* revert test
* fix up access to options endpoints
* fix initial files load
* delint
* fix file initialization
* fix mock server
* fixl int
* fix auth for html
* Update frontend/src/i18n/translation.json
Co-authored-by: Xingyao Wang <xingyao6@illinois.edu >
* refactor sessions and sockets
* avoid reinitializing the same session
* fix reconnect issue
* change up intro message
* more guards on reinit
* rename agent_session
* delint
* fix a bunch of tests
* delint
* fix last test
* remove code editor context
* fix build
* fix any
* fix dot notation
* Update frontend/src/services/api.ts
Co-authored-by: Boxuan Li <liboxuan@connect.hku.hk >
* fix up error handling
* Update opendevin/server/session/agent.py
Co-authored-by: Boxuan Li <liboxuan@connect.hku.hk >
* Update opendevin/server/session/agent.py
Co-authored-by: Boxuan Li <liboxuan@connect.hku.hk >
* Update frontend/src/services/session.ts
Co-authored-by: Boxuan Li <liboxuan@connect.hku.hk >
* fix build errs
* fix else
* add closed state
* delint
* Update opendevin/server/session/session.py
Co-authored-by: Engel Nyst <enyst@users.noreply.github.com >
---------
Co-authored-by: Xingyao Wang <xingyao6@illinois.edu >
Co-authored-by: Graham Neubig <neubig@gmail.com >
Co-authored-by: Boxuan Li <liboxuan@connect.hku.hk >
Co-authored-by: Engel Nyst <enyst@users.noreply.github.com >
2024-05-22 18:33:16 +00:00
Leo
e89cc8f19b
Feat: add stream output to exec_run ( #1625 )
...
* Feat: add stream output to exec_run
* Using command timeout to control the exec_box's timeout.
* add bash -c to source command to compatible for sh.
Signed-off-by: ifuryst <ifuryst@gmail.com >
* Feat: add stream output to SSHBox execute
Signed-off-by: ifuryst <ifuryst@gmail.com >
* fix the test case fail.
Signed-off-by: ifuryst <ifuryst@gmail.com >
* fix the test case import wrong path for method.
Signed-off-by: ifuryst <ifuryst@gmail.com >
---------
Signed-off-by: ifuryst <ifuryst@gmail.com >
2024-05-16 14:37:49 +00:00
Xingyao Wang
755a4072b6
Support specify timeout for long running tasks ( #1756 )
...
* support specify timeout for long running tasks
* add timeout for all existing sandbox impl
* Update opendevin/runtime/docker/local_box.py
Co-authored-by: Yufan Song <33971064+yufansong@users.noreply.github.com >
* Update opendevin/runtime/docker/exec_box.py
Co-authored-by: Yufan Song <33971064+yufansong@users.noreply.github.com >
* Update opendevin/runtime/docker/ssh_box.py
Co-authored-by: Yufan Song <33971064+yufansong@users.noreply.github.com >
* Update opendevin/runtime/e2b/sandbox.py
Co-authored-by: Yufan Song <33971064+yufansong@users.noreply.github.com >
* Update opendevin/runtime/sandbox.py
Co-authored-by: Yufan Song <33971064+yufansong@users.noreply.github.com >
---------
Co-authored-by: Yufan Song <33971064+yufansong@users.noreply.github.com >
2024-05-13 10:17:03 +00:00
Jim Su
f8d4b1ab0d
Use generic types ( #1680 )
2024-05-10 04:21:22 +02:00
Engel Nyst
446eaec1e6
Refactor config to dataclasses ( #1552 )
...
* mypy is invaluable
* fix config, add test
* Add new-style toml support
* add singleton, small doc fixes
* fix some cases of loading toml, clean up, try to make it clearer
* Add defaults_dict for UI
* allow config to be mutable
error handling
fix toml parsing
* remove debug stuff
* Adapt Makefile
* Add defaults for temperature and top_p
* update to CodeActAgent
* comments
* fix unit tests
* implement groups of llm settings (CLI)
* fix merge issue
* small fix sandboxes, small refactoring
* adapt LLM init to accept overrides at runtime
* reading config is enough
* Encapsulate minimally embeddings initialization
* agent bug fix; fix tests
* fix sandboxes tests
* refactor globals in sandboxes to properties
2024-05-09 22:48:29 +02:00
மனோஜ்குமார் பழனிச்சாமி
73693ba416
Mentioned LLM logs directory ( #1587 )
...
* Update bug_template.yml
* Pythonized
* updated configs type
* updated opendevin_logger
* fixed bool config
* fixed bool config
2024-05-09 13:31:14 -04:00
Robert Brennan
45d1b6969a
Allow setting env vars inside sandboxes ( #1652 )
...
* add env to all sandboxes
* add unit tests
2024-05-09 15:39:31 +08:00
Shimada666
30de484d49
feat: merge identical url from different error messages ( #1572 )
2024-05-04 15:55:10 -04:00
Binyuan Hui
b2a99b509f
fix the issue where session id might be duplicated ( #1557 )
...
Co-authored-by: Xingyao Wang <xingyao6@illinois.edu >
2024-05-03 15:47:19 +00:00
Robert Brennan
fadcdc117e
Migrate to new folder structure in preparation for refactor ( #1531 )
...
* fix up folder structure
* update docs
* fix imports
* fix imports
* fix imoprt
* fix imports
* fix imports
* fix imports
* fix test import
* fix tests
* fix main import
2024-05-02 17:01:54 +00:00