mirror of
https://github.com/linux-do/new-api.git
synced 2025-09-22 10:16:36 +08:00
fix: 如果还有数据,等待一会
This commit is contained in:
parent
ed22a202f7
commit
f712b73c18
@ -10,6 +10,7 @@ import (
|
|||||||
"one-api/common"
|
"one-api/common"
|
||||||
"strings"
|
"strings"
|
||||||
"sync"
|
"sync"
|
||||||
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
func openaiStreamHandler(c *gin.Context, resp *http.Response, relayMode int) (*OpenAIErrorWithStatusCode, string) {
|
func openaiStreamHandler(c *gin.Context, resp *http.Response, relayMode int) (*OpenAIErrorWithStatusCode, string) {
|
||||||
|
Loading…
Reference in New Issue
Block a user