Fireworks chat wrapper.
BadRequestError raised when input exceeds Fireworks's context limit.
Fireworks authentication error classified as a LangChain model error.
Fireworks permission error classified as a LangChain model error.
Fireworks bad-request error classified as a LangChain model error.
Fireworks not-found error classified as a LangChain model error.
Fireworks rate-limit error classified as a LangChain model error.
Fireworks server error classified as a LangChain model error.
Fireworks connection error classified as a LangChain model error.
Fireworks timeout error classified as a LangChain model error.
Fireworks Chat large language models API.
To use, you should have the
environment variable FIREWORKS_API_KEY set with your API key.
Any parameters that are valid to be passed to the fireworks.create call can be passed in, even if not explicitly saved on this class.
Raw provider token usage: a tree of int leaves and nested dict nodes
(e.g. prompt_tokens_details).
Modeled as a recursive alias so the merge helper's signature carries the shape
rather than leaving it to Any.