setActions((x) => x + 1)}
onRetry={state === "unavailable" ? () => setActions((x) => x + 1) : undefined}
startPlanPreviewVisible={false}
planLevel="Start"
subscriptionDetails={
status === "purchased"
? [
{
productId: "start",
productName: "Start Plan",
purchaseTime: null,
beginTime: null,
expireTime: null,
entitlements:
state === "pending"
? [
{
entitlementId: "scheduled",
effectiveTime: new Date(Date.now() + 3600000).toISOString(),
},
]
: [],
},
]
: []
}
quotaLimits={
status === "purchased" && state !== "pending"
? [
{
type: "tokens",
planId: "start",
number: 3000000,
remaining: state === "empty" ? 0 : 1500000,
usageDetails: [{ modelCode: "GLM-5.3" }],
},
]
: []
}
/>
{formatModelChangeLabel(family.teamCodingPlanProviderId, undefined, "GLM-5.3", intl)} →{" "}
{formatModelChangeLabel(family.startPlanProviderId, undefined, "GLM-5.3", intl)}