1
0
Эх сурвалжийг харах

project init

project init
aiprodcoder 3 сар өмнө
parent
commit
c48bd6bf7f

+ 1 - 1
common/constants.go

@@ -11,7 +11,7 @@ import (
 
 
 var StartTime = time.Now().Unix() // unit: second
 var StartTime = time.Now().Unix() // unit: second
 var Version = "v0.0.0"            // this hard coding will be replaced automatically when building, no need to manually change
 var Version = "v0.0.0"            // this hard coding will be replaced automatically when building, no need to manually change
-var SystemName = "New API"
+var SystemName = "Mix API"
 var Footer = ""
 var Footer = ""
 var Logo = ""
 var Logo = ""
 var TopUpLink = ""
 var TopUpLink = ""

+ 1 - 1
relay/channel/openai/adaptor.go

@@ -147,7 +147,7 @@ func (a *Adaptor) SetupRequestHeader(c *gin.Context, header *http.Header, info *
 	}
 	}
 	if info.ChannelType == constant.ChannelTypeOpenRouter {
 	if info.ChannelType == constant.ChannelTypeOpenRouter {
 		header.Set("HTTP-Referer", "https://www.newapi.ai")
 		header.Set("HTTP-Referer", "https://www.newapi.ai")
-		header.Set("X-Title", "New API")
+		header.Set("X-Title", "Mix API")
 	}
 	}
 	return nil
 	return nil
 }
 }