MCPcopy Create free account
hub / github.com/NVIDIA/SkillSpector / __init__

Method __init__

contrib/multilingual/api_pool.py:418–429  ·  view source on GitHub ↗
(
        self,
        pool: ApiKeyPool,
        *,
        max_tokens: int = 4096,
        timeout: float = 30.0,
        max_retries: int = _MAX_RATE_LIMIT_RETRIES,
    )

Source from the content-addressed store, hash-verified

416 """
417
418 def __init__(
419 self,
420 pool: ApiKeyPool,
421 *,
422 max_tokens: int = 4096,
423 timeout: float = 30.0,
424 max_retries: int = _MAX_RATE_LIMIT_RETRIES,
425 ) -> None:
426 self._pool = pool
427 self._max_tokens = max_tokens
428 self._timeout = timeout
429 self._max_retries = max_retries
430
431 # -- Public API -----------------------------------------------------------
432

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected