Skip to content

The agent that grows with you

docs(providers): reword provider-specific comments generically

Tekniume629f6f72065
diff --git a/gateway/session_cli_turn.py b/gateway/session_cli_turn.py
index 62140b3b70a..cb34bb879ab 100644
--- a/gateway/session_cli_turn.py
+++ b/gateway/session_cli_turn.py
@@ -114,8 +114,8 @@ def one_turn_runtime(override, model, runtime_kwargs, config):
if same_provider and not result.alias_endpoint_applied:
# A plain model pick on the session's provider: the explicit provider re-resolved that provider's
# default endpoint and key, and the session already has both (a mirror, a proxy, a pool), so keep
- # them. The wire follows the target only where the provider picks it per model (Copilot, Nous
- # Portal, OpenCode; ``_rederive_per_model_route``); otherwise ``result.api_mode`` describes the
+ # them. The wire follows the target only where the provider picks it per model (a profile's
+ # ``api_mode_for_model``, Nous Portal, OpenCode; ``_rederive_per_model_route``); otherwise ``result.api_mode`` describes the
# default host, not this session's endpoint, and the session's wire stays.
from hermes_cli.model_switch import model_derived_api_mode
from hermes_cli.models import normalize_opencode_base_url, opencode_provider_family
diff --git a/providers/base.py b/providers/base.py
index da1f3bca24a..4ad0601e09a 100644
--- a/providers/base.py
+++ b/providers/base.py
@@ -162,7 +162,7 @@ class ProviderProfile:
env_vars: tuple = ()
base_url: str = ""
models_url: str = "" # explicit models endpoint; falls back to {base_url}/models
- auth_type: str = "api_key" # api_key|oauth_device_code|oauth_external|copilot|aws_sdk
+ auth_type: str = "api_key" # api_key|oauth_device_code|oauth_external|external_process|aws_sdk|plugin-defined
# None preserves transport defaults (external-process clients default to non-streaming).
# True opts a streaming-capable process client in; False disables streaming for this provider.
supports_streaming: bool | None = field(default=None, kw_only=True)
@@ -508,7 +508,7 @@ class ProviderProfile:
This is the hook that lets a provider ship *outside* this tree: with it,
a profile registered from ``~/.hermes/plugins/model-providers/`` or a
pip entry point can supply its own transport without any core edit. See
- ``plugins/model-providers/copilot-acp/`` for the in-tree example.
+ ``website/docs/developer-guide/model-provider-plugin.md``.
"""
return None
diff --git a/tools/schema_sanitizer.py b/tools/schema_sanitizer.py
index d000fa5ba03..d303c3fd2f9 100644
--- a/tools/schema_sanitizer.py
+++ b/tools/schema_sanitizer.py
@@ -325,7 +325,7 @@ def _sanitize_node(node: Any, path: str) -> Any:
for key, value in node.items():
# JSON Schema ``type`` arrays (e.g. ``["number", "string"]``, common in MCP tool schemas) are
# rejected by several tool-call backends: * llama.cpp's grammar generator only accepts a singular
- # string type. * Gemini (including OpenAI-compatible transports such as GitHub Copilot proxying to
+ # string type. * Gemini (including OpenAI-compatible gateways proxying to
# Gemini) rejects the array form outright — plain @ai-sdk/google rewrites it, but the
# OpenAI-compatible path forwards it verbatim and the backend 400s. Normalize per the SDK's
# behavior: * single non-null type → ``type: X`` (+ ``nullable: true`` if the array also contained