fix: regenerate TypeScript types for Phase 4 typed limits
- Add total_output_tokens, output_token_limit/pct/source, total_token_limit/pct/source, message_limit/pct/source to RuntimeUsageCurrent - Add output_tokens_per_minute to RuntimeUsageBurnRate - Add limit_kind to RuntimeUsagePredictions
This commit is contained in:
parent
cd688ced26
commit
dc5af312a6
|
|
@ -10,5 +10,6 @@
|
|||
*/
|
||||
export interface RuntimeUsageBurnRate {
|
||||
tokens_per_minute: number;
|
||||
output_tokens_per_minute?: number;
|
||||
cost_usd_per_minute: number;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,8 +11,11 @@
|
|||
export interface RuntimeUsageCurrent {
|
||||
total_cost_usd: number;
|
||||
total_tokens: number;
|
||||
total_output_tokens?: number;
|
||||
total_calls: number;
|
||||
/** @deprecated Use typed limit fields below */
|
||||
token_limit?: number | null;
|
||||
/** @deprecated Use typed limit pct fields */
|
||||
token_pct?: number | null;
|
||||
cost_limit_usd?: number | null;
|
||||
cost_pct?: number | null;
|
||||
|
|
@ -20,4 +23,14 @@ export interface RuntimeUsageCurrent {
|
|||
token_limit_source?: string | null;
|
||||
/** Source of the cost limit data */
|
||||
cost_limit_source?: string | null;
|
||||
// Typed limits (Phase 4)
|
||||
output_token_limit?: number | null;
|
||||
output_token_limit_pct?: number | null;
|
||||
output_token_limit_source?: string | null;
|
||||
total_token_limit?: number | null;
|
||||
total_token_limit_pct?: number | null;
|
||||
total_token_limit_source?: string | null;
|
||||
message_limit?: number | null;
|
||||
message_pct?: number | null;
|
||||
message_limit_source?: string | null;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,4 +11,5 @@
|
|||
export interface RuntimeUsagePredictions {
|
||||
time_to_limit_ms?: number | null;
|
||||
safe: boolean;
|
||||
limit_kind?: string;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue