langchain_community.chat_models.litellm
.acompletion_with_retry¶
- async langchain_community.chat_models.litellm.acompletion_with_retry(llm: ChatLiteLLM, run_manager: Optional[AsyncCallbackManagerForLLMRun] = None, **kwargs: Any) Any [source]¶
Use tenacity to retry the async completion call.
- Parameters
llm (ChatLiteLLM) –
run_manager (Optional[AsyncCallbackManagerForLLMRun]) –
kwargs (Any) –
- Return type
Any