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

Method invoke

litellm/router_python_host.py:66–66  ·  view source on GitHub ↗
(self, op: Literal["acompletion"])

Source from the content-addressed store, hash-verified

64 # op gets the untyped Endpoint.
65 @overload
66 def invoke(self, op: Literal["acompletion"]) -> Callable[..., Awaitable["ModelResponse | CustomStreamWrapper"]]: ...
67 @overload
68 def invoke(
69 self, op: Literal["atext_completion"]

Callers 15

resolve_api_keyFunction · 0.45
ensure_fresh_loginFunction · 0.45
upFunction · 0.45
downFunction · 0.45
_routed_attemptMethod · 0.45
attempt_syncMethod · 0.45
allow_fallbackMethod · 0.45
_group_deploymentMethod · 0.45
answerMethod · 0.45
_model_info_rowMethod · 0.45
_backend_model_infoFunction · 0.45

Calls 1

_dottedFunction · 0.85

Tested by

no test coverage detected