mirror of
https://github.com/openai/codex.git
synced 2026-04-24 06:35:50 +00:00
comment
This commit is contained in:
@@ -579,7 +579,7 @@ pub struct TokenUsage {
|
||||
pub struct TokenUsageInfo {
|
||||
/// The total token usage for the session. accumulated from all turns.
|
||||
pub total_token_usage: TokenUsage,
|
||||
/// The token usage for the last turn. Received from the API.
|
||||
/// The token usage for the last turn. Received from the API. It's total tokens is the whole window size.
|
||||
pub last_token_usage: TokenUsage,
|
||||
#[ts(type = "number | null")]
|
||||
pub model_context_window: Option<i64>,
|
||||
|
||||
Reference in New Issue
Block a user