Fireworks chat wrapper.
BadRequestError raised when input exceeds Fireworks's context limit.
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.