67 Commits

Author SHA1 Message Date
Robert Brennan
38e19d214d
Fix up conversation initialization (#6430)
Co-authored-by: openhands <openhands@all-hands.dev>
2025-01-24 18:43:02 +00:00
Boxuan Li
4383be1ab4
(feat) Add trajectory replay for headless mode (#6215) 2025-01-18 05:48:22 +00:00
Engel Nyst
b9a70c8d5c
Delegation fixes (#6165) 2025-01-15 03:24:39 +00:00
Engel Nyst
aabbbb6c6a
Fix duplicate state initialization (#6089) 2025-01-07 23:22:43 +01:00
Robert Brennan
e3a96097ba
Remove leaked exception (#6086)
Co-authored-by: openhands <openhands@all-hands.dev>
2025-01-07 16:15:47 +00:00
Xingyao Wang
f8735efadf
chore: improve error logging for RuntimeError (#6055) 2025-01-05 23:02:42 +00:00
Xingyao Wang
b7bbf0f5eb
fix(agent controller): missing await (#6040) 2025-01-05 04:57:07 +00:00
Xingyao Wang
f5f988e552
fix(agent controller): state.metrics is missing on exception (#6036) 2025-01-05 01:08:47 +00:00
sai krishna rohith k
ef2053011d
feat: Added RateLimitError status on UI and Agent state (#5910) 2025-01-04 12:07:07 -05:00
Xingyao Wang
dd10f37f66
chore: remove extra debugging print (#6005) 2025-01-03 16:02:48 +00:00
Robert Brennan
23df4a09d2
Handle BadRequests in agent controller (#5991)
Co-authored-by: OpenHands Bot <openhands@all-hands.dev>
Co-authored-by: Engel Nyst <enyst@users.noreply.github.com>
2025-01-03 09:29:01 -05:00
Xingyao Wang
c40b0b9ae1
chore: remove extra debug print (#5994) 2025-01-03 02:57:24 +00:00
Robert Brennan
f846b31eb8
Remove TaskAction functionality (#5959)
Co-authored-by: openhands <openhands@all-hands.dev>
2025-01-02 15:11:45 +00:00
Robert Brennan
50a0b1d91d
fix llm err handling (#5958) 2025-01-01 17:00:18 -05:00
Engel Nyst
40d8245089
Fix history loading when state was corrupt/non-existent (#5946)
Co-authored-by: openhands <openhands@all-hands.dev>
2024-12-31 21:46:35 +00:00
Robert Brennan
d29cc61aa2
Remove while True in AgentController (#5868)
Co-authored-by: openhands <openhands@all-hands.dev>
Co-authored-by: Engel Nyst <enyst@users.noreply.github.com>
Co-authored-by: amanape <83104063+amanape@users.noreply.github.com>
2024-12-31 16:10:36 -05:00
Engel Nyst
a2e9e206e8
Reset a failed tool call (#5666)
Co-authored-by: openhands <openhands@all-hands.dev>
2024-12-31 21:21:32 +01:00
Xingyao Wang
e9cafb0372
chore: Cleanup runtime exception handling (#5696) 2024-12-19 17:28:29 +00:00
OpenHands
239619a0a1
Fix issue #5633: [Bug]: Decimal points in maximum iteration messages not needed (#5635)
Co-authored-by: Graham Neubig <neubig@gmail.com>
2024-12-16 17:54:37 -05:00
OpenHands
4998b5de32
Fix issue #5559: The turn limit should be measured from the last user interaction (#5560)
Co-authored-by: Graham Neubig <neubig@gmail.com>
Co-authored-by: Engel Nyst <enyst@users.noreply.github.com>
2024-12-16 16:28:23 -05:00
Engel Nyst
f0257c793b
fix: allow to continue when the agent is stuck in interactive mode (#5597)
Co-authored-by: openhands <openhands@all-hands.dev>
2024-12-14 20:49:04 +01:00
Engel Nyst
7d0405282a
Apply context window truncation for certain bad requests (#5566) 2024-12-12 18:11:59 +00:00
Robert Brennan
5fa18511b3
minor fixes for when commands time out (#5518) 2024-12-10 21:55:02 +00:00
Engel Nyst
2874041381
Fix stuck execution flow (#5458) 2024-12-08 22:39:32 +01:00
Mislav Balunovic
871c544b74
fix: asyncio issues with security analyzer + enable security analyzer in cli (#5356) 2024-12-02 21:57:37 +04:00
tofarr
c7d89713e8
Feat socket io (#5056)
Co-authored-by: Robert Brennan <accounts@rbren.io>
Co-authored-by: Robert Brennan <contact@rbren.io>
2024-11-26 00:12:28 +00:00
Cheng Yang
3b18d77d31
Docs/improve agent controller docstrings (#5233) 2024-11-25 22:45:28 +01:00
Robert Brennan
c9ed9b166b
handle exceptions more explicitly (#4971) 2024-11-19 13:46:03 -05:00
Xingyao Wang
422104c877
fix #5111: add FunctionCallNotExistsError to handle cases where tool calling failed (#5113) 2024-11-18 21:21:46 -05:00
Robert Brennan
c784151765
fix file descriptor leaks (#4988)
Co-authored-by: openhands <openhands@all-hands.dev>
2024-11-14 14:06:33 -05:00
Xingyao Wang
07f0d1ccb3
feat(llm): convert function call request for non-funcall OSS model (#4711)
Co-authored-by: Calvin Smith <email@cjsmith.io>
2024-11-15 00:40:09 +08:00
Engel Nyst
8dee334236
Context Window Exceeded fix (#4977) 2024-11-14 02:42:39 +00:00
Robert Brennan
f55ddbed0e
fix docker leak (#4970) 2024-11-14 00:23:07 +08:00
Engel Nyst
a45aba512a
Tweak log levels (#4729) 2024-11-11 22:51:56 +00:00
Engel Nyst
47464a9cfa
Revert "Feature: Add ability to reconnect websockets" (#4801) 2024-11-07 01:56:39 +00:00
Engel Nyst
2b3fd94540
Fix init order in the agent controller (#4796)
Co-authored-by: tofarr <tofarr@gmail.com>
2024-11-06 22:44:12 +00:00
tofarr
0e5e754420
Feature: Add ability to reconnect websockets (#4526) 2024-11-06 18:12:31 +00:00
Rohit Malhotra
436ecb80a3
Logger fixes for openhands-resolver (#4710)
Co-authored-by: Graham Neubig <neubig@gmail.com>
2024-11-05 16:49:32 +00:00
tofarr
df9e9fca5a
Refactor: Shorter syntax. (#4753) 2024-11-05 16:09:14 +00:00
Engel Nyst
eeb2342509
Refactor history/event stream (#3808) 2024-11-05 03:36:14 +01:00
Robert Brennan
98751a3ee2
Refactor of error handling (#4575)
Co-authored-by: Engel Nyst <enyst@users.noreply.github.com>
Co-authored-by: Xingyao Wang <xingyao@all-hands.dev>
Co-authored-by: Xingyao Wang <xingyao6@illinois.edu>
2024-11-04 23:30:53 +00:00
Engel Nyst
1638968509
History microfixes (#4728) 2024-11-04 16:37:22 +01:00
Engel Nyst
0687608feb
[Arch proposal] ENVIRONMENT event source (#4584)
Co-authored-by: Xingyao Wang <xingyao@all-hands.dev>
2024-11-01 02:33:13 +08:00
Robert Brennan
30eeaa641c
Major logging overhaul (#4563) 2024-10-29 07:30:50 +01:00
Xingyao Wang
ae13171194
feat(agent): CodeAct with function calling (#4537)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: tobitege <10787084+tobitege@users.noreply.github.com>
Co-authored-by: Engel Nyst <enyst@users.noreply.github.com>
Co-authored-by: tofarr <tofarr@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-29 11:06:33 +08:00
Robert Brennan
a20da54e3a
Remove verbose log from agent controller (#4585) 2024-10-27 15:50:23 +00:00
Xingyao Wang
98d4884ced
fix(controller): stop when run into loop (#4579) 2024-10-26 19:40:58 -05:00
Xingyao Wang
be3cbb045e
fix(controllor): make agent controller stops when encounter fatal observation (#4573) 2024-10-26 13:28:27 -05:00
Xingyao Wang
7340b78962
feat(eval): rewrite log_completions to save completions to directory (#4566) 2024-10-25 16:36:11 +00:00
tofarr
ee2c2ff2b8
Feat changed "is_confirmed" to "confirmation_state" (#4508) 2024-10-24 13:35:14 -06:00