Browse Source

Merge branch 'debug' of http://8.136.199.33:3000/eta_server/eta_api into debug

xyxie 2 weeks ago
parent
commit
2d8058c85d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      utils/ws/session_manager.go

+ 1 - 0
utils/ws/session_manager.go

@@ -145,6 +145,7 @@ func (manager *ConnectionManager) HandleMessage(userID int, sessionID string, me
 		case <-closeChan:
 			if emptyContent {
 				_ = session.Conn.WriteMessage(websocket.TextMessage, []byte("<think></think>"))
+				_ = session.Conn.WriteMessage(websocket.TextMessage, []byte("暂时找不到答案"))
 			}
 			_ = session.Conn.WriteMessage(websocket.TextMessage, []byte("<EOF/>"))
 			return nil