Skip to content

Commit 78bfa6a

Browse files
committed
fix(webapp): include "not_findable" in the admin pricing-unit options
So the edit form has a matching option for models the research pipeline marks not_findable, instead of a controlled select with no match.
1 parent 7b5384f commit 78bfa6a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

apps/webapp/app/routes/admin.llm-models.$modelId.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ type TierData = {
445445
prices: Record<string, number>;
446446
};
447447

448-
const PRICING_UNITS = ["tokens", "characters", "images", "minutes", "requests", "free"];
448+
const PRICING_UNITS = ["tokens", "characters", "images", "minutes", "requests", "free", "not_findable"];
449449

450450
const COMMON_USAGE_TYPES = [
451451
"input",

apps/webapp/app/routes/admin.llm-models.new.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ type TierData = {
386386
prices: Record<string, number>;
387387
};
388388

389-
const PRICING_UNITS = ["tokens", "characters", "images", "minutes", "requests", "free"];
389+
const PRICING_UNITS = ["tokens", "characters", "images", "minutes", "requests", "free", "not_findable"];
390390

391391
const COMMON_USAGE_TYPES = [
392392
"input",

0 commit comments

Comments
 (0)