MCPcopy Create free account
hub / github.com/BerriAI/litellm / sleep

Method sleep

litellm/router_python_host.py:116–117  ·  view source on GitHub ↗
(self, seconds: float)

Source from the content-addressed store, hash-verified

114 return endpoint
115
116 def sleep(self, seconds: float) -> Awaitable[None]:
117 return asyncio.sleep(seconds)
118
119 def sleep_sync(self, seconds: float) -> None:
120 """The backoff of a sync endpoint's retry."""

Callers 15

send_audioFunction · 0.45
wait_for_completionMethod · 0.45
capture_audioMethod · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
make_openai_completionFunction · 0.45
wait_for_turnMethod · 0.45
__next__Method · 0.45
__anext__Method · 0.45
acompletionFunction · 0.45

Calls

no outgoing calls

Tested by 2

make_openai_completionFunction · 0.36
test_key_loggingFunction · 0.36