diff --git a/relay/channel/openai/adaptor.go b/relay/channel/openai/adaptor.go index 59fadedac..34d4952e7 100644 --- a/relay/channel/openai/adaptor.go +++ b/relay/channel/openai/adaptor.go @@ -226,7 +226,7 @@ func (a *Adaptor) SetupRequestHeader(c *gin.Context, header *http.Header, info * } if info.ChannelType == constant.ChannelTypeOpenRouter { header.Set("HTTP-Referer", "https://www.newapi.ai") - header.Set("X-Title", "New API") + header.Set("X-OpenRouter-Title", "New API") } return nil }