fix: 如果还有数据,等待一会

This commit is contained in:
Xyfacai
2023-11-30 20:30:29 +08:00
parent 4f32c033ce
commit 7d2194f907

View File

@@ -10,6 +10,7 @@ import (
"one-api/common"
"strings"
"sync"
"time"
)
func openaiStreamHandler(c *gin.Context, resp *http.Response, relayMode int) (*OpenAIErrorWithStatusCode, string) {