@elevenlabs/react@1.13.0
·
3 commits
to main
since this release
Minor Changes
- eea19d2: Add support for the
context_usageserver event via a newonContextUsagecallback. The event is emitted after each completed agent turn and reports{ event_id, model, context_tokens, context_limit_tokens }, wherecontext_tokensis the prompt size of the turn's last LLM generation andcontext_limit_tokensis that model's maximum context window — useful for surfacing how close a long conversation is to the context limit.