Teknium
ccb5aae0d2
feat(proxy): local OpenAI-compatible proxy for OAuth providers ( #25969 )
...
Adds 'hermes proxy start' — a local HTTP server that lets external apps
(OpenViking, Karakeep, Open WebUI, ...) use a Hermes-managed provider
subscription as their LLM endpoint. The proxy attaches the user's real
OAuth-resolved credentials to each forwarded request, refreshing them
automatically; the client can send any bearer (it gets stripped).
Ships with one adapter — Nous Portal. The UpstreamAdapter ABC and
registry in hermes_cli/proxy/adapters/ are designed for additional
OAuth providers to plug in by name without server changes.
Commands:
hermes proxy start [--provider nous] [--host 127.0.0.1] [--port 8645]
hermes proxy status
hermes proxy providers
Allowed Portal paths: /v1/chat/completions, /v1/completions,
/v1/embeddings, /v1/models. Anything else returns 404 with a clear
error pointing at the allowed list.
aiohttp is gated like gateway/platforms/api_server.py (try-import,
clean runtime error if missing). No new core dependency.
Tests: 24 unit tests + 1 separate E2E that spawns the real subprocess
and verifies the upstream receives the right bearer with the client's
header stripped.
2026-05-14 15:40:48 -07:00
..
2026-05-05 04:13:12 -07:00
2026-04-20 22:21:21 -07:00
2026-04-24 07:14:00 -07:00
2026-05-13 23:51:15 -07:00
2026-04-26 05:43:31 -07:00
2026-05-09 11:10:53 -07:00
2026-04-28 03:45:52 -07:00
2026-04-20 20:53:51 -07:00
2026-04-21 14:31:48 -05:00
2026-04-24 04:53:32 -07:00
2026-05-11 22:15:16 -07:00
2026-05-08 04:17:42 -07:00
2026-05-06 13:29:54 -07:00
2026-04-14 01:43:45 -07:00
2026-04-08 13:46:30 -07:00
2026-04-24 03:00:33 -07:00
2026-05-08 14:27:40 -07:00
2026-04-20 00:47:39 -07:00
2026-04-25 18:48:43 -07:00
2026-05-04 05:07:13 -07:00
2026-04-07 17:59:42 -07:00
2026-04-23 23:28:34 -07:00
2026-05-13 17:32:22 -07:00
2026-04-09 16:24:53 -07:00
2026-04-29 23:18:55 -07:00
2026-04-11 01:52:58 -07:00
2026-05-09 17:53:15 -07:00
2026-05-09 23:17:25 -07:00
2026-05-09 23:17:25 -07:00
2026-05-13 22:20:27 -07:00
2026-05-13 17:18:15 -07:00
2026-05-12 16:34:40 -07:00
2026-05-13 09:34:15 -07:00
2026-04-21 14:23:45 -07:00
2026-04-29 23:18:55 -07:00
2026-04-17 19:03:26 -07:00
2026-04-28 01:40:25 -07:00
2026-05-10 22:36:19 -07:00
2026-04-29 23:18:55 -07:00
2026-04-10 03:44:43 -07:00
2026-04-28 01:18:09 -07:00
2026-04-24 05:09:08 -07:00
2026-04-24 03:33:29 -07:00
2026-04-24 05:09:08 -07:00
2026-04-19 05:19:22 -07:00
2026-05-05 05:15:54 -07:00
2026-05-09 18:43:40 -07:00
2026-05-07 05:27:47 -07:00
2026-05-07 05:27:47 -07:00
2026-04-25 18:47:53 -07:00
2026-05-04 02:46:41 -07:00
2026-04-30 06:43:22 -04:00
2026-04-30 02:30:20 -07:00
2026-05-12 13:59:22 -04:00
2026-05-07 05:10:33 -07:00
2026-04-16 06:48:33 -07:00
2026-05-09 11:04:46 -07:00
2026-04-20 22:14:29 -07:00
2026-04-20 22:14:29 -07:00
2026-04-17 05:08:07 -07:00
2026-05-03 03:25:45 -07:00
2026-04-14 23:13:11 -07:00
2026-05-09 13:36:33 -07:00
2026-05-07 13:04:08 -07:00
2026-05-13 18:40:14 -07:00
2026-05-04 15:31:15 -04:00
2026-05-04 15:31:15 -04:00
2026-04-26 06:19:04 -07:00
2026-04-09 16:24:53 -07:00
2026-05-12 15:06:25 -07:00
2026-05-09 17:54:17 -07:00
2026-05-09 17:54:09 -07:00
2026-04-10 21:15:47 -07:00
2026-05-09 17:54:17 -07:00
2026-04-24 04:46:17 -07:00
2026-04-20 23:20:33 -07:00
2026-05-08 03:22:11 -07:00
2026-05-13 22:55:09 -07:00
2026-04-20 20:53:51 -07:00
2026-04-29 20:33:29 -07:00
2026-04-23 01:56:09 -07:00
2026-05-11 17:10:58 -07:00
2026-05-13 22:31:11 -07:00
2026-05-05 04:34:45 -07:00
2026-05-11 06:44:58 -07:00
2026-05-10 20:04:53 -07:00
2026-05-10 15:23:04 -07:00
2026-05-10 21:58:44 -07:00
2026-05-11 06:44:58 -07:00
2026-05-07 13:04:41 -07:00
2026-05-07 13:04:41 -07:00
2026-05-06 03:50:59 -07:00
2026-04-11 17:23:36 -07:00
2026-05-07 05:17:03 -07:00
2026-05-07 05:17:03 -07:00
2026-04-29 21:56:47 -07:00
2026-04-16 06:48:33 -07:00
2026-05-11 18:08:16 -07:00
2026-04-24 05:24:54 -07:00
2026-04-17 06:33:21 -07:00
2026-05-13 13:21:33 -07:00
2026-04-25 18:47:53 -07:00
2026-04-16 01:16:14 -07:00
2026-05-07 05:21:26 -07:00
2026-04-24 04:58:46 -07:00
2026-04-08 19:58:16 -07:00
2026-05-08 14:55:40 -07:00
2026-04-22 17:33:42 -07:00
2026-05-12 12:16:17 -07:00
2026-04-20 22:14:03 -07:00
2026-05-13 18:40:14 -07:00
2026-04-13 04:33:52 -07:00
2026-04-26 19:02:55 -07:00
2026-04-24 04:58:46 -07:00
2026-05-04 12:38:15 -07:00
2026-05-09 23:17:25 -07:00
2026-05-06 09:08:33 -07:00
2026-04-22 17:33:42 -07:00
2026-04-21 05:19:43 -07:00
2026-04-24 05:20:05 -07:00
2026-05-05 04:37:47 -07:00
2026-04-17 01:05:09 -07:00
2026-04-21 21:30:10 -07:00
2026-05-09 11:10:04 -07:00
2026-05-13 22:12:47 -07:00
2026-05-09 13:02:25 -07:00
2026-05-08 10:04:32 -07:00
2026-05-13 09:34:15 -07:00
2026-05-05 04:08:11 -07:00
2026-04-28 01:28:25 -07:00
2026-05-14 15:40:48 -07:00
2026-04-29 23:18:55 -07:00
2026-04-09 14:20:16 -07:00
2026-05-07 05:10:33 -07:00
2026-04-28 01:47:20 -07:00
2026-05-08 14:27:40 -07:00
2026-04-27 08:52:12 -07:00
2026-05-11 22:15:16 -07:00
2026-05-12 01:02:25 -07:00
2026-04-26 18:49:48 -07:00
2026-05-10 13:06:25 -07:00
2026-04-26 18:31:07 -07:00
2026-04-30 04:32:17 -07:00
2026-05-02 02:08:06 -07:00
2026-04-09 16:24:53 -07:00
2026-04-29 21:56:51 -07:00
2026-04-10 21:15:59 -07:00
2026-04-10 03:44:43 -07:00
2026-04-25 22:02:02 -07:00
2026-04-26 18:49:48 -07:00
2026-05-13 13:28:25 -07:00
2026-05-05 06:12:42 -07:00
2026-05-13 13:28:25 -07:00
2026-05-13 13:28:25 -07:00
2026-04-24 03:46:46 -07:00
2026-04-26 20:57:10 -07:00
2026-05-13 22:55:52 -07:00
2026-05-08 17:01:12 -07:00
2026-05-07 05:53:14 -07:00
2026-05-08 16:07:23 -07:00
2026-04-28 12:27:36 -07:00
2026-04-29 07:22:33 -07:00
2026-04-17 01:05:09 -07:00
2026-05-06 03:55:47 -07:00
2026-05-08 11:18:14 -07:00
2026-05-09 13:37:19 -07:00
2026-04-10 02:57:39 -07:00
2026-04-20 00:52:50 -07:00
2026-04-13 16:32:04 -07:00
2026-05-14 08:03:33 -07:00
2026-05-11 17:04:34 -04:00
2026-05-09 14:36:58 -07:00
2026-05-09 17:53:15 -07:00
2026-04-19 19:38:02 -07:00
2026-04-19 22:43:09 -07:00
2026-05-12 13:59:22 -04:00
2026-04-17 21:29:24 -07:00
2026-04-30 02:46:56 -07:00
2026-05-08 14:55:40 -07:00
2026-04-30 19:44:26 -07:00
2026-05-13 17:31:54 -07:00
2026-05-06 15:49:59 -07:00
2026-05-11 22:15:16 -07:00
2026-04-21 06:26:35 -07:00
2026-05-10 07:04:18 -07:00
2026-05-11 09:27:05 -07:00
2026-04-28 03:45:52 -07:00