fix: add missing UpstreamModelName

This commit is contained in:
1808837298@qq.com
2024-03-02 21:05:02 +08:00
parent 7297c6269f
commit cbe0a1fa76
3 changed files with 1 additions and 4 deletions

View File

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