Переглянути джерело

tui: clarify free tier includes Big Pickle and promotional requests on Go pricing page

David Hill 6 місяців тому
батько
коміт
f8685a4d53

+ 1 - 0
packages/console/app/src/i18n/en.ts

@@ -258,6 +258,7 @@ export const dict = {
   "go.cta.price": "$10/month",
   "go.pricing.body": "Use with any agent. Top up credit if needed. Cancel any time.",
   "go.graph.free": "Free",
+  "go.graph.freePill": "Big Pickle and promotional",
   "go.graph.go": "Go",
   "go.graph.label": "Requests/5h",
   "go.graph.usageLimits": "Usage limits",

+ 2 - 2
packages/console/app/src/routes/go/index.tsx

@@ -67,7 +67,7 @@ function LimitsGraph(props: { href: string }) {
   const x = (r: number) => left + base + Math.pow(log(r) / log(rmax), p) * (plot - base)
   const start = (x(1) / w) * 100
 
-  const ticks = [1, 2, 5, 10, 25, 50, 100].filter((t) => t <= rmax)
+  const ticks = [1, 5, 10, 25, 50, 100].filter((t) => t <= rmax)
   const labels = (() => {
     const set = new Set<number>()
     let last = -Infinity
@@ -162,7 +162,7 @@ function LimitsGraph(props: { href: string }) {
 
         <div data-slot="pills" aria-hidden="true">
           <span data-item data-kind="free" style={{ "--x": px(x(1)), "--y": py(fy), "--d": "0ms" } as any}>
-            <span data-name>{i18n.t("go.graph.free")}</span>
+            <span data-name>{i18n.t("go.graph.freePill")}</span>
             <span data-value>{free.toLocaleString()}</span>
           </span>
           <For each={models}>