Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion hermes_cli/inventory.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def build_models_payload(
pricing: bool = False,
capabilities: bool = False,
force_fresh_nous_tier: bool = False,
max_models: int = 50,
max_models: int = 200,
) -> dict:
"""Build the ``{providers, model, provider}`` shape every consumer
needs from a single substrate call.
Expand Down
6 changes: 3 additions & 3 deletions hermes_cli/model_switch.py
Original file line number Diff line number Diff line change
Expand Up @@ -1162,7 +1162,7 @@ def _warm() -> None:
current_model=ctx.current_model,
user_providers=ctx.user_providers,
custom_providers=ctx.custom_providers,
max_models=50,
max_models=200,
)
except Exception:
# Best-effort warmup — never surface errors into the session.
Expand All @@ -1180,7 +1180,7 @@ def list_authenticated_providers(
custom_providers: list | None = None,
*,
force_fresh_nous_tier: bool = False,
max_models: int = 8,
max_models: int = 200,
current_model: str = "",
) -> List[dict]:
"""Detect which providers have credentials and list their curated models.
Expand Down Expand Up @@ -1968,7 +1968,7 @@ def list_picker_providers(
current_base_url: str = "",
user_providers: dict = None,
custom_providers: list | None = None,
max_models: int = 8,
max_models: int = 200,
current_model: str = "",
) -> List[dict]:
"""Interactive-picker variant of :func:`list_authenticated_providers`.
Expand Down
4 changes: 2 additions & 2 deletions hermes_cli/web_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -2298,7 +2298,7 @@ def get_model_options():
# affordance instead of hiding the provider entirely.
return build_models_payload(
load_picker_context(),
max_models=50,
max_models=200,
include_unconfigured=True,
picker_hints=True,
canonical_order=True,
Expand Down Expand Up @@ -2371,7 +2371,7 @@ def get_recommended_default_model(provider: str = ""):
try:
from hermes_cli.inventory import build_models_payload, load_picker_context

payload = build_models_payload(load_picker_context(), max_models=50)
payload = build_models_payload(load_picker_context(), max_models=200)
for row in payload.get("providers", []):
if str(row.get("slug", "")).lower() == slug:
models = row.get("models") or []
Expand Down
Loading