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