[Front-end] [Messages] Populate num_cache_creation_tokens (#48535)
Signed-off-by: Yifan Zong <yzong@redhat.com>
This commit is contained in:
@@ -103,6 +103,9 @@ pub struct PrefillStats {
|
||||
/// Tokens to be prefilled from external KV transfer.
|
||||
#[serde(default)]
|
||||
pub num_external_cached_tokens: u32,
|
||||
/// Prompt tokens newly admitted into the local prefix cache.
|
||||
#[serde(default)]
|
||||
pub num_cache_creation_tokens: u32,
|
||||
}
|
||||
|
||||
/// Stats for debugging the metrics calculation.
|
||||
|
||||
Reference in New Issue
Block a user