Merge branch 'fix-model-name'

This commit is contained in:
1808837298@qq.com 2024-03-02 21:16:05 +08:00
commit ca5c4d2dbd

View File

@ -59,6 +59,7 @@ func getAndValidateTextRequest(c *gin.Context, relayInfo *relaycommon.RelayInfo)
} }
} }
relayInfo.IsStream = textRequest.Stream relayInfo.IsStream = textRequest.Stream
relayInfo.UpstreamModelName = textRequest.Model
return textRequest, nil return textRequest, nil
} }