252 Commits

Author SHA1 Message Date
tofarr
d46d99a35e
More effective remote runtime identification (#6714) 2025-02-13 09:39:22 -07:00
tofarr
cb5e7f0130
Agent session no longer stuck in starting on raised exception (#6703) 2025-02-13 05:24:44 -07:00
Rohit Malhotra
312b9fbfb1
Feat: Add selected branch param to backend (#6508) 2025-02-12 15:39:10 -05:00
Xingyao Wang
f7c806c119
using all available system memory when RUNTIME_MAX_MEMORY_GB is not set (#6691) 2025-02-12 09:18:34 -05:00
Xingyao Wang
a371562d94
refactor: do not add DEBUG env var when it is not set (#6690) 2025-02-11 22:30:40 +00:00
Robert Brennan
1afe7f1058
Fix debug in remote runtime (#6688) 2025-02-11 17:43:46 +00:00
Xingyao Wang
3188646195
refactor(runtime): Use openhands-aci file editor directly in runtime instead of execute it through ipython (#6671)
Co-authored-by: openhands <openhands@all-hands.dev>
Co-authored-by: Graham Neubig <neubig@gmail.com>
Co-authored-by: Engel Nyst <enyst@users.noreply.github.com>
2025-02-12 01:37:44 +08:00
Xingyao Wang
6a6dc93e03
feat(runtime): use prlimit to limit resource usage of command to avoid OOM Runtime Kill (#6338)
Co-authored-by: openhands <openhands@all-hands.dev>
Co-authored-by: Engel Nyst <enyst@users.noreply.github.com>
Co-authored-by: Graham Neubig <neubig@gmail.com>
2025-02-11 11:21:11 +08:00
tofarr
2b40a92943
Fix for issue where temp file is empty (#6669) 2025-02-10 11:07:40 -07:00
Rohit Malhotra
9bdc8dda6c
[Enhancement]: Handle GH token refresh inside runtime (#6632) 2025-02-10 11:12:12 -05:00
Rohit Malhotra
4a5891cbea
[Bug fix]: Standardize SecretStr use (#6660)
Co-authored-by: Engel Nyst <enyst@users.noreply.github.com>
Co-authored-by: openhands <openhands@all-hands.dev>
2025-02-10 08:03:56 -05:00
Xingyao Wang
478b225d11
feat: Add LocalRuntime (#5284)
Co-authored-by: openhands <openhands@all-hands.dev>
Co-authored-by: Engel Nyst <enyst@users.noreply.github.com>
2025-02-07 16:35:14 +00:00
OpenHands
fe8b92743b
Fix issue #6531: [Bug]: GITHUB_TOKEN would missing when the runtime resume (#6533) 2025-02-04 17:48:25 -05:00
tofarr
cc104b2e44
Fix for typo (#6592) 2025-02-03 18:37:09 +00:00
tofarr
bbfdc62139
Fix for issue where retries continue on a closed runtime (#6564)
Co-authored-by: Xingyao Wang <xingyao6@illinois.edu>
2025-02-03 08:44:09 -07:00
Xingyao Wang
622fc5213d
[feat] support o3-mini (#6570) 2025-02-03 23:26:35 +08:00
Robert Brennan
7f4b5476dc
Add VSCode Hello World extension (#6463)
Co-authored-by: openhands <openhands@all-hands.dev>
Co-authored-by: Engel Nyst <enyst@users.noreply.github.com>
2025-01-31 11:48:59 -05:00
Ray Myers
83724100e5
fix: Don't close runtime on error (#6549) 2025-01-30 19:09:24 +00:00
Engel Nyst
d0276d1925
Quick fix log leak (#6545) 2025-01-30 17:32:35 +01:00
Xingyao Wang
1a9971b1bf
misc: make RemoteRuntime API timeout configurable (#6518)
Co-authored-by: Robert Brennan <accounts@rbren.io>
2025-01-30 06:30:18 +08:00
Engel Nyst
89c7bf59a7
Fix first user message (#6471) 2025-01-27 22:09:03 +01:00
tofarr
ffdab28abc
Fix Docker runtimes not stopping (#6470)
Co-authored-by: openhands <openhands@all-hands.dev>
2025-01-27 11:09:09 -07:00
Ray Myers
e619929909
Log restart reason if runtime reports it (#6455) 2025-01-25 07:20:18 +01:00
Xiaohua Zhang
ad2237d7dd
feat: vscode support for modal runtime (#6442)
Co-authored-by: Xiaohua Zhang <xiaohua.dev@gmail.com>
2025-01-24 01:39:07 +00:00
Aditya Bharat Soni
aebb583779
Support for VisualWebArena evaluation in OpenHands (#4773)
Co-authored-by: Xingyao Wang <xingyao@all-hands.dev>
Co-authored-by: openhands <openhands@all-hands.dev>
Co-authored-by: Graham Neubig <neubig@gmail.com>
2025-01-23 20:18:30 +00:00
tofarr
21d4ba0bbd
Feat: Stop runtimes rather than delete them (#6403)
Co-authored-by: openhands <openhands@all-hands.dev>
2025-01-23 07:43:02 -07:00
tofarr
318c811817
Added check to shutdown hook (#6402) 2025-01-21 22:32:46 +00:00
Xingyao Wang
ff3880c76d
fix(remote_runtime): define runtime_id first to fix attrbute error (#6393) 2025-01-21 18:13:43 +00:00
Xingyao Wang
1b6e444ecb
feat(remote runtime): do not resume runtime if not keep_runtime_alive (#6355)
Co-authored-by: Robert Brennan <accounts@rbren.io>
2025-01-19 21:42:00 +00:00
Xingyao Wang
2b04ee2e62
feat(eval): reliability improvement for SWE-Bench eval_infer (#6347) 2025-01-18 14:02:59 -05:00
Calvin Smith
f07ec7a09c
fix: Conversation creation accessing secret without unwrapping (#6335)
Co-authored-by: Calvin Smith <calvin@all-hands.dev>
2025-01-17 22:16:57 +00:00
Calvin Smith
a12087243a
Pydantic-based configuration and setting objects (#6321)
Co-authored-by: Calvin Smith <calvin@all-hands.dev>
Co-authored-by: Graham Neubig <neubig@gmail.com>
Co-authored-by: Engel Nyst <enyst@users.noreply.github.com>
2025-01-17 12:33:22 -07:00
Xingyao Wang
899c1f8360
fix(bash): also show timeout reminder when no_change_timeout is triggered (#6318)
Co-authored-by: Robert Brennan <accounts@rbren.io>
2025-01-18 03:31:23 +08:00
Engel Nyst
85a760e561
Simplify draft llm (#6281)
Co-authored-by: openhands <openhands@all-hands.dev>
2025-01-17 17:38:02 +00:00
tofarr
313c8eca20
Fix closing sessions (again) (#6322)
Co-authored-by: Robert Brennan <accounts@rbren.io>
2025-01-16 15:03:38 -07:00
Robert Brennan
9375e0d756
fix browser async lock (#6316) 2025-01-16 19:17:17 +00:00
Xingyao Wang
0bed17758f
fix: incorrect soft-timeout implementation & fix hard-timeout follow-up command (#6280) 2025-01-17 01:27:00 +08:00
Xingyao Wang
efe04baf34
Revert "Fix closing sessions" (#6300) 2025-01-16 09:14:56 -05:00
Xingyao Wang
179a89a211
Fix microagent loading with trailing slashes and nested directories (#6239)
Co-authored-by: openhands <openhands@all-hands.dev>
2025-01-15 17:07:40 +00:00
tofarr
8795ee6c6e
Fix closing sessions (#6114) 2025-01-15 10:04:22 -07:00
Engel Nyst
b9a70c8d5c
Delegation fixes (#6165) 2025-01-15 03:24:39 +00:00
Ray Myers
082d0b25c5
Send status message on runtime restart (#6275) 2025-01-15 03:21:06 +01:00
Robert Brennan
fa6792e5a6
Add GitHub repository information to system prompt (#6057)
Co-authored-by: openhands <openhands@all-hands.dev>
2025-01-15 08:02:07 +08:00
Robert Brennan
4da812c781
Better handling of stack traces and exc_info (#6253) 2025-01-14 10:22:39 -05:00
tofarr
4fa5c329d6
Fix : minor updates to log messages (#6232) 2025-01-13 17:19:51 +00:00
tofarr
b9884f7609
Fixes for minor cases where FDs were not closed (#6228) 2025-01-13 09:15:23 -07:00
tofarr
23473070b9
Revert "Config objects as Pydantic BaseModels (#6176)" (#6214) 2025-01-13 07:36:25 -07:00
Calvin Smith
873dddb4e8
Config objects as Pydantic BaseModels (#6176)
Co-authored-by: Calvin Smith <calvin@all-hands.dev>
Co-authored-by: Graham Neubig <neubig@gmail.com>
2025-01-12 15:09:45 -05:00
Boxuan Li
516e2da520
Custom runtime builder: fix NoEmptyContinuation error (#6211) 2025-01-11 15:58:08 -08:00
Xingyao Wang
f31ccad48b
feat: misc bash improvements, set max value for action-exec timeout, retry on requests.ConnectionError (#6175) 2025-01-11 04:36:12 +08:00