Skip to content

Commit

Permalink
feat(model): support latest model version trigger (#580)
Browse files Browse the repository at this point in the history
Because

- Model overview page needs to support triggering model without
specifying a version

This commit

- support latest model version trigger
  • Loading branch information
heiruwu committed May 23, 2024
1 parent 114d844 commit 47cb36c
Show file tree
Hide file tree
Showing 7 changed files with 917 additions and 797 deletions.
7 changes: 0 additions & 7 deletions config/model/task_input.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"image/*"
],
"title": "Image base64",
"pattern": "^[A-Za-z0-9+/]*={0,2}$",
"type": "string"
}
},
Expand All @@ -34,7 +33,6 @@
"image/*"
],
"title": "Image base64",
"pattern": "^[A-Za-z0-9+/]*={0,2}$",
"type": "string"
}
},
Expand All @@ -56,7 +54,6 @@
"image/*"
],
"title": "Image base64",
"pattern": "^[A-Za-z0-9+/]*={0,2}$",
"type": "string"
}
},
Expand All @@ -78,7 +75,6 @@
"image/*"
],
"title": "Image base64",
"pattern": "^[A-Za-z0-9+/]*={0,2}$",
"type": "string"
}
},
Expand All @@ -100,7 +96,6 @@
"image/*"
],
"title": "Image base64",
"pattern": "^[A-Za-z0-9+/]*={0,2}$",
"type": "string"
}
},
Expand All @@ -122,7 +117,6 @@
"image/*"
],
"title": "Image base64",
"pattern": "^[A-Za-z0-9+/]*={0,2}$",
"type": "string"
}
},
Expand Down Expand Up @@ -243,7 +237,6 @@
],
"instillUIOrder": 2,
"title": "Image base64",
"pattern": "^[A-Za-z0-9+/]*={0,2}$",
"type": "string"
},
"prompt": {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ require (
github.com/grpc-ecosystem/go-grpc-middleware v1.3.0
github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.1
github.com/iancoleman/strcase v0.3.0
github.com/instill-ai/protogen-go v0.3.3-alpha.0.20240522171446-6efac14a674e
github.com/instill-ai/protogen-go v0.3.3-alpha.0.20240523173832-a9412b87f7de
github.com/instill-ai/usage-client v0.2.4-alpha.0.20240123081026-6c78d9a5197a
github.com/instill-ai/x v0.4.0-alpha
github.com/knadh/koanf v1.5.0
Expand Down
6 changes: 2 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1314,10 +1314,8 @@ github.com/imdario/mergo v0.3.10/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH
github.com/imdario/mergo v0.3.11/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA=
github.com/imdario/mergo v0.3.12/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA=
github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8=
github.com/instill-ai/protogen-go v0.3.3-alpha.0.20240521161711-af99b826b207 h1:HIICqyngAMGcFTJwa10AOmAGSDEtTmFvPGfPXOzLeyU=
github.com/instill-ai/protogen-go v0.3.3-alpha.0.20240521161711-af99b826b207/go.mod h1:2blmpUwiTwxIDnrjIqT6FhR5ewshZZF554wzjXFvKpQ=
github.com/instill-ai/protogen-go v0.3.3-alpha.0.20240522171446-6efac14a674e h1:RIAH7ibosC8H6yC6MutFvjVdFyvSsV2gFwqQWlrqzmM=
github.com/instill-ai/protogen-go v0.3.3-alpha.0.20240522171446-6efac14a674e/go.mod h1:2blmpUwiTwxIDnrjIqT6FhR5ewshZZF554wzjXFvKpQ=
github.com/instill-ai/protogen-go v0.3.3-alpha.0.20240523173832-a9412b87f7de h1:zf8KFMXqCbblG6Ezbv3RIDAySfZRRrtpfxMzVt62IHQ=
github.com/instill-ai/protogen-go v0.3.3-alpha.0.20240523173832-a9412b87f7de/go.mod h1:2blmpUwiTwxIDnrjIqT6FhR5ewshZZF554wzjXFvKpQ=
github.com/instill-ai/usage-client v0.2.4-alpha.0.20240123081026-6c78d9a5197a h1:gmy8BcCFDZQan40c/D3f62DwTYtlCwi0VrSax+pKffw=
github.com/instill-ai/usage-client v0.2.4-alpha.0.20240123081026-6c78d9a5197a/go.mod h1:EpX3Yr661uWULtZf5UnJHfr5rw2PDyX8ku4Kx0UtYFw=
github.com/instill-ai/x v0.4.0-alpha h1:zQV2VLbSHjMv6gyBN/2mwwrvWk0/mJM6ZKS12AzjfQg=
Expand Down
Loading

0 comments on commit 47cb36c

Please sign in to comment.