[VSCE-147] Fetch Initial Rate Limit Usage

This commit is contained in:
Colin Young
2025-10-02 20:30:45 -07:00
parent 7be3b484ad
commit 230310b423
5 changed files with 164 additions and 4 deletions
+4
View File
@@ -602,6 +602,10 @@ pub struct TokenCountEvent {
pub struct RateLimitSnapshot {
pub primary: Option<RateLimitWindow>,
pub secondary: Option<RateLimitWindow>,
#[serde(default)]
pub allowed: Option<bool>,
#[serde(default)]
pub limit_reached: Option<bool>,
}
#[derive(Debug, Clone, Deserialize, Serialize, TS)]