Authentication
Set yourFIREWORKS_API_KEY environment variable. Get your key from here.
Prompt caching
Prompt caching will happen automatically using ourFireworks model. You can read more about how Fireworks handle caching in their docs.
Example
UseFireworks with your Agent:
View more examples here.
Parameters
Fireworks extends the OpenAI-compatible interface and supports most parameters from the OpenAI model.