mirror of
https://github.com/alibaba/higress.git
synced 2026-04-25 05:57:26 +08:00
optimize ai proxy (#1603)
This commit is contained in:
@@ -68,8 +68,6 @@ func (m *githubProvider) TransformRequestHeaders(ctx wrapper.HttpContext, apiNam
|
||||
util.OverwriteRequestPathHeader(headers, githubEmbeddingPath)
|
||||
}
|
||||
util.OverwriteRequestAuthorizationHeader(headers, m.config.GetApiTokenInUse(ctx))
|
||||
headers.Del("Accept-Encoding")
|
||||
headers.Del("Content-Length")
|
||||
}
|
||||
|
||||
func (m *githubProvider) GetApiName(path string) ApiName {
|
||||
|
||||
Reference in New Issue
Block a user