161 Commits

Author SHA1 Message Date
Xingyao Wang
ced4ee3038
Fix: Display accumulated token usage in frontend metrics (#7803)
Co-authored-by: openhands <openhands@all-hands.dev>
2025-04-11 22:38:47 +08:00
Duc Pham
35d49f6941
feat (backend): Add support for MCP servers natively via CodeActAgent (#7637)
Co-authored-by: trungbach <trunga2k29@gmail.com>
Co-authored-by: quangdz1704 <Ntq.1704@gmail.com>
Co-authored-by: Xingyao Wang <xingyao6@illinois.edu>
2025-04-10 01:59:13 +00:00
OpenHands
06c68082bb
Fix issue #7658: [Bug]: BadRequestError from ContentPolicyViolationError (#7660)
Co-authored-by: Engel Nyst <enyst@users.noreply.github.com>
2025-04-03 21:36:16 +02:00
Xingyao Wang
292217b8b4
Implement frontend visualization for RecallObservation & Stop issueing recall action for agent message (#7566)
Co-authored-by: openhands <openhands@all-hands.dev>
2025-04-04 02:08:50 +08:00
Rohit Malhotra
9adfcede31
(Hotfix): Track reason for Error AgentState (#7584)
Co-authored-by: openhands <openhands@all-hands.dev>
2025-03-31 21:24:42 +00:00
Calvin Smith
abaf0da9fe
fix: Context window truncation using CondensationAction (#7578)
Co-authored-by: Calvin Smith <calvin@all-hands.dev>
Co-authored-by: Graham Neubig <neubig@gmail.com>
2025-03-31 13:47:00 -06:00
Calvin Smith
42712a44d8
(fix): Condensation events to reconstruct contexts added to event stream (#7353)
Co-authored-by: Calvin Smith <calvin@all-hands.dev>
2025-03-27 13:16:31 -06:00
Rohit Malhotra
76c992e2df
[Feat]: Trigger microagents on agent keywords (#7516) 2025-03-27 13:58:37 -04:00
Boxuan Li
f7d3516dec
Trajectory replay on web app (under feature flag) (#6348) 2025-03-24 14:40:07 -07:00
Xingyao Wang
6f9ced1c23
[Observability] add metadata to track llm request for sessions (#7381)
Co-authored-by: Robert Brennan <accounts@rbren.io>
2025-03-23 04:20:38 +08:00
Boxuan Li
d343e4ed9a
Config to save screenshots in trajectory (#7284) 2025-03-22 05:43:01 +00:00
Engel Nyst
6f204fd557
Fix stream iterator (#7384)
Co-authored-by: Rohit Malhotra <rohitvinodmalhotra@gmail.com>
2025-03-20 23:25:28 +01:00
Engel Nyst
34920ea04e
Save agent state (#7372) 2025-03-20 05:16:49 +01:00
chuckbutkus
c3d60b31d1
All-1465 Move user conversations (#7340) 2025-03-19 16:03:09 -04:00
Robert Brennan
cbc26a5e40
Pass litellm error types to user and update error message (#7344)
Co-authored-by: openhands <openhands@all-hands.dev>
2025-03-19 14:44:30 +00:00
Engel Nyst
259140ffc9
Add tests for NullObservation with cause > 0 and clarify event flow (#7315)
Co-authored-by: openhands <openhands@all-hands.dev>
2025-03-18 15:21:09 +00:00
Engel Nyst
cc45f5d9c3
Add RecallActions and observations for retrieval of prompt extensions (#6909)
Co-authored-by: openhands <openhands@all-hands.dev>
Co-authored-by: Calvin Smith <email@cjsmith.io>
2025-03-15 21:48:37 +01:00
Engel Nyst
2a7f926591
Detect condensation loops at 10 repetitions, not 3 (#7237) 2025-03-13 14:32:01 +00:00
AutoLTX
5e521a4a6e
Expose accumulate and llm_metric from eventstream (backend) (#7082)
Co-authored-by: Engel Nyst <enyst@users.noreply.github.com>
2025-03-11 12:18:08 +01:00
Rohit Malhotra
ac680e7688
[Fix]: Remove remaining hard coded refs to sessions store (#7176)
Co-authored-by: openhands <openhands@all-hands.dev>
2025-03-10 15:07:01 -04:00
Ray Myers
dc9489ddcd
Include metadata like session_id in logs (#7145) 2025-03-08 00:28:51 +01:00
Engel Nyst
22064d5555
Add condensation observation to history and detect its loop (#7132) 2025-03-06 18:52:45 +01:00
Graham Neubig
91ad59dc24
More explicit feedback message about how to report errors to developers (#7063) 2025-03-02 22:21:07 +00:00
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