Ikko Eltociear Ashimine
7c69672301
Update listen.py ( #264 )
...
recieves -> receives
2024-03-27 14:40:08 -04:00
Robert Brennan
0403b460f1
remove auto-open from vite ( #254 )
2024-03-28 01:15:59 +08:00
Robert Brennan
895ed00d1a
Update README.md ( #256 )
2024-03-28 00:41:43 +08:00
Robert Brennan
9bc1890d33
add debug dir for prompts ( #205 )
...
* add debug dir for prompts
* add indent to dumps
* only wrap completion in debug mode
* fix mypy
2024-03-27 12:40:08 -04:00
iFurySt
89abc5e253
fix: move the makefile to correct path. ( #252 )
2024-03-27 23:53:40 +08:00
Jim Su
fcad0538fb
Refactor socket to handle both action and observation types ( #250 )
2024-03-27 11:34:28 -04:00
Robert Brennan
15a4c0044b
Update README.md
2024-03-27 11:12:15 -04:00
iFurySt
8b9fc3df28
feat: add workflow to ghcr ( #237 )
...
Co-authored-by: Xingyao Wang <xingyao6@illinois.edu >
2024-03-27 23:10:34 +08:00
George Balch
9b5190796e
fix: Add eslint to package.json ( #229 )
...
* Add eslint to package.json
* Use npm to install instead of yarn, update package-lock.json
---------
Co-authored-by: George Balch <george.balch@proton.me >
2024-03-27 11:08:39 -04:00
iFurySt
1c5c84faea
fix: delete the docker exec output prefix(8 bytes). ( #247 )
2024-03-27 11:05:07 -04:00
Robert Brennan
413f5b1c0b
standardize on LLM_MODEL ( #244 )
2024-03-27 09:41:13 -04:00
Robert Brennan
6b4a613578
Update README.md ( #243 )
2024-03-27 21:27:59 +08:00
Binyuan Hui
0cbe95dd35
feat: update opendevin logo ( #242 )
...
* update opendevin logo
* update opendevin logo
* remove 'open' text in the logo
2024-03-27 21:26:50 +08:00
Robert Brennan
ea10809a96
fix file write observations ( #225 )
...
* fix file write observations
* empty content for file write
2024-03-27 13:07:14 +08:00
Robert Brennan
95c128c3d6
Fix summaries ( #223 )
...
* fix summarization
* fix content vs contents issue
2024-03-26 16:55:00 -04:00
Robert Brennan
93656f3bb3
add error handling for action running ( #212 )
2024-03-26 16:42:27 -04:00
Yufan Song
9ab15b3287
add mock server ( #214 )
2024-03-26 16:15:20 -04:00
iFurySt
02a0367757
feat: add message related schema to FE and BE. ( #195 )
2024-03-26 12:06:30 -04:00
Robert Brennan
7cdfe63432
Add node version requirement to README ( #206 )
...
* Update README.md
* add engines to package.json
2024-03-26 12:05:48 -04:00
Robert Brennan
a6aa2d88cc
Fix messages in chat window ( #185 )
...
* fix messages from server
* fix observations
* fix file path arg
* revert session
2024-03-26 23:47:53 +08:00
Robert Brennan
134cc2bc84
fix summaries ( #191 )
2024-03-26 23:44:54 +08:00
Robert Brennan
9e924ab4b1
add error observations ( #196 )
2024-03-26 23:43:59 +08:00
Robert Brennan
4ee0ae9c4a
fix readme env vars ( #199 )
2024-03-26 10:43:11 -04:00
Giacomo Rocchetti
ecadff3442
Removed attach button ( #197 )
...
Co-authored-by: giacomo <Giacomo.Rocchetti@diatechpharmacogenetics.com >
2024-03-26 10:29:37 -04:00
Robert Brennan
983092c182
use utf8 encoding for file operations ( #180 )
2024-03-26 08:44:16 -04:00
Robert Brennan
0758db202c
fix bad observation check ( #184 )
...
* fix bad observation check
* fix add_history call
2024-03-26 08:35:06 -04:00
Robert Brennan
5d75e23fa0
add model picking docs ( #181 )
2024-03-26 07:57:47 -04:00
Robert Brennan
397f3fbc78
Add rewrite logic to help with docker-in-docker scenarios ( #146 )
...
* add rewrite logic
* Update opendevin/sandbox/sandbox.py
* Update sandbox.py
2024-03-26 07:38:57 -04:00
Xingyao Wang
3cb1e05c8c
update readme for new abstraction ( #173 )
2024-03-26 07:29:46 -04:00
Robert Brennan
486ec2d94a
Minor fixes for new Agent framework ( #158 )
...
* add message if exit happens before finish
* fix kill command
* fix browse action
* fix sandbox
* update requirements
* add status code
* refactor controller
* add try to callbacks
* fix background log collection
* format logs a bit more nicely
* run background procs in same container
* fix close command
* rename sockt
* fix up kills
* fix lint issues
* fix ruff
---------
Co-authored-by: Xingyao Wang <xingyao6@illinois.edu >
2024-03-26 12:55:33 +08:00
Jim Su
430527680f
Server: load environment variables from .env and document environment variables ( #137 )
...
Server: load environment variables from .env and document environment variables
2024-03-26 00:14:48 -04:00
Robert Brennan
eb4a261880
Create generic LLM client using LiteLLM ( #114 )
...
* add generic llm client
* fix lint errors
* fix lint issues
* a potential suggestion for llm wrapper to keep all the function sigatures for ide
* use completion partial
* fix resp
* remove unused args
* add back truncation logic
* fix add_event
* fix merge issues
* more merge issues fixed
* fix codeact agent
* remove dead code
* remove import
* unused imports
* fix ruff
* update requirements
* mypy fixes
* more lint fixes
* fix browser errors
* fix up observation conversion
* fix format of error
* change max iter default back to 100
* fix kill action
* fix docker cleanup
* add RUN_AS_DEVIN flag
* fix condense
* revert some files
* unused imports
---------
Co-authored-by: Xingyao Wang <xingyao6@illinois.edu >
Co-authored-by: Robert Brennan <rbren@Roberts-MacBook-Pro.local >
2024-03-26 12:10:23 +08:00
Robert Brennan
815b78595a
Fix sandbox user ID on windows ( #170 )
...
* set user id
* fix lint
2024-03-25 22:56:48 -04:00
Yufan Song
df14ce6c72
add version info ( #168 )
2024-03-25 21:17:34 -04:00
Hesham
6a1197f5c0
improve monologue ( #157 )
...
* improve monologue
* Update monologue.py
---------
Co-authored-by: Hesham Haroon <heshamharoon@Heshams-MacBook-Pro.local >
2024-03-25 19:15:40 -04:00
Hesham
847c2148a6
update messages ( #156 )
...
* update messages
* Update opendevin/action/agent.py
Co-authored-by: Robert Brennan <accounts@rbren.io >
* Update opendevin/action/agent.py
Co-authored-by: Robert Brennan <accounts@rbren.io >
---------
Co-authored-by: Hesham Haroon <heshamharoon@Heshams-MacBook-Pro.local >
Co-authored-by: Robert Brennan <accounts@rbren.io >
2024-03-25 19:15:23 -04:00
geohotstan
0e090773e3
updated pre-commit so it works ( #161 )
2024-03-25 18:28:32 -04:00
Robert Brennan
ad83a4d869
fix tag on sandbox ( #164 )
2024-03-25 18:24:30 -04:00
Robert Brennan
dc1a1e6685
Update README.md ( #160 )
2024-03-25 18:15:25 -04:00
Xingyao Wang
82f934d4cd
New Agent, Action, Observation Abstraction with updated Controller ( #105 )
...
* rearrange workspace_dir and max_step as arguments to controller
* remove unused output
* abstract each action into dataclass
* move actions
* fix action import
* move cmd manager and change method to private
* move controller
* rename action folder
* add state
* a draft of Controller & new agent abstraction
* add agent actions
* remove controller file
* add observation to perform a refractor on langchains agent
* revert to make this compatible via translation
* fix typo and translate error
* add error to observation
* index thought as dict
* refractor controller
* fix circular dependency caused by type hint
* add runnable attribute to agent
* add mixin to denote executable
* change baseclass
* make file read/write action compatible w/ docker directory
* remove event
* fix some merge issue
* fix sandbox w/ permission issue
* cleanup history abstraction since langchains agent is not really using it
* tweak to make langchains agent working
* make all actions return observation
* fix missing import
* add echo action for agent
* add error code to cmd output obs
* make cmd manager returns cmd output obs
* fix codeact agent to make it work
* fix all ruff issue
* fix mypy
* add import agenthub back
* add message for Action attribute (migrate from previous event)
* fix typo
* fix instruction setting
* fix instruction setting
* attempt to fix session
* ruff fix
* add .to_dict method for base and observation
* add message for recall
* try to simplify the state_updated_info with tuple of action and obs
* update_info to Tuple[Action, Observation]
* make codeact agent and langchains compatible with Tuple[Action, Observation]
* fix ruff
* fix ruff
* change to base path to fix minimal langchains agent
* add NullAction to potentially handle for chat scenario
* Update opendevin/controller/command_manager.py
Co-authored-by: Robert Brennan <accounts@rbren.io >
* fix event args
* set the default workspace to "workspace"
* make directory relative (so it does not show up to agent in File*Action)
* fix typo
* await to yield for sending observation
* fix message format
---------
Co-authored-by: Robert Brennan <accounts@rbren.io >
2024-03-26 01:56:58 +08:00
Ikko Eltociear Ashimine
bc9c9198c4
docs: update CONTRIBUTING.md ( #140 )
...
offical -> official
2024-03-25 11:24:57 -04:00
Robert Brennan
8a64d7c912
Fix read and write operations when LLM asks for absolute path ( #126 )
...
* fix resolution of filepaths
* fix imports
* Update write.py
2024-03-25 08:53:26 -04:00
Engin Can Dinc
e445f92281
Fix vertical layout for browser ( #135 )
2024-03-25 08:25:00 -04:00
Xingyao Wang
0c396d3bbd
Update README.md ( #134 )
2024-03-25 08:07:41 -04:00
Jim Su
9f8b61666a
Update README.md ( #132 )
...
Add demo video to README.md
2024-03-25 12:32:42 +08:00
Robert Brennan
d9c1bee2aa
Add instructions to README.md ( #129 )
...
* Update README.md
* add WORKSPACE_DIR env var
* Update README.md
* Update session.py
---------
Co-authored-by: Robert Brennan <rbren@Roberts-MacBook-Pro.local >
2024-03-25 11:35:12 +08:00
Jim Su
335a91610e
Wire up frontend ( #128 )
2024-03-25 10:07:38 +08:00
Robert Brennan
0f4a11685e
Add agenthub import to listen.py ( #127 )
2024-03-24 19:20:42 -04:00
Robert Brennan
a023fcae64
fix truncation logic ( #125 )
2024-03-24 18:46:01 -04:00
Robert Brennan
8ce2ac7648
Fix agenthub import ( #123 )
...
* fix agenthub import
* add noqa
2024-03-24 18:29:09 -04:00