feat: support br

This commit is contained in:
CalciumIon
2024-12-04 23:53:02 +08:00
parent 407d03a0ba
commit 270857e370
4 changed files with 19 additions and 3 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ import (
func SetRelayRouter(router *gin.Engine) {
router.Use(middleware.CORS())
router.Use(middleware.GzipDecodeMiddleware())
router.Use(middleware.DecompressRequestMiddleware())
// https://platform.openai.com/docs/api-reference/introduction
modelsRouter := router.Group("/v1/models")
modelsRouter.Use(middleware.TokenAuth())