Replies: 3 comments 4 replies
-
|
AI路由设置了前缀、model精准匹配 AI routing sets prefix and model accurate matching |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
如果你的路由需要特定header才能匹配,那么需要先disableReroute
…---- 回复的原邮件 ----
| 发件人 | ***@***.***> |
| 发送日期 | 2026年04月15日 21:21 |
| 收件人 | alibaba/higress ***@***.***> |
| 抄送人 | Subscribed ***@***.***> |
| 主题 | Re: [alibaba/higress] 插件内调用AddHttpRequestHeader,导致AI路由404 (Discussion #3723) |
AI路由设置了前缀、model精准匹配
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
E0011012
-
|
那请详细描述你的场景
…---- 回复的原邮件 ----
| 发件人 | ***@***.***> |
| 发送日期 | 2026年04月16日 08:45 |
| 收件人 | alibaba/higress ***@***.***> |
| 抄送人 | Kent ***@***.***>,
Comment ***@***.***> |
| 主题 | Re: [alibaba/higress] 插件内调用proxywasm的添加、删除header方法,导致AI路由404 || calls the add and delete header method of proxywasm in the plug-in, resulting in AI routing 404. (Discussion #3723) |
如果你的路由需要特定header才能匹配,那么需要先disableReroute
…
---- 回复的原邮件 ---- | 发件人 | @.> | | 发送日期 | 2026年04月15日 21:21 | | 收件人 | alibaba/higress @.> | | 抄送人 | Subscribed @.> | | 主题 | Re: [alibaba/higress] 插件内调用AddHttpRequestHeader,导致AI路由404 (Discussion #3723) | AI路由设置了前缀、model精准匹配 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.>
问题解决了,但是为什么重新路由就会404呢,AI路由只匹配前缀+model+消费者认证,我的操作也没有改变路由匹配的规则呀
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
我的自定义插件只要在onHttpRequestHeaders阶段调用proxywasm的添加头或者删除头方法,就会导致路由匹配不到404,不调用proxywasm的上述方法,路由就能匹配成功,这是为什么
As long as my custom plug-in calls the add header or delete header method of proxywasm in the onHttpRequestHeaders stage, the route will not match 404. If the above method of proxywasm is not called, the route will be matched successfully. This is why
Beta Was this translation helpful? Give feedback.
All reactions