-
Notifications
You must be signed in to change notification settings - Fork 697
[ai-proxy] 文生图接口 Fallback 后无法正确 mapping 到目标模型 #2338
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
应该不止fallback时model mapping不生效吧,没有fallback时 mapping应该也不生效? It should be more than just the model mapping when fallingback is not effective, but the mapping should not take effect when fallingback is not available? |
higress/plugins/wasm-go/extensions/ai-proxy/provider/openai.go Lines 124 to 128 in 52464c0
目前接口类型非completions时,没有读取请求body,可以增加下文生图的接口类型 higress/plugins/wasm-go/extensions/ai-proxy/provider/openai.go Lines 124 to 128 in 52464c0
When the interface type is not completes, the request body is not read. You can add the interface type of the following raw graph |
我有个场景,当 openai 服务异常时会回退到 gemini
对话接口是可以正常 fallback 并 mapping 到目标 model
但是生图接口还是把原 model 传给了 fallback 后的 gemini
EnvoyFilter 如下
AI Proxy 插件配置
The text was updated successfully, but these errors were encountered: