hermes-agent/providers/nvidia.py
alt-glitch 886c92a7fa chore(lint): enable ruff + ty for transports and providers
Scoped rollout — both tools only check agent/transports/ and providers/,
everything else stays untouched. Modernize type annotations (Dict→dict,
Optional→X|None), add __all__ re-exports, drop unnecessary
`from __future__ import annotations`, and fix ty parameter defaults.
2026-04-23 18:09:43 +05:30

14 lines
339 B
Python

"""NVIDIA NIM provider profile."""
from providers import register_provider
from providers.base import ProviderProfile
nvidia = ProviderProfile(
name="nvidia",
aliases=("nvidia-nim",),
env_vars=("NVIDIA_API_KEY",),
base_url="https://integrate.api.nvidia.com/v1",
default_max_tokens=16384,
)
register_provider(nvidia)