Context truncation
Instead of returning an error for prompts that exceed the context window, truncate gracefully:truncate is the default. It removes the oldest messages first (system message preserved), giving you a better UX than a hard error. Use "error" when you need to know exactly when context limits are hit.Request metadata
Attach key-value metadata for cost attribution across teams and projects:Metadata is a Forii extension adopted from Fireworks’ parameters. Values must be strings. Useful for cost attribution, A/B test labeling, and debugging.