Skip to main content
Ctrl+K
🦜🔗 LangChain  documentation - Home 🦜🔗 LangChain  documentation - Home
  • Reference
Ctrl+K
Docs
OSZAR »
  • GitHub
  • X / Twitter
Ctrl+K
  • Reference
Docs
OSZAR »
  • GitHub
  • X / Twitter

Section Navigation

Base packages

  • Core
  • Langchain
  • Text Splitters
  • Community
    • adapters
    • agent_toolkits
    • agents
    • cache
    • callbacks
    • chains
    • chat_loaders
    • chat_message_histories
    • chat_models
      • ChatAnyscale
      • AzureMLChatOnlineEndpoint
      • CustomOpenAIChatContentFormatter
      • LlamaChatContentFormatter
      • LlamaContentFormatter
      • MistralChatContentFormatter
      • ChatBaichuan
      • QianfanChatEndpoint
      • ChatPromptAdapter
      • ChatCoze
      • ChatDappierAI
      • ChatDeepInfra
      • ChatDeepInfraException
      • ChatEdenAI
      • ChatEverlyAI
      • FakeListChatModel
      • FakeMessagesListChatModel
      • ChatFriendli
      • ChatGooglePalm
      • ChatGooglePalmError
      • GPTRouter
      • GPTRouterException
      • GPTRouterModel
      • HumanInputChatModel
      • ChatHunyuan
      • ChatJavelinAIGateway
      • ChatParams
      • JinaChat
      • ChatKinetica
      • KineticaSqlOutputParser
      • KineticaSqlResponse
      • KineticaUtil
      • ChatKonko
      • ChatLiteLLMException
      • LlamaEdgeChatService
      • ChatLlamaCpp
      • ChatMaritalk
      • MaritalkHTTPError
      • MiniMaxChat
      • ChatMlflow
      • ChatMLflowAIGateway
      • ChatParams
      • ChatMLX
      • MoonshotChat
      • ChatClovaX
      • ChatOCIModelDeployment
      • ChatOCIModelDeploymentTGI
      • ChatOCIModelDeploymentVLLM
      • ChatOCIGenAI
      • CohereProvider
      • MetaProvider
      • Provider
      • ChatOctoAI
      • ChatOutlines
      • PaiEasChatEndpoint
      • ChatPremAI
      • ChatPremAPIError
      • PromptLayerChatOpenAI
      • ChatReka
      • ChatSnowflakeCortex
      • ChatSnowflakeCortexError
      • ChatSparkLLM
      • ChatNebula
      • ChatTongyi
      • VolcEngineMaasChat
      • ChatWriter
      • ChatYandexGPT
      • ChatYi
      • ChatYuan2
      • ChatZhipuAI
      • convert_messages_to_prompt_anthropic
      • aconnect_httpx_sse
      • convert_message_to_dict
      • convert_messages_to_prompt_mistral
      • get_cohere_chat_request
      • get_role
      • acompletion_with_retry
      • acompletion_with_retry_streaming
      • completion_with_retry
      • conditional_decorator
      • convert_dict_to_message
      • get_chat_request
      • get_role
      • achat_with_retry
      • chat_with_retry
      • acompletion_with_retry
      • completion_with_retry
      • get_ordered_generation_requests
      • acompletion_with_retry
      • acompletion_with_retry
      • get_llm_output
      • convert_messages_to_prompt_llama
      • aconnect_httpx_sse
      • connect_httpx_sse
      • acompletion_with_retry
      • chat_with_retry
      • create_prem_retry_decorator
      • convert_to_reka_messages
      • process_content
      • process_content_item
      • convert_dict_to_message
      • convert_message_to_dict
      • convert_dict_to_message
      • convert_message_chunk_to_message
      • convert_message_to_dict
      • convert_dict_to_message
      • acompletion_with_retry
      • completion_with_retry
      • aconnect_httpx_sse
      • acompletion_with_retry
      • aconnect_sse
      • connect_sse
      • ChatAnthropic
      • AzureChatOpenAI
      • BedrockChat
      • ChatCloudflareWorkersAI
      • ChatCohere
      • ChatDatabricks
      • ErnieBotChat
      • ChatFireworks
      • GigaChat
      • ChatHuggingFace
      • ChatLiteLLM
      • ChatLiteLLMRouter
      • ChatOllama
      • ChatOpenAI
      • ChatPerplexity
      • ChatSambaNovaCloud
      • ChatSambaStudio
      • SolarChat
      • ChatVertexAI
    • cross_encoders
    • docstore
    • document_compressors
    • document_loaders
    • document_transformers
    • embeddings
    • example_selectors
    • graph_vectorstores
    • graphs
    • indexes
    • llms
    • memory
    • output_parsers
    • query_constructors
    • retrievers
    • storage
    • tools
    • utilities
    • utils
    • vectorstores
  • Experimental

Integrations

  • AI21
  • Anthropic
  • AstraDB
  • AWS
  • Azure Ai
  • Azure Dynamic Sessions
  • Cerebras
  • Chroma
  • Cohere
  • Deepseek
  • Elasticsearch
  • Exa
  • Fireworks
  • Google Community
  • Google GenAI
  • Google VertexAI
  • Groq
  • Huggingface
  • IBM
  • Milvus
  • MistralAI
  • MongoDB
  • Neo4J
  • Nomic
  • Nvidia Ai Endpoints
  • Ollama
  • OpenAI
  • Perplexity
  • Pinecone
  • Postgres
  • Prompty
  • Qdrant
  • Redis
  • Sema4
  • Snowflake
  • Sqlserver
  • Standard Tests
  • Tavily
  • Together
  • Unstructured
  • Upstage
  • VoyageAI
  • Weaviate
  • XAI
  • LangChain Python API Reference
  • langchain-community: 0.3.24
  • chat_models
  • acompletion_with_retry

acompletion_with_retry#

async langchain_community.chat_models.fireworks.acompletion_with_retry(
llm: ChatFireworks,
use_retry: bool,
*,
run_manager: AsyncCallbackManagerForLLMRun | None = None,
**kwargs: Any,
) → Any[source]#

Use tenacity to retry the async completion call.

Parameters:
  • llm (ChatFireworks)

  • use_retry (bool)

  • run_manager (AsyncCallbackManagerForLLMRun | None)

  • kwargs (Any)

Return type:

Any

On this page
  • acompletion_with_retry()

© Copyright 2025, LangChain Inc.

OSZAR »