mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-12-07 16:56:30 +08:00
重构异步任务更新方式,使用 Http 替代 websocket
This commit is contained in:
@@ -70,7 +70,6 @@ func (h *DallJobHandler) Image(c *gin.Context) {
|
||||
idValue, _ := c.Get(types.LoginUserID)
|
||||
userId := utils.IntValue(utils.InterfaceToString(idValue), 0)
|
||||
task := types.DallTask{
|
||||
ClientId: data.ClientId,
|
||||
UserId: uint(userId),
|
||||
ModelId: chatModel.Id,
|
||||
ModelName: chatModel.Value,
|
||||
|
||||
Reference in New Issue
Block a user