mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-05-24 22:54:28 +00:00
feat: 保存重定向信息到 task.Properties
This commit is contained in:
@@ -72,7 +72,10 @@ func (t *Task) GetData(v any) error {
|
||||
}
|
||||
|
||||
type Properties struct {
|
||||
Input string `json:"input"`
|
||||
Input string `json:"input"`
|
||||
IsModelMapped bool `json:"is_model_mapped,omitempty"`
|
||||
OriginModelName string `json:"origin_model_name,omitempty"`
|
||||
UpstreamModelName string `json:"upstream_model_name,omitempty"`
|
||||
}
|
||||
|
||||
func (m *Properties) Scan(val interface{}) error {
|
||||
|
||||
Reference in New Issue
Block a user