mirror of
https://github.com/alibaba/higress.git
synced 2026-06-08 20:27:31 +08:00
ai proxy support passthrough path when api name is unknown (#1754)
This commit is contained in:
@@ -49,9 +49,6 @@ func (g *groqProvider) GetProviderType() string {
|
||||
}
|
||||
|
||||
func (g *groqProvider) 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