Robert Brennan
4b743e90e2
dont close runtimes
2024-08-30 12:14:02 -04:00
Robert Brennan
505b47380f
try reuse_ids
2024-08-30 11:40:56 -04:00
Robert Brennan
e9f2959ad2
Merge branch 'main' into rb/parallel-tests
2024-08-30 11:37:20 -04:00
Robert Brennan
848fd38e7f
revert workflow
2024-08-30 11:30:42 -04:00
Robert Brennan
8b97144ae8
try reusing runtimes
2024-08-30 11:30:05 -04:00
tobitege
dbb671a8a5
logname fix; improve test calling instruction ( #3666 )
2024-08-30 17:15:31 +02:00
Graham Neubig
99139e9c72
Release to pypi ( #3667 )
...
* Release to pypi
* Change to match our actual versioning
2024-08-30 15:08:25 +00:00
dependabot[bot]
c0a5cc0ba8
chore(deps-dev): bump @testing-library/react in /frontend ( #3652 )
...
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library ) from 16.0.0 to 16.0.1.
- [Release notes](https://github.com/testing-library/react-testing-library/releases )
- [Changelog](https://github.com/testing-library/react-testing-library/blob/main/CHANGELOG.md )
- [Commits](https://github.com/testing-library/react-testing-library/compare/v16.0.0...v16.0.1 )
---
updated-dependencies:
- dependency-name: "@testing-library/react"
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-08-30 10:42:51 -04:00
dependabot[bot]
5956349a94
chore(deps): bump litellm from 1.44.7 to 1.44.9 ( #3654 )
...
Bumps [litellm](https://github.com/BerriAI/litellm ) from 1.44.7 to 1.44.9.
- [Release notes](https://github.com/BerriAI/litellm/releases )
- [Commits](https://github.com/BerriAI/litellm/compare/v1.44.7...v1.44.9 )
---
updated-dependencies:
- dependency-name: litellm
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-08-30 22:01:51 +08:00
niliy01
89e1c4f29c
feat: add more embed models that Ollama supports recently ( #3641 )
...
Signed-off-by: Yi Lin <teroincn@gmail.com >
2024-08-30 07:58:01 -04:00
tobitege
1ef83a8554
fix test_is_stuck.py to not fail on macos ( #3662 )
2024-08-30 05:06:30 +00:00
Xingyao Wang
090c911a50
(refactor) Make Runtime class synchronous ( #3661 )
...
* change runtime to be synchronous
* fix test runtime with the new interface
* fix arg
* fix eval
* fix missing config attribute
* fix plugins
* fix on_event by revert it back to async
* update upload_file endpoint
* fix argument to upload file
* remove unncessary async for eval;
fix evaluation run in parallel
* use asyncio to run controller for eval
* revert file upload
* truncate eval test result output
2024-08-30 01:37:03 +00:00
Robert Brennan
b0e52f121c
fix build for fork ( #3660 )
2024-08-29 21:49:38 +00:00
Robert Brennan
ece8fef739
implement GitHub action for integration regeneration ( #3659 )
...
* modify readme
* Regenerate integration tests
* actually run the integration tests
* fix python version
* add diff check
* remove colima
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-29 21:46:41 +00:00
Robert Brennan
cde8bddf62
give containers different names
2024-08-29 16:44:42 -04:00
Robert Brennan
09cfcfbee9
add (placeholder) workflow for regenerating the integration tests ( #3657 )
...
* add workflow
* add todo
2024-08-29 20:12:11 +00:00
Robert Brennan
06449ba69e
try running tests with 5 workers
2024-08-29 15:51:22 -04:00
mamoodi
37e6fa442e
Release 0.9.1 ( #3656 )
2024-08-29 13:55:29 -04:00
Xingyao Wang
8b1f207d39
feat: support remote runtime ( #3406 )
...
* feat: refactor building logic into runtime builder
* return image name
* fix testcases
* use runtime builder for eventstream runtime
* have runtime builder return str
* add api_key to sandbox config
* draft remote runtime
* remove extra if clause
* initialize runtime based on box class
* add build logic
* use base64 for file upload
* get runtime image prefix from API
* replace ___ with _s_ to make it a valid image name
* use /build to start build and /build_status to check the build progress
* update logging
* fix exit code
* always use port
* add remote runtime
* rename runtime
* fix tests import
* make dir first if work_dir does not exists;
* update debug print to remote runtime
* fix exit close_sync
* update logging
* add retry for stop
* use all box class for test keep prompt
* fix test browsing
* add retry stop
* merge init commands to save startup time
* fix await
* remove sandbox url
* support execute through specific runtime url
* fix file ops
* simplify close
* factor out runtime retry code
* fix exception handling
* fix content type error (e.g., bad gateway when runtime is not ready)
* add retry for wait until alive;
add retry for check image exists
* Revert "add retry for wait until alive;"
This reverts commit dd013cd268 .
* retry when wait until alive
* clean up msg
* directly save sdist to temp dir for _put_source_code_to_dir
* support running testcases in parallel
* tweak logging;
try to close session
* try to close session even on exception
* update poetry lock
* support remote to run integration tests
* add warning for workspace base on remote runtime
* set default runtime api
* remove server runtime
* update poetry lock
* support running swe-bench (n=1) eval on remoteruntime
* add a timeout of 30 min
* add todo for docker namespace
* update poetry loc
2024-08-29 15:53:37 +00:00
Shubham raj
296fa8182a
Mock config env variables ( #3621 )
2024-08-29 15:48:23 +00:00
tobitege
a2d94c9cb1
(enh) StuckDetector: fix+enhance syntax error loop detection ( #3628 )
...
* fix StuckDetector and add more errors for detection
* more stringent error detection and more unit tests
2024-08-29 17:33:54 +02:00
tobitege
ae153aa8ab
(enh) review of logger.py; less logging in AgentController ( #3648 )
...
* revised logger.py; agent_controller: less debug logging (every second)
* agent_controller._step: removed logging upon _pending_action
0.9.1
2024-08-29 16:07:38 +02:00
tobitege
fd0fad7362
improve github.md with more API commands with less code duplication ( #3651 )
2024-08-29 16:02:14 +02:00
tobitege
8fca5a5354
linter and test_aider_linter extensions for eslint ( #3543 )
...
* linter and test_aider_linter extensions for eslint
* linter tweaks
* try enabling verbose output in linter test
* one more option for linter test
* try conftest.py for tests/unit folder
* enable verbose mode in workflow; remove conftest.py again
* debug print statements of linter results
* skip some tests if eslint is not installed at all
* more tweaks
* final test skip setups
* code quality revisions
* fix test again
---------
Co-authored-by: Graham Neubig <neubig@gmail.com >
2024-08-29 10:40:43 +02:00
tobitege
c875a5fb77
(feat) Add Aider bench output visualizer ( #3643 )
...
* aider-bench: add visualization to summarize script and readme
* added example cost and actions histogram images for readme
* moved dependencies to evaluation section
2024-08-29 05:03:44 +00:00
niliy01
717929b5d4
docs: delete "ssh_box and image_agnostic_util references" in zh-hans doc ( #3647 )
...
Signed-off-by: Yi Lin <teroincn@gmail.com >
2024-08-29 04:36:35 +00:00
dependabot[bot]
216d624705
chore(deps-dev): bump llama-index from 0.11.1 to 0.11.2 ( #3637 )
...
Bumps [llama-index](https://github.com/run-llama/llama_index ) from 0.11.1 to 0.11.2.
- [Release notes](https://github.com/run-llama/llama_index/releases )
- [Changelog](https://github.com/run-llama/llama_index/blob/main/CHANGELOG.md )
- [Commits](https://github.com/run-llama/llama_index/compare/v0.11.1...v0.11.2 )
---
updated-dependencies:
- dependency-name: llama-index
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-08-29 10:33:49 +08:00
mamoodi
813b5a2c62
Added stale exemption for tracked issues ( #3638 )
2024-08-28 20:27:50 -04:00
dependabot[bot]
0a41e6c0cb
chore(deps): bump zope-interface from 7.0.2 to 7.0.3 ( #3630 )
...
Bumps [zope-interface](https://github.com/zopefoundation/zope.interface ) from 7.0.2 to 7.0.3.
- [Changelog](https://github.com/zopefoundation/zope.interface/blob/master/CHANGES.rst )
- [Commits](https://github.com/zopefoundation/zope.interface/compare/7.0.2...7.0.3 )
---
updated-dependencies:
- dependency-name: zope-interface
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-08-28 15:59:14 -07:00
dependabot[bot]
70c638a885
chore(deps-dev): bump streamlit from 1.37.1 to 1.38.0 ( #3631 )
...
Bumps [streamlit](https://github.com/streamlit/streamlit ) from 1.37.1 to 1.38.0.
- [Release notes](https://github.com/streamlit/streamlit/releases )
- [Commits](https://github.com/streamlit/streamlit/compare/1.37.1...1.38.0 )
---
updated-dependencies:
- dependency-name: streamlit
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-28 15:58:59 -07:00
dependabot[bot]
da19b2c297
chore(deps): bump boto3 from 1.35.5 to 1.35.7 ( #3632 )
...
Bumps [boto3](https://github.com/boto/boto3 ) from 1.35.5 to 1.35.7.
- [Release notes](https://github.com/boto/boto3/releases )
- [Commits](https://github.com/boto/boto3/compare/1.35.5...1.35.7 )
---
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>
Co-authored-by: tofarr <tofarr@gmail.com >
2024-08-28 15:58:45 -07:00
dependabot[bot]
6284f3c63a
chore(deps-dev): bump notebook from 7.2.1 to 7.2.2 ( #3633 )
...
Bumps [notebook](https://github.com/jupyter/notebook ) from 7.2.1 to 7.2.2.
- [Release notes](https://github.com/jupyter/notebook/releases )
- [Changelog](https://github.com/jupyter/notebook/blob/@jupyter-notebook/tree@7.2.2/CHANGELOG.md )
- [Commits](https://github.com/jupyter/notebook/compare/@jupyter-notebook/tree@7.2.1...@jupyter-notebook/tree@7.2.2 )
---
updated-dependencies:
- dependency-name: notebook
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>
Co-authored-by: yufansong <yufan@risingwave-labs.com >
2024-08-28 15:58:34 -07:00
dependabot[bot]
20efbc1bfb
chore(deps): bump json-repair from 0.28.3 to 0.28.4 ( #3634 )
...
Bumps [json-repair](https://github.com/mangiucugna/json_repair ) from 0.28.3 to 0.28.4.
- [Release notes](https://github.com/mangiucugna/json_repair/releases )
- [Commits](https://github.com/mangiucugna/json_repair/compare/v0.28.3...v0.28.4 )
---
updated-dependencies:
- dependency-name: json-repair
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>
Co-authored-by: yufansong <yufan@risingwave-labs.com >
2024-08-28 15:58:19 -07:00
dependabot[bot]
0b8ae460ac
chore(deps): bump google-cloud-aiplatform from 1.63.0 to 1.64.0 ( #3635 )
...
Bumps [google-cloud-aiplatform](https://github.com/googleapis/python-aiplatform ) from 1.63.0 to 1.64.0.
- [Release notes](https://github.com/googleapis/python-aiplatform/releases )
- [Changelog](https://github.com/googleapis/python-aiplatform/blob/main/CHANGELOG.md )
- [Commits](https://github.com/googleapis/python-aiplatform/compare/v1.63.0...v1.64.0 )
---
updated-dependencies:
- dependency-name: google-cloud-aiplatform
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: yufansong <yufan@risingwave-labs.com >
2024-08-28 15:57:58 -07:00
tobitege
daeff3dfaf
startup handling and logging of docker images tweaked ( #3645 )
2024-08-28 22:17:58 +00:00
dependabot[bot]
978951ef88
chore(deps-dev): bump @types/node from 22.5.0 to 22.5.1 in /frontend ( #3640 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 22.5.0 to 22.5.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
---
updated-dependencies:
- dependency-name: "@types/node"
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-08-28 21:09:28 +00:00
dependabot[bot]
94d1239155
chore(deps-dev): bump @tailwindcss/typography in /frontend ( #3639 )
...
Bumps [@tailwindcss/typography](https://github.com/tailwindlabs/tailwindcss-typography ) from 0.5.14 to 0.5.15.
- [Release notes](https://github.com/tailwindlabs/tailwindcss-typography/releases )
- [Changelog](https://github.com/tailwindlabs/tailwindcss-typography/blob/main/CHANGELOG.md )
- [Commits](https://github.com/tailwindlabs/tailwindcss-typography/compare/v0.5.14...v0.5.15 )
---
updated-dependencies:
- dependency-name: "@tailwindcss/typography"
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-08-28 22:49:34 +03:00
Graham Neubig
c6ba0e8339
Remove singleton config ( #3614 )
...
* Remove singleton config
* Fix tests
* Fix logging reset
* Fix pre-commit
2024-08-28 20:05:49 +01:00
tobitege
f8c4d1df45
(test) Fix test_agent_controller.py mock exceptions ( #3577 )
...
* fix test_agent_controller.py mock exceptions
* revert change to agent_controller.py
2024-08-28 19:05:22 +02:00
tobitege
9c39f07430
(enh) Aider-Bench: make resumable with skip_num arg ( #3626 )
...
* added optional START_ID env flag to resume from that instance id
* prepare_dataset: fix comparisons by using instance id's as int
* aider bench complete_runtime: close runtime to close container
* added matrix display of instance id for logging
* fix typo in summarize_results.py saying summarise_results
* changed start_id to skip_num to skip rows from dataset (start_id wasn't supportable)
* doc changes about huggingface spaces to temporarily point back to OD
2024-08-28 15:42:01 +00:00
Xingyao Wang
4ed45c7c9c
Update README.md ( #3629 )
2024-08-28 15:36:16 +00:00
Xingyao Wang
d9a8b53bc2
feat: specialize CodeAct into micro agents by providing markdown files ( #3511 )
...
* update microagent name and update template.toml
* substitute actual micro_agent_name for prompt manager
* add python-frontmatter
* support micro agent in codeact
* add test cases
* add instruction from require env var
* add draft gh micro agent
* update poetry lock
* update poetry lock
2024-08-28 14:58:16 +00:00
dependabot[bot]
653bc4ef6d
chore(deps): bump fastapi from 0.112.1 to 0.112.2 ( #3598 )
...
Bumps [fastapi](https://github.com/fastapi/fastapi ) from 0.112.1 to 0.112.2.
- [Release notes](https://github.com/fastapi/fastapi/releases )
- [Commits](https://github.com/fastapi/fastapi/compare/0.112.1...0.112.2 )
---
updated-dependencies:
- dependency-name: fastapi
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-08-28 10:05:37 +08:00
Xingyao Wang
98081b9b1b
(eval) EOF fixes for SWE-Bench evaluation ( #3623 )
...
* add error handling for client eof
* remove root check
* remove set -e
* echo USER to fix for swebench infer
* fix entry timeout
* add timeout;
fix runtime close
2024-08-27 21:09:31 +00:00
tobitege
0b8779447a
New README for OpenHands/openhands/runtime folder ( #3576 )
...
* new OpenHands/openhands/runtime/README.md - made by OpenHands
* move parts to server readme; fix OD runtime in docs
2024-08-27 21:04:50 +00:00
tobitege
097fbd6362
(fix) Enable and log if logging to file is enabled ( #3556 )
...
* enable logging to file also when DEBUG is active
* Log a message if logging to file is enabled
* log a message if DEBUG mode is enabled
2024-08-27 22:36:33 +02:00
Raj Maheshwari
0cdeb83b17
Enabling of unittests in aider benchmark should be optional. ( #3620 )
2024-08-27 17:25:55 +00:00
dependabot[bot]
292148826e
chore(deps-dev): bump jupyterlab from 4.2.4 to 4.2.5 ( #3616 )
2024-08-28 00:39:19 +08:00
dependabot[bot]
045c8367b7
chore(deps): bump zope-interface from 7.0.1 to 7.0.2 ( #3617 )
2024-08-28 00:38:49 +08:00
dependabot[bot]
0b391e09b5
chore(deps): bump litellm from 1.44.5 to 1.44.7 ( #3618 )
2024-08-28 00:38:37 +08:00