[codex] Thread backend-selected near-limit prompt state through client models

This commit is contained in:
James Chu
2026-05-03 23:33:48 -04:00
parent ff27d01676
commit 53dbdbfa9d
28 changed files with 558 additions and 3 deletions
+2
View File
@@ -94,6 +94,7 @@ pub fn parse_rate_limit_for_limit(
credits,
plan_type: None,
rate_limit_reached_type: None,
current_usage_limit_nudge: None,
})
}
@@ -158,6 +159,7 @@ pub fn parse_rate_limit_event(payload: &str) -> Option<RateLimitSnapshot> {
credits,
plan_type: event.plan_type,
rate_limit_reached_type: None,
current_usage_limit_nudge: None,
})
}