fix(vercel): align js stream path guard with go chat alias

This commit is contained in:
CJACK.
2026-05-09 18:16:47 +08:00
parent 0670d5acb4
commit 595ddf52af
2 changed files with 5 additions and 2 deletions

View File

@@ -88,7 +88,7 @@ function isVercelRuntime() {
function isNodeStreamSupportedPath(rawURL) {
const path = extractPathname(rawURL);
return path === '/v1/chat/completions';
return path === '/v1/chat/completions' || path === '/chat/completions';
}
function extractPathname(rawURL) {