openhands
9212efcde2
Add ForbiddenError exception and proper HTTP status code handling
...
- Add ForbiddenError exception for permission-denied 403 errors
- Update http_client.py to raise ForbiddenError instead of UnknownException for non-rate-limit 403s
- Add exception handlers in app.py to return proper HTTP status codes:
* 429 for RateLimitError
* 403 for ForbiddenError
- Update tests to use ForbiddenError instead of UnknownException
This ensures:
- Rate limit errors (403 with 'rate limit' message) -> HTTP 429
- Permission errors (403 without rate limit) -> HTTP 403
- Unknown errors -> HTTP 500
Co-authored-by: openhands <openhands@all-hands.dev>
2025-11-13 13:51:36 +00:00
openhands
c616687b1a
Fix GitHub rate limit 403 errors being returned as 500
...
GitHub API returns 403 (not 429) when rate limits are exceeded.
The backend was treating all 403 errors as generic UnknownException,
which resulted in HTTP 500 errors being returned to users.
This fix:
- Detects 403 responses containing 'rate limit' in the error message
- Returns RateLimitError for rate limit cases
- Maintains UnknownException for other 403 errors (permissions, etc.)
- Adds tests to verify correct error type detection
Fixes #722
Co-authored-by: openhands <openhands@all-hands.dev>
2025-11-13 12:53:47 +00:00
sp.wack
8192184d3e
chore(backend): Add better PostHog tracking ( #11655 )
...
Co-authored-by: openhands <openhands@all-hands.dev>
2025-11-12 16:47:21 +00:00
Tim O'Farrell
8b6521de62
Fix for issue where conversation does not start ( #11695 )
2025-11-11 20:23:18 +00:00
mamoodi
11636edf15
Release 0.62.0 ( #11706 )
2025-11-11 14:57:13 -05:00
John Eismeier
967e9e1891
Propose fix some typos and ignore emacs backup files ( #11701 )
...
Signed-off-by: John E <jeis4wpi@outlook.com>
2025-11-11 09:20:42 -05:00
Tim O'Farrell
0e94833d5b
Now removing V1 sandboxes in the V0 endpoint ( #11671 )
2025-11-07 10:51:46 -07:00
Tim O'Farrell
ddf58da995
Fix V1 callbacks ( #11654 )
...
Co-authored-by: openhands <openhands@all-hands.dev>
2025-11-06 16:05:58 -07:00
Yakshith
75e54e3552
fix(llm): remove default reasoning_effort; fix Gemini special case ( #11567 )
2025-11-05 23:30:46 +01:00
Yuxiao Cheng
6b211f3b29
Fix stuck after incorrect TaskTrackingAction ( #11436 )
...
Co-authored-by: jarrycyx <dzdzzd@126.com>
Co-authored-by: Graham Neubig <neubig@gmail.com>
2025-11-05 22:09:51 +00:00
mamoodi
555444f239
Release 0.61.0 ( #11618 )
...
Co-authored-by: rohitvinodmalhotra@gmail.com <rohitvinodmalhotra@gmail.com>
2025-11-05 15:11:22 -05:00
Tim O'Farrell
d99c7827d8
More updates of agent_status to execution_status ( #11642 )
...
Co-authored-by: openhands <openhands@all-hands.dev>
2025-11-05 19:19:34 +00:00
Hiep Le
44fbd6c1b9
refactor(backend): the delete_app_conversation_info function ( #11648 )
2025-11-05 23:45:16 +07:00
eddierichter-amd
c544ea1187
localhost base_url fixup when running in a docker container ( #11474 )
...
Co-authored-by: Rohit Malhotra <rohitvinodmalhotra@gmail.com>
2025-11-04 17:57:25 -05:00
Graham Neubig
308d0e62ab
Change error logging to info for missing config files ( #11639 )
2025-11-04 21:27:13 +01:00
Tim O'Farrell
30b5ad1768
Fix for issue where conversations won't start ( #11633 )
2025-11-04 08:51:22 -07:00
Hiep Le
fa431fb956
refactor(backend): update get_microagent_management_conversations API to support V1 ( #11313 )
...
Co-authored-by: Tim O'Farrell <tofarr@gmail.com>
Co-authored-by: openhands <openhands@all-hands.dev>
Co-authored-by: sp.wack <83104063+amanape@users.noreply.github.com>
Co-authored-by: Engel Nyst <enyst@users.noreply.github.com>
2025-11-04 17:44:44 +07:00
Tim O'Farrell
2fc8ab2601
Bumped Software Agent SDK ( #11626 )
2025-11-03 14:53:12 -07:00
Hiep Le
8893f9364d
refactor: update delete_app_conversation to accept ID instead of object ( #11486 )
...
Co-authored-by: openhands <openhands@all-hands.dev>
Co-authored-by: Tim O'Farrell <tofarr@gmail.com>
2025-11-03 13:26:33 -07:00
Tim O'Farrell
727520f6ce
V1 CORS Fix ( #11586 )
...
Co-authored-by: openhands <openhands@all-hands.dev>
2025-11-03 12:14:02 -07:00
Yuxiao Cheng
9bcf80dba5
Adding error logging when config file is not found. ( #11419 )
...
Co-authored-by: jarrycyx <dzdzzd@126.com>
Co-authored-by: Engel Nyst <engel.nyst@gmail.com>
2025-11-03 13:19:48 -05:00
மனோஜ்குமார் பழனிச்சாமி
2a98cd9338
Fix import order for Windows PowerShell support ( #11557 )
2025-11-03 13:14:23 -05:00
Aphix
b85cc0c716
fix: Autodetect pwsh.exe & DLL path (Win/non-WSL) ( #11044 )
2025-11-03 08:27:30 -05:00
jpelletier1
15c207c401
Disables Copilot icon by default ( #11589 )
2025-10-31 17:06:15 +00:00
Tim O'Farrell
7272eae758
Fix remote sandbox permissions ( #11582 )
2025-10-30 22:13:02 +00:00
Tim O'Farrell
5894d2675e
V1 IDs without hyphens ( #11564 )
2025-10-30 16:33:16 +00:00
mamoodi
38f2728cfa
Release 0.60.0 ( #11544 )
...
Co-authored-by: rohitvinodmalhotra@gmail.com <rohitvinodmalhotra@gmail.com>
2025-10-29 16:17:46 -04:00
Tim O'Farrell
fccc6f3196
Fix permissions issue in docker Sandbox ( #11549 )
2025-10-28 20:24:54 +00:00
Rohit Malhotra
297af05d53
Remove V0 CLI ( #11538 )
2025-10-28 13:16:07 -04:00
sp.wack
a81bef8cdf
chore: Bump agent server ( #11520 )
...
Co-authored-by: openhands <openhands@all-hands.dev>
2025-10-28 16:21:19 +04:00
Ray Myers
450aa3b527
fix(llm): support draft editor retries by adding correct_num to LLMConfig ( #11530 )
...
Co-authored-by: openhands <openhands@all-hands.dev>
Co-authored-by: Justin Coffi <jcoffi+github@gmail.com>
2025-10-28 01:02:50 +00:00
Ray Myers
4decd8b3e9
Provide httpx default context for OS-provided certs ( #11505 )
...
Co-authored-by: Pierrick Hymbert <pierrick.hymbert@gmail.com>
2025-10-27 17:54:20 -05:00
Nick Ludwig
92b1fca719
feat: Add option to pass custom kwargs to litellm.completion ( #11423 )
...
Co-authored-by: Ray Myers <ray.myers@gmail.com>
2025-10-27 21:07:31 +00:00
Rohit Malhotra
eb616dfae4
Refactor: rename user secrets table to custom secrets ( #11525 )
...
Co-authored-by: openhands <openhands@all-hands.dev>
2025-10-27 16:58:07 +00:00
Tim O'Farrell
054c5b666f
Moved event search to background thread ( #11487 )
2025-10-26 09:39:27 -06:00
PiteXChen
0ff7329424
Optimize the condense conditions of the condenser ( #11332 )
...
Signed-off-by: CLFutureX <chenyongqyl@163.com>
Co-authored-by: mamoodi <mamoodiha@gmail.com>
2025-10-26 11:23:22 -04:00
Wolf Noble
86c590cdc3
feat: Expose session_id to sandbox/runtime container ( #10863 )
2025-10-26 11:21:38 -04:00
Robert Brennan
b5e00f577c
Replace All-Hands-AI references with OpenHands ( #11287 )
...
Co-authored-by: openhands <openhands@all-hands.dev>
Co-authored-by: Engel Nyst <engel.nyst@gmail.com>
Co-authored-by: Engel Nyst <enyst@users.noreply.github.com>
2025-10-26 01:52:45 +02:00
Rohit Malhotra
2631294e79
Fix: incorrect attribute in convo info service ( #11503 )
2025-10-24 16:33:36 -06:00
softpudding
17e32af6fe
Enhance dead-loop recovery by pausing agent and reprompting ( #11439 )
...
Co-authored-by: Engel Nyst <enyst@users.noreply.github.com>
Co-authored-by: openhands <openhands@all-hands.dev>
2025-10-24 11:25:14 +00:00
Tim O'Farrell
4b303ec9b4
Fixes to unblock frontend ( #11488 )
...
Co-authored-by: Ray Myers <ray.myers@gmail.com>
2025-10-23 14:43:45 -06:00
Tim O'Farrell
0c1c2163b1
The AsyncRemoteWorkspace class was moved to the SDK ( #11471 )
2025-10-23 09:39:56 -06:00
Hiep Le
e2d990f3a0
feat(backend): implement get_remote_runtime_config support for V1 conversations ( #11466 )
2025-10-22 15:38:25 +07:00
Hiep Le
f258eafa37
feat(backend): add support for updating the title in V1 conversations ( #11446 )
2025-10-22 13:36:56 +07:00
Tim O'Farrell
dbddc1868e
Fixes for VSCode code completion ( #11449 )
2025-10-21 21:39:50 +00:00
Tim O'Farrell
e34c13ea3c
Set dump mode to json to convert UUIDs to strings ( #11467 )
2025-10-21 19:20:56 +00:00
Alona
267528fa82
fix: refresh provider tokens proactively and update git URLs on resume ( #11296 )
2025-10-22 01:19:08 +07:00
Rohit Malhotra
9d19292619
V1: Experiment manager ( #11388 )
...
Co-authored-by: openhands <openhands@all-hands.dev>
2025-10-21 16:04:48 +00:00
Tim O'Farrell
44578664ed
Add Concurrency Limits to SandboxService ( #11399 )
...
Co-authored-by: openhands <openhands@all-hands.dev>
2025-10-20 20:22:12 +00:00
Tim O'Farrell
6d137e883f
Add VSCode URL support and worker ports to sandbox services ( #11426 )
...
Co-authored-by: openhands <openhands@all-hands.dev>
2025-10-20 18:43:08 +00:00