161 Commits

Author SHA1 Message Date
Robert Brennan
f60652dc5a
Hide hard-coded commands from the agent (#4330)
Co-authored-by: Engel Nyst <enyst@users.noreply.github.com>
Co-authored-by: sp.wack <83104063+amanape@users.noreply.github.com>
2024-10-14 20:40:22 +00:00
Kilian Lieret
746e6595d5
Fix: _interrupt_bash to send multiple Ctrl+C (#4390) 2024-10-14 19:59:42 +00:00
Robert Brennan
63ff69fd97
Allow attaching to existing sessions without reinitializing the runtime (#4329)
Co-authored-by: tofarr <tofarr@gmail.com>
2024-10-14 15:24:29 +00:00
Boxuan Li
7186224899
Dump trajectories with delegate history if configured (#4336) 2024-10-13 17:30:04 -07:00
Xingyao Wang
343cc8710f
[remote runtime] poll runtime info to wait until alive instead of using long timeout (#4334)
Co-authored-by: Engel Nyst <enyst@users.noreply.github.com>
Co-authored-by: Robert Brennan <accounts@rbren.io>
2024-10-13 20:38:03 +00:00
Engel Nyst
20455cea3e
(Browsing agent) Fix send_msg_to_user (#4354) 2024-10-13 13:37:23 -07:00
Engel Nyst
df23168c10
AgentDelegateAction: make delegate start with the task in execute tags, not the rest of the parent LLM response (#4327) 2024-10-13 13:17:51 -07:00
tofarr
4c5e2a339f
Feat: Async Goodies for OpenHands (#4347) 2024-10-11 15:34:44 -06:00
Engel Nyst
caa77cf7a6
Log cache hit/miss for deepseek (#4343) 2024-10-11 18:43:43 +02:00
sp.wack
36e304b3da
chore(backend): Refactor copy_from method to be more generic (#4278) 2024-10-10 12:10:35 -04:00
Robert Brennan
62a58ea5d3
fix container_image when using hard-coded image (#4322) 2024-10-10 15:45:14 +00:00
tofarr
f867fda2f9
Fix Graceful cleanup of session manager (#4306) 2024-10-10 09:15:29 -06:00
Xingyao Wang
b23c7aab5a
[eval] stop set sid in eval (#4311) 2024-10-10 11:47:27 +08:00
Robert Brennan
45fb4fb9bc
allow reconnecting to a runtime (#4223) 2024-10-09 16:37:52 +00:00
tofarr
5097c4fe71
[Runtime] Audit HTTP Retry timeouts (#4282) 2024-10-08 19:31:25 -06:00
tofarr
cdd05a98db
Lockup Resiliency and Asyncio Improvements (#4221) 2024-10-08 07:17:37 -06:00
Boxuan Li
568c8ce993
Runtime build fixes for OpenHands as a python library (#3989) 2024-10-07 19:50:07 -07:00
Robert Brennan
98b39023f4
Ask the agent not to push changes to GitHub (#4222)
Co-authored-by: Engel Nyst <enyst@users.noreply.github.com>
2024-10-08 01:14:14 +00:00
Engel Nyst
e6847e9e61
Move agenthub within openhands (#4130) 2024-10-08 00:34:18 +00:00
Aditya Bharat Soni
0809d26f4d
fix: Allow evaluation benchmarks to pass image urls in run_controller() instead of simply passing strings (#4100)
Co-authored-by: Xingyao Wang <xingyao@all-hands.dev>
2024-10-07 15:37:08 -04:00
Xingyao Wang
9c07370559
fix runtime_startup_env_vars not being used (#4250) 2024-10-07 15:33:12 -04:00
sp.wack
bfdd7fd620
feat(frontend): UI overhaul (#3604) 2024-10-07 23:15:38 +04:00
Engel Nyst
8c32ef2234
Fix to use async variant of completion (#4228) 2024-10-06 05:10:36 +02:00
Engel Nyst
9d0e6a24bc
Refactor embeddings (#4219) 2024-10-05 18:59:08 +00:00
Boxuan Li
40d2935911
BrowserOutputObservation: Remove axtree from log (#4206)
Co-authored-by: mamoodi <mamoodiha@gmail.com>
2024-10-05 11:07:40 -07:00
tofarr
e60eaf9a52
Feat Startup events for the remote runtime (#4210) 2024-10-04 12:33:57 -06:00
Robert Brennan
641a15356f
Better AWS S3 storage support (#4195) 2024-10-03 22:53:46 +00:00
Xingyao Wang
42649745bd
fix(runtime): fix bash interrupt on program that cannot be stopped via ctrl+c (#4161) 2024-10-04 06:48:44 +08:00
tofarr
ee6a1cf334
Fix issue where an exception is raised because we try to finish a thread that was never started (#4200) 2024-10-03 22:04:26 +02:00
tofarr
152f99c64f
Chore Bump python version (#3545) 2024-10-03 13:40:55 -04:00
tofarr
909e332207
Fix Better error message in development when version number changes. (#4188) 2024-10-03 17:37:10 +02:00
Xingyao Wang
16a2cf37da
fix: reuse config parser for cli (#4187) 2024-10-03 09:41:02 -04:00
Robert Brennan
9c95d0ff58
Enable authentication for runtime environments (#4179)
Co-authored-by: Xingyao Wang <xingyao@all-hands.dev>
2024-10-03 09:14:39 -04:00
Ikko Eltociear Ashimine
5c31fd9357
chore: update agent_session.py (#4186) 2024-10-03 07:00:45 +00:00
Engel Nyst
1abfd3b808
Retry on litellm's APIError, which includes 502 (#4167) 2024-10-03 01:54:49 +02:00
Xingyao Wang
e0594432e2
fix: build shutdown listener (#4147) 2024-10-02 22:25:10 +00:00
Xingyao Wang
e81c5597d6
feat(runtime): use micromamba instead of mamba and fix build issue (#4154) 2024-10-02 21:23:18 +00:00
Rehan Ganapathy
c8a933590a
(feat) allow specification of config.toml location via args (solves #3947) (#4168)
Co-authored-by: Rehan Ganapathy <rehanganapathy@MACASF.local>
2024-10-02 20:30:12 +00:00
tofarr
e0f8a5d508
Fix: Add timeout on websocket accept (#4169) 2024-10-02 10:51:12 -06:00
Xingyao Wang
d518ca08b7
standardize error message across remote runtime and eventstream runtime (#4159) 2024-10-02 22:42:17 +08:00
Graham Neubig
178dbfaf4a
Run pre-commit (#4163) 2024-10-02 04:52:02 +00:00
Xingyao Wang
240a470a1d Revert "add few seconds to properly receive timeout error from client"
This reverts commit dd2cb4399a654d90efe5bce3909c6db9575753ec.
2024-10-01 23:44:05 -04:00
Xingyao Wang
dd2cb4399a add few seconds to properly receive timeout error from client 2024-10-01 23:43:50 -04:00
tofarr
4eaf28d7b1
Fix ctrl c not working during startup (#4155) 2024-10-02 11:05:00 +08:00
Engel Nyst
5a45c648a8
attributes for BE/FE should not be sent (#4150) 2024-10-01 23:00:03 +00:00
Xingyao Wang
3cf794faef
fix(runtime build): only check for image exist on exact hash tag (#4152) 2024-10-01 22:20:25 +00:00
Robert Brennan
31b2e4b5b2
allow specifying exact remote image (#4135) 2024-10-01 13:17:51 -04:00
Robert Brennan
ec1a86f150
Handle errors when starting session (#4134) 2024-10-01 12:40:09 -04:00
Robert Brennan
8059e8e298
make runtime url configurable (#4093) 2024-09-30 18:59:57 +00:00
Xingyao Wang
54ac340e0b
refactor: standardize linter output data structure and interface (#4077)
Co-authored-by: Graham Neubig <neubig@gmail.com>
2024-10-01 02:40:23 +08:00