|
@@ -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
|
|
|
}
|
|
}
|