mirror of
https://github.com/alibaba/higress.git
synced 2026-06-09 04:37:31 +08:00
ai proxy support passthrough path when api name is unknown (#1754)
This commit is contained in:
@@ -51,9 +51,6 @@ func (g *baiduProvider) GetProviderType() string {
|
||||
}
|
||||
|
||||
func (g *baiduProvider) OnRequestHeaders(ctx wrapper.HttpContext, apiName ApiName, log wrapper.Log) error {
|
||||
if !g.config.isSupportedAPI(apiName) {
|
||||
return errUnsupportedApiName
|
||||
}
|
||||
g.config.handleRequestHeaders(g, ctx, apiName, log)
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user