hermes-agent
1f702c7569
stage-313 absorb: gate _resolve_configured_provider_id alias resolution + harden bootstrap test isolation
...
Two in-stage fixes for v0.51.19 batch:
1) api/config.py — add resolve_alias=False param to
_resolve_configured_provider_id() and pass it from
resolve_model_provider(). The PR #1818 swap from
_resolve_provider_alias() to _resolve_configured_provider_id()
was correct for active-provider/badge surfaces but broke #1625 's
local-server-provider literal-preservation contract: 'ollama' →
'custom' and 'lm-studio' → 'lmstudio' alias-collapse caused
_LOCAL_SERVER_PROVIDERS membership check to miss, breaking the
model-id full-path preservation for LM Studio/Ollama. The new
flag preserves the raw provider value when called from
resolve_model_provider, and named-custom-slug + base-url
fallback both still run unchanged.
2) tests/test_bootstrap_discover_agent.py — pin Path.home() in
_isolate_discover_agent_dir so the hard-coded
'Path.home() / .hermes / hermes-agent' / 'Path.home() /
hermes-agent' candidates in discover_agent_dir() can't pick up
the dev machine's real install. The original PR #1817 isolation
helper covered HERMES_HOME, HERMES_WEBUI_AGENT_DIR, and
REPO_ROOT but missed the Path.home() leak.
Both surfaced on full pytest pre-release gate, fixed in stage,
ship in v0.51.19. Tests: full suite green.
2026-05-07 17:07:48 +00:00
..
2026-05-03 22:47:55 -07:00
2026-05-04 21:50:40 +08:00
2026-05-05 02:26:55 +00:00
2026-05-04 18:11:58 +00:00
2026-05-04 21:26:43 +00:00
2026-05-04 00:06:58 -07:00
2026-05-05 12:51:13 +02:00
2026-05-05 08:36:17 -07:00
2026-05-07 01:39:52 +00:00
2026-05-03 20:59:32 +00:00
2026-05-04 10:48:36 -04:00
2026-05-07 16:58:40 +00:00
2026-05-06 14:53:40 +00:00
2026-05-07 05:56:17 +08:00
2026-05-05 22:14:07 +00:00
2026-05-05 16:13:58 +00:00
2026-05-05 16:41:30 +00:00
2026-05-07 01:39:52 +00:00
2026-05-07 16:58:40 +00:00
2026-05-04 00:06:58 -07:00
2026-05-05 23:00:18 +02:00
2026-05-07 17:07:48 +00:00
2026-05-07 18:35:00 +02:00
2026-05-04 00:06:58 -07:00
2026-05-05 01:18:34 +00:00
2026-05-07 02:47:19 +00:00
2026-05-06 19:54:04 +00:00
2026-05-07 01:39:51 +00:00
2026-05-07 04:00:40 +00:00
2026-05-06 18:11:14 +00:00
2026-05-05 01:52:42 +00:00
2026-05-07 06:25:18 +00:00
2026-05-05 01:12:08 +00:00
2026-05-05 01:23:55 +00:00
2026-05-05 01:23:55 +00:00
2026-05-04 00:06:58 -07:00
2026-05-06 22:01:36 +00:00
2026-05-05 01:52:42 +00:00
2026-05-05 22:32:19 +02:00
2026-05-05 01:12:08 +00:00
2026-05-05 19:17:27 -07:00
2026-05-05 01:12:07 +00:00
2026-05-05 01:18:34 +00:00
2026-05-03 22:04:58 +00:00
2026-05-06 18:11:14 +00:00
2026-05-06 06:26:44 +00:00
2026-05-05 02:26:55 +00:00
2026-05-05 09:23:29 -07:00
2026-05-05 17:30:56 +00:00
2026-05-05 01:18:34 +00:00
2026-05-05 01:20:32 +00:00
2026-05-05 02:25:06 +00:00
2026-05-05 09:23:29 -07:00
2026-05-05 00:00:29 -07:00
2026-05-06 22:01:20 +00:00
2026-05-07 05:56:17 +08:00
2026-05-05 19:17:27 -07:00
2026-05-03 16:35:50 +00:00
2026-05-04 00:06:58 -07:00
2026-05-06 08:10:08 +00:00
2026-05-05 08:36:17 -07:00
2026-05-07 16:58:59 +00:00
2026-05-06 06:26:44 +00:00
2026-05-05 01:48:32 +00:00
2026-05-06 06:30:32 +00:00
2026-05-06 22:20:17 +00:00
2026-05-07 02:47:19 +00:00
2026-05-07 01:39:51 +00:00
2026-05-05 08:36:17 -07:00
2026-05-05 08:36:17 -07:00
2026-05-04 15:30:37 -07:00
2026-05-04 04:51:30 +00:00
2026-05-07 04:30:02 +00:00
2026-05-03 17:04:46 +00:00
2026-05-03 18:12:01 +00:00
2026-05-03 18:12:01 +00:00
2026-05-03 20:59:32 +00:00
2026-05-03 21:44:22 +00:00
2026-05-03 22:04:58 +00:00
2026-05-07 02:04:36 +00:00
2026-05-04 05:26:19 +00:00
2026-05-04 16:17:26 +00:00
2026-05-04 16:17:26 +00:00
2026-05-04 16:03:05 +00:00
2026-05-04 21:26:43 +00:00
2026-05-05 08:36:17 -07:00
2026-05-04 16:49:43 +00:00
2026-05-04 16:49:43 +00:00
2026-05-04 16:50:22 +00:00
2026-05-05 08:33:44 -07:00
2026-05-05 02:02:54 +00:00
2026-05-06 18:01:11 +00:00
2026-05-05 09:23:29 -07:00
2026-05-05 08:45:14 -07:00
2026-05-05 08:38:29 -07:00
2026-05-06 16:11:46 +00:00
2026-05-06 06:26:28 +00:00
2026-05-06 09:34:23 -07:00
2026-05-07 01:39:52 +00:00
2026-05-07 03:10:43 +00:00
2026-05-07 06:25:17 +00:00
2026-05-07 16:59:00 +00:00
2026-05-07 16:59:00 +00:00
2026-05-07 21:40:23 +08:00
2026-05-07 16:58:16 +00:00
2026-05-03 22:43:11 -07:00
2026-05-07 03:58:16 +00:00
2026-05-04 17:28:32 -07:00
2026-05-05 01:51:05 +00:00
2026-05-05 01:51:05 +00:00
2026-05-07 16:59:00 +00:00
2026-05-03 20:50:06 +00:00
2026-05-03 19:18:44 +00:00
2026-05-07 04:00:40 +00:00
2026-05-04 17:03:02 +00:00
2026-05-06 18:11:12 +00:00
2026-05-06 09:34:23 -07:00
2026-05-05 01:18:33 +00:00
2026-05-05 02:26:55 +00:00
2026-05-06 06:27:00 +00:00
2026-05-04 09:04:07 -07:00
2026-05-07 02:52:01 +00:00
2026-05-07 16:58:15 +00:00
2026-05-03 16:21:42 +00:00
2026-05-03 22:47:55 -07:00
2026-05-07 05:56:17 +08:00
2026-05-05 08:36:17 -07:00
2026-05-07 16:56:49 +00:00
2026-05-07 06:25:16 +00:00
2026-05-06 18:11:14 +00:00
2026-05-03 18:18:27 -07:00
2026-05-06 14:53:40 +00:00
2026-05-05 22:32:19 +02:00
2026-05-03 16:35:50 +00:00
2026-05-07 16:58:39 +00:00
2026-05-07 16:58:39 +00:00
2026-05-07 02:52:01 +00:00
2026-05-07 05:56:17 +08:00
2026-05-07 06:25:16 +00:00
2026-05-03 20:00:56 +02:00
2026-05-07 16:58:39 +00:00
2026-05-03 07:08:08 +00:00
2026-05-06 08:10:08 +00:00
2026-05-05 08:36:17 -07:00
2026-05-03 18:18:27 -07:00
2026-05-07 04:30:02 +00:00
2026-05-07 04:30:02 +00:00
2026-05-03 20:28:21 +00:00
2026-05-07 16:58:40 +00:00
2026-05-06 22:20:17 +00:00
2026-05-05 12:51:13 +02:00
2026-05-03 20:20:17 -07:00
2026-05-05 02:15:25 +00:00
2026-05-06 08:10:08 +00:00
2026-05-03 21:37:38 +01:00
2026-05-03 20:00:56 +02:00
2026-05-05 01:12:07 +00:00
2026-05-03 23:55:45 -07:00
2026-05-03 11:46:42 +02:00
2026-05-07 06:25:17 +00:00
2026-05-04 00:06:58 -07:00
2026-05-06 17:24:23 +00:00
2026-05-05 13:46:54 -07:00
2026-05-05 13:42:47 -07:00
2026-05-06 06:30:32 +00:00
2026-05-05 03:13:55 -07:00
2026-05-05 08:29:00 -07:00
2026-05-04 00:06:58 -07:00
2026-05-04 23:57:56 +08:00
2026-05-06 17:38:11 +00:00
2026-05-07 06:25:18 +00:00
2026-05-07 16:58:59 +00:00
2026-05-07 16:56:48 +00:00
2026-05-07 04:30:02 +00:00
2026-05-05 16:13:58 +00:00