mirror of
https://github.com/alibaba/higress.git
synced 2026-04-21 20:17:29 +08:00
ai proxy support passthrough path when api name is unknown (#1754)
This commit is contained in:
@@ -74,9 +74,6 @@ func (m *minimaxProvider) GetProviderType() string {
|
||||
}
|
||||
|
||||
func (m *minimaxProvider) OnRequestHeaders(ctx wrapper.HttpContext, apiName ApiName, log wrapper.Log) error {
|
||||
if !m.config.isSupportedAPI(apiName) {
|
||||
return errUnsupportedApiName
|
||||
}
|
||||
m.config.handleRequestHeaders(m, ctx, apiName, log)
|
||||
// Delay the header processing to allow changing streaming mode in OnRequestBody
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user