mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-04-25 00:51:20 +00:00
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.
14 lines
339 B
Python
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)
|