feat: publish v1.0.0-rc.36-custom.1
This commit is contained in:
commit
3a7e8f3b54
2381 files changed
+551494
No files matched your search
@@ -0,0 +1,35 @@
|
||||
package dto
|
||||
|
||||
import "github.com/QuantumNous/new-api/relaykit/types"
|
||||
|
||||
// 这里不好动就不动了,本来想独立出来的(
|
||||
type OpenAIModels struct {
|
||||
Id string `json:"id"`
|
||||
Object string `json:"object"`
|
||||
Created int `json:"created"`
|
||||
OwnedBy string `json:"owned_by"`
|
||||
SupportedEndpointTypes []types.EndpointType `json:"supported_endpoint_types"`
|
||||
}
|
||||
|
||||
type AnthropicModel struct {
|
||||
ID string `json:"id"`
|
||||
CreatedAt string `json:"created_at"`
|
||||
DisplayName string `json:"display_name"`
|
||||
Type string `json:"type"`
|
||||
}
|
||||
|
||||
type GeminiModel struct {
|
||||
Name any `json:"name"`
|
||||
BaseModelId any `json:"baseModelId"`
|
||||
Version any `json:"version"`
|
||||
DisplayName any `json:"displayName"`
|
||||
Description any `json:"description"`
|
||||
InputTokenLimit any `json:"inputTokenLimit"`
|
||||
OutputTokenLimit any `json:"outputTokenLimit"`
|
||||
SupportedGenerationMethods []any `json:"supportedGenerationMethods"`
|
||||
Thinking any `json:"thinking"`
|
||||
Temperature any `json:"temperature"`
|
||||
MaxTemperature any `json:"maxTemperature"`
|
||||
TopP any `json:"topP"`
|
||||
TopK any `json:"topK"`
|
||||
}
|
||||
Reference in new issue
Block a user