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