fix: allow vendor_id=0 to be passed as model_type in experience button jump

This commit is contained in:
xiezhouwei 2026-06-21 16:47:42 +08:00
parent 4f8cde37d8
commit 07a6e29c1e
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ const ModelDetailSideSheet = ({
if (modelName) {
const params = new URLSearchParams();
params.set('model', modelName);
if (vendorId != null && vendorId !== 0) {
if (vendorId != null) {
params.set('model_type', vendorId);
}
navigate(`/console/playground?${params.toString()}`);