feat(mcp/sse): support passthourgh the query parameter in sse server to the rest api server (#2460)

This commit is contained in:
xingpiaoliang
2025-06-20 15:07:45 +08:00
committed by GitHub
parent db66df39c4
commit 04cbbfc7e8
3 changed files with 23 additions and 9 deletions

View File

@@ -88,6 +88,11 @@ checkDesiredVersion() {
elif [ "${HAS_WGET}" == "true" ]; then
VERSION=$(wget $latest_release_url -O - 2>&1 | grep 'href="/alibaba/higress/releases/tag/v[0-9]*.[0-9]*.[0-9]*\"' | sed -E 's/.*\/alibaba\/higress\/releases\/tag\/(v[0-9\.]+)".*/\1/g' | head -1)
fi
if [ "$VERSION" == "" ]; then
echo "Failed to determine latest version. Please check network or set VERSION manually."
exit 1
fi
fi
}