mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-02 02:01:47 +00:00
feat: provider modules — ProviderProfile ABC, 29 providers, fetch_models, transport single-path Introduces providers/ as the single source of truth for every inference provider. All 29 providers declared with correct data cross-checked against auth.py, runtime_provider.py and auxiliary_client.py. Rebased onto main (30307a980). Incorporates post-salvage fixes from56724147e(gmi aux model google/gemini-3.1-flash-lite-preview, already set in providers/gmi.py).
21 lines
590 B
Python
21 lines
590 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",),
|
|
display_name="NVIDIA NIM",
|
|
description="NVIDIA NIM — accelerated inference",
|
|
signup_url="https://build.nvidia.com/",
|
|
fallback_models=(
|
|
"nvidia/llama-3.1-nemotron-70b-instruct",
|
|
"nvidia/llama-3.3-70b-instruct",
|
|
),
|
|
base_url="https://integrate.api.nvidia.com/v1",
|
|
default_max_tokens=16384,
|
|
)
|
|
|
|
register_provider(nvidia)
|