288 of hanzoai/ai's 294 operations now declare a response, against 1 before. GET /v1/models, POST /v1/chat/completions, /v1/embeddings, /v1/messages — every address a client actually calls — used to reach this client untyped, because cloud's relay carried an operation's sentence and dropped the shapes it named. It carries both now. Fleet-wide the document goes from 69% to 81% of operations declaring what comes back, which is where the ~208 new models here come from.
2.3 KiB
AiThroughputStats
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| PerHour | Pointer to []int32 | [optional] | |
| TotalWindow | Pointer to int32 | [optional] |
Methods
NewAiThroughputStats
func NewAiThroughputStats() *AiThroughputStats
NewAiThroughputStats instantiates a new AiThroughputStats object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
NewAiThroughputStatsWithDefaults
func NewAiThroughputStatsWithDefaults() *AiThroughputStats
NewAiThroughputStatsWithDefaults instantiates a new AiThroughputStats object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
GetPerHour
func (o *AiThroughputStats) GetPerHour() []int32
GetPerHour returns the PerHour field if non-nil, zero value otherwise.
GetPerHourOk
func (o *AiThroughputStats) GetPerHourOk() (*[]int32, bool)
GetPerHourOk returns a tuple with the PerHour field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetPerHour
func (o *AiThroughputStats) SetPerHour(v []int32)
SetPerHour sets PerHour field to given value.
HasPerHour
func (o *AiThroughputStats) HasPerHour() bool
HasPerHour returns a boolean if a field has been set.
GetTotalWindow
func (o *AiThroughputStats) GetTotalWindow() int32
GetTotalWindow returns the TotalWindow field if non-nil, zero value otherwise.
GetTotalWindowOk
func (o *AiThroughputStats) GetTotalWindowOk() (*int32, bool)
GetTotalWindowOk returns a tuple with the TotalWindow field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetTotalWindow
func (o *AiThroughputStats) SetTotalWindow(v int32)
SetTotalWindow sets TotalWindow field to given value.
HasTotalWindow
func (o *AiThroughputStats) HasTotalWindow() bool
HasTotalWindow returns a boolean if a field has been set.