25 Commits

Author SHA1 Message Date
Alona King
ad024b3e3e feat(cli): add enterprise gateway support via configuration files
Adds support for enterprise LLM gateways through TOML configuration files,
enabling OpenHands CLI usage in corporate environments with custom API
management solutions.

Features:
- Load gateway configuration from TOML file via --gateway-config flag
- Support for environment variable OPENHANDS_GATEWAY_CONFIG
- Environment variable expansion in config values (${ENV:VAR_NAME})
- Comprehensive example configuration file with documentation
- Clean separation from interactive setup flow

Implementation:
- Added gateway_config.py module for loading and parsing TOML configs
- Thread gateway config through CLI entry to agent initialization
- Apply gateway settings when creating LLM instance
- Update tests to handle new gateway_config_path parameter
- Remove interactive gateway setup to keep UI simple

This enables enterprise customers to configure:
- OAuth2/token authentication with identity providers
- Custom headers for routing and authorization
- Request body parameters for compliance/monitoring
- All without impacting the standard user experience

Note: Requires openhands-sdk>=1.0.0a6 once the SDK PR is merged.
Currently set to >=1.0.0a4 for compatibility.
2025-10-29 16:12:28 -04:00
Alona King
b2071944fb feat: add enterprise gateway support for LLM providers
Add comprehensive support for enterprise API gateways (e.g., Tachyon) including:
- Gateway authentication with identity provider token management
- Token caching with TTL-based expiration
- Custom headers and body parameters for gateway requests
- Template variable substitution for dynamic values
- CLI configuration UI for gateway settings
- Full test coverage for gateway functionality

This enables OpenHands to integrate with enterprise environments that require
authenticated access through API gateways for LLM providers.
2025-10-27 17:05:52 -04:00
Rohit Malhotra
5ed1dde2e9
CLI Patch Release 1.0.2 (#11448) 2025-10-21 15:32:00 +00:00
Rohit Malhotra
9efe6eb776
Simplify security analyzer confirmation: replace two reject options with single 'Reject' option (#11443)
Co-authored-by: openhands <openhands@all-hands.dev>
Co-authored-by: Engel Nyst <enyst@users.noreply.github.com>
2025-10-20 19:45:42 +00:00
Xingyao Wang
2889f736d9
Use PyPI version of Agent-SDK (#11411) 2025-10-20 17:25:54 +00:00
Ryan H. Tran
fab64a51b7
Add support for claude-haiku-4-5 (#11434) 2025-10-20 19:56:40 +07:00
Rohit Malhotra
cc18a18874
[Hotfix, V1 CLI]: Include missing condenser prompt template in binary executable (#11428)
Co-authored-by: openhands <openhands@all-hands.dev>
2025-10-19 18:18:23 +00:00
Rohit Malhotra
fe82cfd277
Hotfix(CLI VI): unable to launch via default entrypoint (#11354) 2025-10-14 10:39:49 -04:00
Rohit Malhotra
5076f21e86
CLI(V1): Patch release (#11349) 2025-10-13 22:11:59 +00:00
Rohit Malhotra
2640d43159
Fix API key disappearing bug when updating CLI settings (#11351)
Co-authored-by: openhands <openhands@all-hands.dev>
2025-10-13 21:02:58 +00:00
Rohit Malhotra
609fefc1b6
Fix CLI binary GLIBC compatibility for older Linux systems (#11337)
Co-authored-by: openhands <openhands@all-hands.dev>
2025-10-13 18:52:52 +00:00
Rohit Malhotra
5db0d495d4
RM CLI version on opening page (#11347) 2025-10-13 18:33:57 +00:00
Rohit Malhotra
60fa7b3d01
[Hotfix, CLI(V1)]: Prevent crashing cli when confirmation mode disabled (#11343) 2025-10-13 17:43:22 +00:00
Rohit Malhotra
cca2a55166
Fix openhands CLI executable entry point in pyproject.toml (#11338)
Co-authored-by: openhands <openhands@all-hands.dev>
2025-10-13 15:04:46 +00:00
Ryan H. Tran
c5e58572d5
fix(cli): escape action content before passing to HTML (#11333) 2025-10-13 22:02:26 +07:00
llamantino
c0ce78c64a
fix: remove the hardcoded 5-minute timeout from the docker pull command (#11322) 2025-10-13 10:00:10 -04:00
Rohit Malhotra
c9d8782566
V1(CLI): Release (#11317) 2025-10-10 15:25:19 +00:00
Rohit Malhotra
22f67d309c
CLI(V1): Multi platform build + release support (#11244)
Co-authored-by: Yakshith <yakshith.kommineni@gmail.com>
Co-authored-by: openhands <openhands@all-hands.dev>
2025-10-09 19:02:02 +00:00
Rohit Malhotra
9fe4e9715a
CLI(V1): Fix confirmation mode breaking on weaker models (#11274)
Co-authored-by: openhands <openhands@all-hands.dev>
2025-10-09 17:31:09 +00:00
Rohit Malhotra
7de32b2579
CLI(V1): expose advanced settings setup for first time users (#11288)
Co-authored-by: openhands <openhands@all-hands.dev>
2025-10-09 11:12:37 -04:00
Rohit Malhotra
c0221e5468
CLI(V1): Fix /status command (#11272)
Co-authored-by: openhands <openhands@all-hands.dev>
2025-10-07 19:15:50 +00:00
Rohit Malhotra
997bf8efae
CLI(V1): start new conversations without exiting CLI using /new command (#11262)
Co-authored-by: openhands <openhands@all-hands.dev>
2025-10-07 11:28:16 -04:00
Rohit Malhotra
23d325cb16
CLI(V1): GUI Launcher (#11257)
Co-authored-by: openhands <openhands@all-hands.dev>
2025-10-07 11:23:58 -04:00
Xingyao Wang
fbf0429434
Filter all warnings in CLI when DEBUG is disabled (#11246)
Co-authored-by: openhands <openhands@all-hands.dev>
2025-10-06 21:26:04 +08:00
Rohit Malhotra
3bf038ed7c
CLI(V1) (#11220)
Co-authored-by: openhands <openhands@all-hands.dev>
Co-authored-by: Xingyao Wang <xingyao@all-hands.dev>
2025-10-04 17:14:36 -04:00