Class RateLimit
Inheritance
object
RateLimit
Namespace: Glitch9.AIDevKit.OpenAI.Realtime
Assembly: .dll
Syntax
public class RateLimit
Properties
Limit
The maximum allowed value for the rate limit.
Declaration
public int Limit { get; set; }
Property Value
Type | Description |
---|---|
int |
Name
The name of the rate limit ("requests", "tokens", "input_tokens", "output_tokens").
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Remaining
The remaining value before the limit is reached.
Declaration
public int Remaining { get; set; }
Property Value
Type | Description |
---|---|
int |
ResetSeconds
Seconds until the rate limit resets.
Declaration
public float ResetSeconds { get; set; }
Property Value
Type | Description |
---|---|
float |