image
This commit is contained in:
@@ -8,7 +8,9 @@ import (
|
||||
type Task struct {
|
||||
ID int `json:"id"`
|
||||
Name string `json:"name"`
|
||||
Type string `json:"type"`
|
||||
Type string `json:"type"` // 任務類型(訓練|推理)
|
||||
Status string `json:"status"` // (waiting|running|success|error)
|
||||
Progress int `json:"progress"` // (0-100)
|
||||
CreatedAt string `json:"created_at"`
|
||||
UpdatedAt string `json:"updated_at"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user