Isaac Huang
c53fcb0173
feat(providers): add GMI Cloud as a first-class API-key provider (#11955)
Add GMI Cloud (api.gmi-serving.com) as a full first-class API-key provider
with built-in auth, aliases, model catalog, CLI entry points, auxiliary client
routing, context length resolution, doctor checks, env var tracking, and docs.
- auth.py: ProviderConfig for 'gmi' (api_key, GMI_API_KEY / GMI_BASE_URL)
- providers.py: HermesOverlay with extra_env_vars for models.dev detection
- models.py: curated slash-form model catalog; live /v1/models fetch
- main.py: 'gmi' in _named_custom_provider_map and --provider choices
- model_metadata.py: _URL_TO_PROVIDER, _PROVIDER_PREFIXES, dedicated
context-length probe block (GMI's /models has authoritative data)
- auxiliary_client.py: alias entries; _compat_model fix for slash-form
models on cached aggregator-style clients; gmi aux default model
- doctor.py: GMI in provider connectivity checks
- config.py: GMI_API_KEY / GMI_BASE_URL in OPTIONAL_ENV_VARS
- conftest.py: explicit GMI_BASE_URL clearing (not caught by _API_KEY suffix)
- docs: providers.md, environment-variables.md, fallback-providers.md,
configuration.md, quickstart.md (expands provider table)
Co-authored-by: Isaac Huang <isaachuang@Isaacs-MacBook-Pro.local>
2026-04-27 11:17:59 -07:00
..
2026-03-05 05:24:55 -08:00
2026-04-03 01:46:45 -07:00
2026-04-20 04:16:13 -07:00
2026-04-09 14:20:16 -07:00
2026-04-26 09:57:58 -07:00
2026-04-20 04:46:45 -07:00
2026-04-18 01:53:09 -07:00
2026-04-05 12:33:47 -07:00
2026-04-05 19:45:50 -07:00
2026-04-07 10:21:03 -07:00
2026-04-24 05:07:01 -07:00
2026-04-21 17:54:39 -07:00
2026-04-25 06:59:24 -07:00
2026-04-27 11:17:59 -07:00
2026-04-18 22:50:55 -07:00
2026-04-25 22:13:12 -07:00
2026-04-21 13:35:31 -07:00
2026-03-30 20:30:11 -07:00
2026-04-22 05:27:10 -07:00
2026-04-06 22:15:58 -07:00
2026-04-21 14:23:45 -07:00
2026-03-18 04:18:08 -07:00
2026-04-24 03:02:03 -07:00
2026-03-15 06:24:28 -07:00
2026-04-23 03:07:06 -07:00
2026-04-26 21:27:59 -07:00
2026-04-13 23:51:21 -07:00
2026-04-24 07:24:28 -07:00
2026-04-16 22:05:41 -07:00
2026-04-16 12:36:49 -07:00
2026-04-21 01:28:32 -07:00
2026-04-21 08:00:00 -07:00
2026-04-21 00:29:29 -07:00
2026-04-25 06:59:24 -07:00