feat: support gpt-4-turbo-2014-04-09 vision function

This commit is contained in:
RockYang
2024-04-10 11:47:10 +08:00
parent 64bbeaedcb
commit ac527851a0
14 changed files with 48 additions and 86 deletions

View File

@@ -71,11 +71,6 @@ func (h *FunctionHandler) Set(c *gin.Context) {
}
func (h *FunctionHandler) List(c *gin.Context) {
if err := utils.CheckPermission(c, h.DB); err != nil {
resp.NotPermission(c)
return
}
var items []model.Function
res := h.DB.Find(&items)
if res.Error != nil {