mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-09 02:33:42 +08:00
refactor chat message body struct
This commit is contained in:
@@ -73,7 +73,7 @@ func (h *DallJobHandler) Client(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
|
||||
var message types.WsMessage
|
||||
var message types.ReplyMessage
|
||||
err = utils.JsonDecode(string(msg), &message)
|
||||
if err != nil {
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user