Skip to main content

Usage

Defined in the LLM module.
Rust AI Agent SDK Token usage statistics

Fields

NameTypeDescription
prompt_tokensu32Prompt tokens
completion_tokensu32Completion tokens
total_tokensu32Total tokens

Source

View on GitHub

praisonai/src/llm/mod.rs at line 154