Changeset 0.8.0.1 (#43)
This commit is contained in:
@@ -23,6 +23,7 @@ type createAPIConfigRequest struct {
|
||||
APIKey string `json:"api_key"`
|
||||
ModelDefault string `json:"model_default,omitempty"`
|
||||
Config map[string]interface{} `json:"config,omitempty"`
|
||||
IsPrivate bool `json:"is_private,omitempty"`
|
||||
}
|
||||
|
||||
type updateAPIConfigRequest struct {
|
||||
@@ -32,6 +33,7 @@ type updateAPIConfigRequest struct {
|
||||
ModelDefault *string `json:"model_default,omitempty"`
|
||||
Config map[string]interface{} `json:"config,omitempty"`
|
||||
IsActive *bool `json:"is_active,omitempty"`
|
||||
IsPrivate *bool `json:"is_private,omitempty"`
|
||||
}
|
||||
|
||||
type apiConfigResponse struct {
|
||||
|
||||
Reference in New Issue
Block a user