auth_rows.py 502 B

12345678910111213
  1. """The ``hermes auth`` registry row this profile mirrors into ``hermes_cli.auth.PROVIDER_REGISTRY``.
  2. Credentials resolve like an api-key provider (env tokens, pool, ``hermes auth add copilot`` paste), while
  3. ``auth_type="copilot"`` names its own setup flow; the row keeps its historical place right after LM Studio.
  4. """
  5. from typing import Any
  6. AUTH_ROW_FIELDS: dict[str, Any] = {
  7. "registry_auth_type": "api_key",
  8. "base_url_env_var": "COPILOT_API_BASE_URL",
  9. "registry_after": "lmstudio",
  10. }