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

Method invoke

contrib/multilingual/api_pool.py:433–435  ·  view source on GitHub ↗

Synchronous invoke with automatic key switching on rate-limit.

(self, prompt: str)

Source from the content-addressed store, hash-verified

431 # -- Public API -----------------------------------------------------------
432
433 def invoke(self, prompt: str) -> object:
434 """Synchronous invoke with automatic key switching on rate-limit."""
435 return self._invoke_with_retry(prompt)
436
437 async def ainvoke(self, prompt: str) -> object:
438 """Async invoke with automatic key switching on rate-limit."""

Callers 2

run_oneFunction · 0.45
_invoke_with_retryMethod · 0.45

Calls 1

_invoke_with_retryMethod · 0.95

Tested by

no test coverage detected