mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-12-23 07:50:57 +08:00
25 lines
660 B
Go
25 lines
660 B
Go
package response
|
|
|
|
import (
|
|
"github.com/1Panel-dev/1Panel/agent/app/dto/request"
|
|
"github.com/1Panel-dev/1Panel/agent/app/model"
|
|
)
|
|
|
|
type TensorRTLLMsRes struct {
|
|
Items []TensorRTLLMDTO `json:"items"`
|
|
Total int64 `json:"total"`
|
|
}
|
|
|
|
type TensorRTLLMDTO struct {
|
|
model.TensorRTLLM
|
|
Version string `json:"version"`
|
|
Model string `json:"model"`
|
|
Dir string `json:"dir"`
|
|
ModelDir string `json:"modelDir"`
|
|
Image string `json:"image"`
|
|
Command string `json:"command"`
|
|
|
|
ExposedPorts []request.ExposedPort `json:"exposedPorts"`
|
|
Environments []request.Environment `json:"environments"`
|
|
Volumes []request.Volume `json:"volumes"`
|
|
}
|