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