langchain_community.chat_models.fireworks
.acompletion_with_retry¶
- async langchain_community.chat_models.fireworks.acompletion_with_retry(llm: ChatFireworks, use_retry: bool, *, run_manager: Optional[AsyncCallbackManagerForLLMRun] = None, **kwargs: Any) Any [source]¶
使用 tenacity 重试异步完成调用。
- 参数
llm (ChatFireworks) –
use_retry (bool) –
run_manager (Optional[AsyncCallbackManagerForLLMRun]) –
kwargs (Any) –
- 返回类型
Any