Use header-only usage server timing

This commit is contained in:
Novick Yuan
2026-05-28 14:30:15 +08:00
parent 01c8592ca6
commit 6412294262
14 changed files with 425 additions and 75 deletions
+2
View File
@@ -2,6 +2,8 @@ use std::collections::BTreeMap;
use serde::{Deserialize, Serialize};
pub const USAGE_SERVER_NOW_UNIX_MS_HEADER: &str = "x-aether-server-now-unix-ms";
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, Default)]
pub struct StandardizedUsage {
pub input_tokens: i64,