| @@ -6,7 +6,6 @@ import ( | |||||
| "gitlink.org.cn/cloudream/common/pkgs/mq" | "gitlink.org.cn/cloudream/common/pkgs/mq" | ||||
| myhttp "gitlink.org.cn/cloudream/common/utils/http" | myhttp "gitlink.org.cn/cloudream/common/utils/http" | ||||
| "gitlink.org.cn/cloudream/common/utils/serder" | "gitlink.org.cn/cloudream/common/utils/serder" | ||||
| schmod "gitlink.org.cn/cloudream/scheduler/common/models" | |||||
| "net/url" | "net/url" | ||||
| "strings" | "strings" | ||||
| ) | ) | ||||
| @@ -24,7 +23,12 @@ type RunningModelResp struct { | |||||
| type AllModelResp struct { | type AllModelResp struct { | ||||
| MessageBodyBase | MessageBodyBase | ||||
| AllModels []schmod.Models `json:"allModels"` | |||||
| AllModels []Models `json:"allModels"` | |||||
| } | |||||
| type Models struct { | |||||
| ModelID ModelID `json:"modelID"` | |||||
| ModelName ModelName `json:"modelName"` | |||||
| } | } | ||||
| type NodeInfo struct { | type NodeInfo struct { | ||||
| @@ -75,8 +79,6 @@ type UsageRate struct { | |||||
| } | } | ||||
| const ( | const ( | ||||
| RunStatus = "run" | |||||
| StopStatus = "stop" | |||||
| FineTuning = "finetuning" | FineTuning = "finetuning" | ||||
| CreateECS = "create" | CreateECS = "create" | ||||