浏览代码

deprecate

Roy Han 10 月之前
父节点
当前提交
01ecaf95fe
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      api/types.go

+ 0 - 2
api/types.go

@@ -326,7 +326,6 @@ type ProcessResponse struct {
 
 // ListModelResponse is a single model description in [ListResponse].
 type ListModelResponse struct {
-	Name       string       `json:"name"`
 	Model      string       `json:"model"`
 	ModifiedAt time.Time    `json:"modified_at"`
 	Size       int64        `json:"size"`
@@ -336,7 +335,6 @@ type ListModelResponse struct {
 
 // ProcessModelResponse is a single model description in [ProcessResponse].
 type ProcessModelResponse struct {
-	Name      string       `json:"name"`
 	Model     string       `json:"model"`
 	Size      int64        `json:"size"`
 	Digest    string       `json:"digest"`