88 Commits

Author SHA1 Message Date
Calvin Smith
2eec4cea6f
Fix: Update context window exceeded detection (#7024)
Co-authored-by: Calvin Smith <calvin@all-hands.dev>
Co-authored-by: Engel Nyst <enyst@users.noreply.github.com>
2025-02-28 13:08:24 -07:00
tofarr
be73792230
Feat out of credits msg (#6969)
Co-authored-by: openhands <openhands@all-hands.dev>
2025-02-27 16:02:31 +00:00
Boxuan Li
fab4532f6b
Save complete trajectory in presence of history truncation (#6751)
Co-authored-by: Engel Nyst <enyst@users.noreply.github.com>
2025-02-21 00:14:30 -08:00
Boxuan Li
d33913e036
Add enable_history_truncation option to disable history truncation (#6820)
Co-authored-by: Engel Nyst <enyst@users.noreply.github.com>
2025-02-21 06:43:02 +00:00
Robert Brennan
3a478c2303
Better LLM retry behavior (#6557)
Co-authored-by: Engel Nyst <enyst@users.noreply.github.com>
2025-02-17 10:36:59 -05:00
Calvin Smith
341b695ad3
fix: Filter AgentCondensationObservation events from agent state (#6705)
Co-authored-by: Calvin Smith <calvin@all-hands.dev>
2025-02-13 11:50:05 -07:00
Boxuan Li
e487008e74
Trajectory replay: Fix a few corner cases (#6380) 2025-02-02 00:27:22 -08:00
Ray Myers
fd73f4210e
Show LLM retries and allow resume from rate-limit state (#6438)
Co-authored-by: Engel Nyst <enyst@users.noreply.github.com>
2025-01-30 21:51:47 +00:00
Boxuan Li
c9f16248d0
Add tests for trajectory replay (#6513) 2025-01-30 13:56:24 +00:00
Calvin Smith
473fcae57e
fix: Recover from ContextWindowExceededError (#6519)
Co-authored-by: Calvin Smith <calvin@all-hands.dev>
2025-01-29 15:25:46 -07:00
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
ec70af9412
refactor: Replace pexpect with libtmux in BashSession (#4881)
Co-authored-by: openhands <openhands@all-hands.dev>
Co-authored-by: Engel Nyst <enyst@users.noreply.github.com>
Co-authored-by: Robert Brennan <accounts@rbren.io>
2025-01-04 05:22:13 +08: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
Xingyao Wang
c1b514e9d3
refactor: restructure microagents system (#5886)
Co-authored-by: openhands <openhands@all-hands.dev>
Co-authored-by: Graham Neubig <neubig@gmail.com>
2025-01-03 07:13:18 +09: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
Xingyao Wang
2cc6a51fe8
chore: cleanup log - make "cannot restore state" a debug message (#5674) 2024-12-18 18:43:28 +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
Raj Maheshwari
2b06e4e5d0
[Feat] Custom MicroAgents. (#4983)
Co-authored-by: diwu-sf <di.wu@shadowfaxdata.com>
2024-12-06 17:11:06 -05: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
Faraz Shamim
4eea1286d4
Issue #4399 : Replaced all occurences (#4878)
Co-authored-by: sp.wack <83104063+amanape@users.noreply.github.com>
2024-11-12 10:58:09 +01:00
Engel Nyst
a45aba512a
Tweak log levels (#4729) 2024-11-11 22:51:56 +00:00
Robert Brennan
be82832eb1
Use keyword matching for CodeAct microagents (#4568)
Co-authored-by: Xingyao Wang <xingyao@all-hands.dev>
2024-11-09 11:25:02 -05:00