Files
wehub-resource-sync e4dcfc49aa
Tests / Import Check (Python 3.13) (push) Has been cancelled
Tests / Import Check (Python 3.14) (push) Has been cancelled
Tests / Python Tests (Python 3.11) (push) Has been cancelled
Tests / Python Tests (Python 3.12) (push) Has been cancelled
Tests / Python Tests (Python 3.14) (push) Has been cancelled
Tests / Test Summary (push) Has been cancelled
Tests / Lint and Format (push) Has been cancelled
Tests / Web Node Tests (push) Has been cancelled
Tests / Import Check (Python 3.11) (push) Has been cancelled
Tests / Import Check (Python 3.12) (push) Has been cancelled
Tests / Python Tests (Python 3.13) (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 13:00:43 +08:00

11 lines
397 B
Python

from deeptutor.services.provider_registry import find_by_name, find_gateway
def test_nvidia_nim_gateway_detection_by_key_and_base() -> None:
spec = find_by_name("nvidia_nim")
assert spec is not None
assert spec.supports_stream_options is False
assert find_gateway(api_key="nvapi-test-key") == spec
assert find_gateway(api_base="https://integrate.api.nvidia.com/v1") == spec