factor_agent.events.reply_facts#

reply_facts(reply)[source]#

What a call’s CallEnd says of its reply: tokens, truncation and emptiness, as far as the reply reports them.

The input and output tokens are the reply’s usage; the cache hits, the reasoning tokens and the stop reason come from the provider’s raw reply: an Anthropic message, an OpenAI-compatible chat completion or the Claude Code CLI’s result.