iFurySt
dcaf51bc9e
fix: add the community-maintained model list ( #654 )
2024-04-04 23:21:17 -04:00
Anas DORBANI
5ec0e5b7ec
Switch to Poetry ( #378 )
...
* create the pyproject file
* Fix the pyproject.toml file
* Update Makefile
* adapt makefile
* fix some execution issues
* Untrack lock files and wait for the backend to get start before frontend
* Remove LangChain dependencies
* Add github action for pytest
* add missing dependency
* rebase and fix the versions adding lock file
* add torch and pymupdfb deps
* some conflicts fixes
* Add dependencies evaluation group
* add poetry.lock
* Fix unexpected operator
---------
Co-authored-by: Robert Brennan <contact@rbren.io>
2024-04-05 00:27:29 +00:00
Engel Nyst
e70767c226
clean up ( #721 )
2024-04-04 17:02:44 -05:00
Jack Quimby
0748f0b7ce
Doc: Updated documentation for Ollama ( #689 )
...
* doc: Guide for using local LLM with Ollama
* forgot to delete print statement
* typos
* Updated guide - new working method
* Move to docs folder
* Fixed front end overwrite local model name
* Update llm.py
* Delete docs/examples/images/example.png
deleted example.png
2024-04-04 09:24:44 -04:00
Engel Nyst
66031a67ba
Make max_iterations configurable ( #676 )
2024-04-03 16:28:56 -04:00
Jim Su
0c00e84e77
Send initialization arguments only when stored in localStorage ( #618 )
...
* Send initialization arguments only when stored in localStorage
* Fix mock default-model path
2024-04-03 13:56:47 -04:00
Jack Quimby
08a2dfb01a
Guide for Ollama local LLM ( #615 )
...
* doc: Guide for using local LLM with Ollama
2024-04-02 23:20:25 -04:00
universea
5f29df088a
Add playwright and show screenshoots on web browser ( #547 )
...
* add playwright and show screenshoots on web browser
* fix lints
* fix lint issues
* fix lint issues
* fix lint issues
* fix lint issues
* fix lint issues
2024-04-02 18:46:01 -04:00
Yufan Song
324a00f477
refactor(config): make a single source of truth file ( #524 )
...
* refactor
* fix nits
* add get from env
* refactor logic
2024-04-02 18:01:23 -04:00
Yufan Song
1af287a24b
optimize(sandbox): cleanup docker when disconnect to speed up restart speed ( #557 )
...
* clean docker when disconnect
* add check
2024-04-02 17:57:16 -04:00
Jim Su
0a8a857d00
fix: apply settings without explicit change ( #541 )
...
* fix: apply settings without explicit change
* Change default model to gpt-4-0125-preview and don't print settings selection on startup
2024-04-02 09:49:43 -04:00
Yufan Song
93b0156f34
fix ( #567 )
2024-04-02 08:12:12 -04:00
Yufan Song
3e2045626a
add max_iterations ( #566 )
2024-04-02 08:11:23 -04:00
xcodebuild
c992a9f464
feat: add mock apis ( #564 )
2024-04-02 08:10:47 -04:00
Xingyao Wang
16fe8303e7
support disable color printing via environment variable in config.toml ( #545 )
2024-04-02 07:21:30 -04:00
Xingyao Wang
fe736013cc
Print with color in controller ( #176 )
...
* and color-coded printing action abd obs
* fix langchains agent's observation
* remove color printing from codeact agent
* fix mypy
* fix ruff
* resolve conflict
* fix ruff
2024-04-02 13:13:19 +08:00
George Balch
a9f469f0e7
fix: Handle api key error ( #488 )
...
* Propagate exception up to task coroutine instead of breaking the for loop manually, await coroutine so exception is returned to caller
* Remove redundant traceback as is already called in step function lower on the stack
* Change message as error could occur in middle of task also
* Fix linter errors
* Raise exception only on api key error
* Add TODO
2024-04-01 22:49:06 -04:00
Robert Brennan
3e6508b7f1
Update Langchains Agent, rename to Monologue ( #402 )
...
* standardize on content vs contents
* remove langchain dep
* rename langchains to monologue
* unused imports
* Update agenthub/planner_agent/prompt.py
* update locks
* fix code editor
* fix agent list in frontend
2024-04-01 11:33:39 -04:00
Aravind Somaraj
26c9ce132b
style: Moved argument parsing statements into a separate function ( #503 )
...
* style: moved argument parsing into a separate function
* commito
* Update evaluation/regression/conftest.py
---------
Co-authored-by: Robert Brennan <accounts@rbren.io>
2024-04-01 10:47:58 -04:00
Patrick Nercessian
64281c4cc4
Transitioned to use LiteLLM Router to support retries and backoffs ( #501 )
2024-04-01 10:42:52 -04:00
Tess
8796a690d5
doc - Added code documentation for clarity ( #434 )
...
* doc - Added code documentaion to 'plan.py'
* doc - Added code documentation to 'session.py'
* doc - added code documentation for clarity
* doc - added documentation to 'conftest.py'
* doc - added code documentation to 'run_tests.pt'
* Update evaluation/regression/conftest.py
---------
Co-authored-by: Robert Brennan <accounts@rbren.io>
2024-04-01 10:22:09 -04:00
xcodebuild
1ae3f1bf6a
Fix API with vite proxy ( #454 )
...
* fix: use vite proxy for API and ws
* feat: add env var BACKEND_HOST
* feat: mock api for /litellm-models
2024-04-01 13:17:20 +08:00
iFurySt
a08c82d35e
ci: check if the image exists in ghcr.io to avoid repeat building and pushing ( #283 )
...
* ci: check if the image exists in ghcr.io to avoid repeat building and pushing.
* feat: add push MAJOR and MINOR version to ghcr.io
2024-03-31 11:30:13 -04:00
Robert Brennan
ec073834ad
Send error response instead of crashing ( #450 )
2024-03-31 11:17:23 -04:00
Manal Arora
87d56d961f
feat(frontend): adding functinality to get agents from backend server ( #406 )
...
* adding functinality to get agents from backend server
* dynamic selection of agents in backend
* adding the function listAgents
* Update opendevin/server/listen.py
* Update opendevin/agent.py
---------
Co-authored-by: Robert Brennan <accounts@rbren.io>
2024-03-30 19:45:55 -04:00
Robert Brennan
fd5618202e
Update sandbox.py ( #390 )
2024-03-30 19:35:59 -04:00
Yufan Song
2d8cb973a8
add container image ( #408 )
2024-03-30 14:58:31 -04:00
Robert Brennan
6bd566d780
simplify readme ( #366 )
...
* simplify readme
* Update config.toml.template
* Update vite.config.ts (#372 )
* Update vite.config.ts
* Update frontend/vite.config.ts
---------
Co-authored-by: Robert Brennan <accounts@rbren.io>
* remove old langchains infra
* remove refs to OPENAI_API_KEY
* simplify opendevin readme
---------
Co-authored-by: Engel Nyst <enyst@users.noreply.github.com>
2024-03-30 10:15:20 -04:00
Robert Brennan
effac868c1
Implement deserialization for actions and observations ( #359 )
...
* action deserializing
* add observation deserialization
* add tests
* refactor agents with serialization
* fix some errors
* fix lint
* fix json parser
2024-03-30 10:06:25 -04:00
Robert Brennan
f68ee45761
output prompt debug before response ( #348 )
2024-03-30 20:08:05 +08:00
Jim Su
1be355436d
Expose LiteLLM model names in backend ( #370 )
2024-03-29 19:34:32 -04:00
Hesham
0e1ba56ef0
Support --task-file argument for main.py ( #358 )
...
* Update main.py
* Update main.py
* Update opendevin/main.py
Co-authored-by: Robert Brennan <accounts@rbren.io>
* Update main.py
* Update main.py
* Update main.py
* Update main.py
---------
Co-authored-by: Robert Brennan <accounts@rbren.io>
2024-03-29 16:54:26 -04:00
Robert Brennan
3d7a86feb6
Fix TOML parser ( #363 )
...
* fix toml
* Update opendevin/config.py
* install types
* install types
* Revert "install types"
This reverts commit 820b38b1e20a6aa871b9c6bfe2f68df775c8f24f.
* fix install types
* non-interactive
2024-03-29 16:39:53 -04:00
iFurySt
2286e73912
fix: change to use the latest docker image. ( #290 )
...
Co-authored-by: Robert Brennan <accounts@rbren.io>
2024-03-29 15:59:52 -04:00
Yufan Song
a7b4a7ca2f
add byte order ( #292 )
2024-03-29 15:50:06 -04:00
Yufan Song
2def49e794
add ( #355 )
...
Co-authored-by: Robert Brennan <accounts@rbren.io>
2024-03-29 15:33:02 -04:00
Jim Su
b1b96df8a8
Replace environment variables with configuration file ( #339 )
...
* Replace environment variables with configuration file
* Add config.toml to .gitignore
* Remove unused os imports
* Update README.md
* Update README.md
* Update README.md
* Fix merge conflict
* Fallback to environment variables
* Use template file for config.toml
* Update config.toml.template
* Update config.toml.template
---------
Co-authored-by: Robert Brennan <accounts@rbren.io>
2024-03-29 15:26:20 -04:00
Robert Brennan
a6f0c066b5
Implement Planning ( #267 )
...
* add outline of agent
* add plan class
* add initial prompt
* plumb plan through a bit
* refactor state management
* move task into state
* fix errors
* add prompt parsing
* add task actions
* better serialization
* more serialization hacks
* fix fn
* fix recursion error
* refine prompt
* better description of run
* update prompt
* tighter planning mechanism
* prompt tweaks
* fix merge
* fix lint issues
* add error handling for tasks
* add graphic for plans
* remove base_path from file actions
* rename subtask to task
* better planning
* prompt updates for verification
* remove verify field
* ruff
* mypy
* fix actions
2024-03-29 11:47:29 -04:00
Robert Brennan
32a3a0259a
Serialization of Actions and Observations ( #314 )
...
* checkout geohotstan work
* merge session.py changes
* add observation ids
* ignore null actions and obs
* add back action messages
* fix lint
2024-03-29 10:49:40 -04:00
Robert Brennan
0322693ec2
remove base_path from file actions ( #320 )
...
* remove base_path from file actions
* unused imports
2024-03-29 11:55:25 +08:00
Yufan Song
e6633e6aae
refactor ( #318 )
2024-03-28 15:51:28 -04:00
Yufan Song
dedd09fdf5
add mkdir ( #317 )
2024-03-28 15:39:40 -04:00
Robert Brennan
94120f2b5d
refactor state management ( #258 )
...
* refactor state management
* rm import
* move task into state
* revert change
* revert a few files
2024-03-28 15:23:47 -04:00
Yufan Song
d993162801
feat(sandbox): add container process timeout kill machenism ( #316 )
...
* add timeout
* set timeout
2024-03-28 15:04:13 -04:00
Yufan Song
256a04b307
fix(sandbox): add get pid code and kill the process ( #274 )
...
* add get pid code and kill
* remove print
* apply suggestion
2024-03-28 10:41:17 -04:00
Kishore Chitrapu
73ea0e5803
Fix Docker container creation and error handling ( #280 )
...
* Fix Docker container creation and error handling
* updated patch based on the feedback
* add check docker message
2024-03-28 08:51:31 -04:00
digger yu
ed3bf194c7
fix typo ( #286 )
2024-03-28 19:27:50 +08:00
Robert Brennan
89e923679e
API schema draft ( #189 )
...
* add api schema draft
* Update README.md
* Update opendevin/server/README.md
2024-03-27 22:03:55 -04:00
Jim Su
2590570109
Add model and agent options in frontend ( #271 )
...
Add model and agent options in frontend
2024-03-27 21:09:22 -04:00
George Balch
16bf9d3cd2
Check for env var in parser argument default value or use hardcoded default ( #276 )
2024-03-27 20:55:16 -04:00