fix: isStream status in error logs instead of hardcoded false (#4195)

This commit is contained in:
skynono
2026-04-12 17:41:26 +08:00
committed by GitHub
parent 59c582d13c
commit b4df9955f4
3 changed files with 3 additions and 1 deletions
+1
View File
@@ -438,6 +438,7 @@ func genBaseRelayInfo(c *gin.Context, request dto.Request) *RelayInfo {
if request != nil {
isStream = request.IsStream(c)
}
c.Set(string(constant.ContextKeyIsStream), isStream)
// firstResponseTime = time.Now() - 1 second