Explorar o código

fix: 修改model参数错误

zqbao hai 1 ano
pai
achega
9e9a15ebb1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      controllers/ai/ai_file.go

+ 1 - 1
controllers/ai/ai_file.go

@@ -40,7 +40,7 @@ func (this *AiFileController) FileUpload() {
 		br.ErrMsg = "获取资源信息失败,Err:" + err.Error()
 		return
 	}
-	model := this.GetString("model")
+	model := this.GetString("Model")
 
 	aiChatTopicId, _ := this.GetInt("AiChatTopicId")