Robert Brennan
469059eaf8
Update openhands/server/listen.py
2024-11-08 15:30:11 -05:00
openhands
9888184289
Add JWT signing to GitHub auth cookie
...
- Sign GitHub auth cookie with JWT using config.jwt_secret
- Add expiration time to JWT payload
- Validate JWT signature and expiration in middleware
- Maintain backward compatibility with X-GitHub-Token header
2024-11-08 20:28:37 +00:00
openhands
3356753f79
Add cookie-based GitHub authentication caching
...
- Add cookie in /authenticate endpoint with 1-hour expiration
- Check for cookie in attach_session middleware before calling GitHub API
- Support cookie auth in WebSocket endpoint
- Maintain backward compatibility with X-GitHub-Token header
2024-11-08 20:23:07 +00:00
Boxuan Li
88dbe85594
Make trajectories_path support file path ( #4840 )
2024-11-08 06:26:12 +00:00
Robert Brennan
fc05d8d4eb
instruct the agent to comment less ( #4681 )
2024-11-08 05:21:48 +08:00
Xingyao Wang
dc0e223d1a
fix(agent controller): misplaced runtime.connect that cause swebench workspace to fail ( #4826 )
2024-11-08 01:50:33 +08:00
tofarr
932de79154
Fix: Buffering zip downloads to files rather than holding in memory ( #4802 )
2024-11-07 10:24:30 -07:00
Robert Brennan
fa625fed70
Retry on github auth failure ( #4767 )
2024-11-07 16:57:06 +00:00
Xingyao Wang
f9fa1d95cb
fix(RemoteRuntime): add retry for pod status after /start ( #4825 )
2024-11-07 16:22:47 +00:00
Xingyao Wang
8166bf768a
fix(agent, browsing): too long tool description for openai ( #4778 )
2024-11-08 00:11:08 +08:00
Xingyao Wang
4405b109e3
Fix issue #4809 : [Bug]: Model does not support image upload when usin… ( #4810 )
...
Co-authored-by: openhands <openhands@all-hands.dev >
2024-11-07 02:28:16 +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
1bd46f3832
Fix - terminal not working ( #4800 )
2024-11-06 20:34:42 +00:00
Xingyao Wang
8a063fdf6a
fix(agent): not default to /repo path ( #4799 )
2024-11-06 20:21:41 +00:00
tofarr
0e5e754420
Feature: Add ability to reconnect websockets ( #4526 )
2024-11-06 18:12:31 +00:00
Robert Brennan
74b3335b7d
Bugfix: fix session close ( #4765 )
2024-11-05 14:11:15 -05:00
Xingyao Wang
55c41212c8
chore: update browser message to be more human-readable in UI ( #4761 )
2024-11-05 17:05:19 +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
Xingyao Wang
24117143ae
feat(llm): add new haiku into func calling support model ( #4738 )
2024-11-04 22:38:00 +00:00
Xingyao Wang
1d2a616be7
Fix issue #4739 : '[Bug]: The agent doesn'"'"'t know its name' ( #4740 )
...
Co-authored-by: openhands <openhands@all-hands.dev >
Co-authored-by: Graham Neubig <neubig@gmail.com >
2024-11-04 21:24:35 +00:00
Xingyao Wang
966da7b7c8
feat(agent, CodeAct 2.2): native CodeAct support for Browsing ( #4667 )
...
Co-authored-by: tofarr <tofarr@gmail.com >
2024-11-05 00:27:27 +08:00
Engel Nyst
1638968509
History microfixes ( #4728 )
2024-11-04 16:37:22 +01:00
Robert Brennan
250fcbe62c
Various async fixes ( #4722 )
2024-11-04 10:08:09 -05:00
Polygons1
f6c2b287bc
Fix for #4717 ( #4721 )
2024-11-04 08:24:00 +08:00
Xingyao Wang
ab188d026d
Revert "Fix permissions on __init__.py" ( #4718 )
2024-11-04 05:10:43 +08:00
Robert Brennan
316fc260f6
Fix list-files async calls ( #4720 )
...
Co-authored-by: Engel Nyst <enyst@users.noreply.github.com >
2024-11-03 10:52:53 -08:00
Robert Brennan
aab7fa483b
Fix permissions on __init__.py ( #4713 )
2024-11-03 22:14:42 +08:00
Ryan H. Tran
4446d3180f
fix: use None check instead of falsy ( #4705 )
2024-11-02 12:44:03 -04:00
Robert Brennan
7b8241e424
fix auth when there are no allow lists ( #4707 )
2024-11-02 16:25:35 +00:00
Xingyao Wang
1747b3d6b2
fix: prompt caching ( #4704 )
2024-11-02 07:21:21 -04:00
Robert Brennan
36623a16da
Minor auth fixes ( #4699 )
2024-11-01 18:33:29 -07:00
Robert Brennan
b27fabe504
Add Google Sheets integration for GitHub user verification ( #4671 )
...
Co-authored-by: openhands <openhands@all-hands.dev >
Co-authored-by: Graham Neubig <neubig@gmail.com >
2024-11-01 15:17:15 -07:00
Xingyao Wang
adf7ab5849
fix: handle the case where LLM assistant return None instead of empty string ( #4690 )
2024-11-01 19:13:01 +00:00
tofarr
6414b1af6e
Fix agent session error in logs ( #4669 )
2024-11-01 10:50:56 +08:00
tofarr
dd55290f4e
Fix : app unresponsive on startup ( #4668 )
2024-10-31 14:30:33 -07:00
tofarr
be77baea31
refactor: remove unused methods and constants from Session class ( #4662 )
...
Co-authored-by: openhands <openhands@all-hands.dev >
2024-10-31 14:55:37 -06:00
Robert Brennan
a812e2b5f1
Add cookie-based authentication to all routes ( #4642 )
...
Co-authored-by: openhands <openhands@all-hands.dev >
Co-authored-by: sp.wack <83104063+amanape@users.noreply.github.com >
2024-10-31 12:18:42 -07:00
tofarr
4ebff5aaf3
Fix unawaited ( #4665 )
2024-10-31 19:16:37 +00: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
Ziru "Ron" Chen
db4e1dbbec
[eval] Add ScienceAgentBench. ( #4645 )
...
Co-authored-by: Xingyao Wang <xingyao@all-hands.dev >
2024-11-01 02:30:55 +08:00
Robert Brennan
e17f7b22a6
Remove hidden commands from feedback ( #4597 )
...
Co-authored-by: Xingyao Wang <xingyao@all-hands.dev >
Co-authored-by: Xingyao Wang <xingyao6@illinois.edu >
Co-authored-by: Graham Neubig <neubig@gmail.com >
2024-10-31 08:49:47 -07:00
Engel Nyst
0ea5dcc781
Remove console leak ( #4648 )
2024-10-30 20:33:42 +00:00
Engel Nyst
1c9cdaf1a2
Fix old string serializer ( #4644 )
2024-10-30 19:26:26 +00:00
Engel Nyst
bde978cf0f
Fix Openrouter ( #4641 )
2024-10-30 18:31:24 +00:00
Xingyao Wang
2587220b12
fix(llm): fallback when model is out of function calling supported list ( #4617 )
...
Co-authored-by: openhands <openhands@all-hands.dev >
2024-10-31 01:54:50 +08:00
OpenHands
866ba6e3b2
Fix issue #4629 : [Bug]: Replace claude-3-5-sonnet-20240620 with claude-3-5-sonnet-20241022 ( #4631 )
...
Co-authored-by: Graham Neubig <neubig@gmail.com >
2024-10-30 17:16:04 +00:00