next_web_ai/chat/meta_data/
empty_usage.rs

1use crate::chat::meta_data::usage::Usage;
2
3#[derive(Clone)]
4pub struct EmptyUsage;
5
6impl Usage for EmptyUsage {
7    fn get_prompt_tokens(&self) -> u32 {
8        0
9    }
10
11    fn get_completion_tokens(&self) -> u32 {
12        0
13    }
14}