remove chat debug log

This commit is contained in:
RockYang
2024-07-28 18:55:17 +08:00
parent 088a614160
commit 6a9de72c78
4 changed files with 16 additions and 21 deletions

View File

@@ -65,7 +65,6 @@ func (h *ChatHandler) sendOpenAiMessage(
if !strings.Contains(line, "data:") || len(line) < 30 {
continue
}
logger.Info(line)
var responseBody = types.ApiResponse{}
err = json.Unmarshal([]byte(line[6:]), &responseBody)
if err != nil { // 数据解析出错