Skip to content

Commit 1e8c733

Browse files
committed
fix: determine isLive from gateway_id or Live tag
1 parent 3254222 commit 1e8c733

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/fetch-models.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ function normalizeApiModel(model) {
6262
active_params: meta.active_params,
6363
precision: meta.precision,
6464
model_url: meta.model_url,
65-
isLive: Boolean(model.gateway_id),
65+
isLive: Boolean(model.gateway_id) || tags.includes('Live'),
6666
isNew: tags.includes('New'),
6767
isTrending: tags.includes('Trending'),
6868
};

0 commit comments

Comments
 (0)