mirror of
https://github.com/alibaba/higress.git
synced 2026-05-26 21:57:30 +08:00
fix(ai-proxy): migrate Qwen responses endpoint to new compatible path (#3722)
This commit is contained in:
@@ -449,7 +449,7 @@ func RunQwenOnHttpRequestHeadersTests(t *testing.T) {
|
||||
|
||||
pathValue, hasPath := test.GetHeaderValue(requestHeaders, ":path")
|
||||
require.True(t, hasPath)
|
||||
require.Contains(t, pathValue, "/api/v2/apps/protocols/compatible-mode/v1/responses", "Path should use compatible mode responses path")
|
||||
require.Contains(t, pathValue, "/compatible-mode/v1/responses", "Path should use compatible mode responses path")
|
||||
})
|
||||
})
|
||||
}
|
||||
@@ -768,7 +768,7 @@ func RunQwenOnHttpRequestBodyTests(t *testing.T) {
|
||||
},
|
||||
{
|
||||
name: "compatible responses path",
|
||||
path: "/api/v2/apps/protocols/compatible-mode/v1/responses",
|
||||
path: "/compatible-mode/v1/responses",
|
||||
},
|
||||
{
|
||||
name: "async aigc path",
|
||||
|
||||
Reference in New Issue
Block a user