mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-12-08 01:06:06 +08:00
重构异步任务更新方式,使用 Http 替代 websocket
This commit is contained in:
@@ -112,8 +112,7 @@ func (h *SdJobHandler) Image(c *gin.Context) {
|
||||
}
|
||||
|
||||
task := types.SdTask{
|
||||
ClientId: data.ClientId,
|
||||
Type: types.TaskImage,
|
||||
Type: types.TaskImage,
|
||||
Params: types.SdTaskParams{
|
||||
TaskId: taskId,
|
||||
Prompt: data.Prompt,
|
||||
|
||||
Reference in New Issue
Block a user