mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-21 02:22:40 +00:00
zen: update usage graph on landing page
This commit is contained in:
parent
f89696509e
commit
fac23a1afc
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ function LimitsGraph(props: { href: string }) {
|
|||
const rmax = Math.max(1, ...models.map((m) => ratio(m.req)))
|
||||
const log = (n: number) => Math.log10(Math.max(n, 1))
|
||||
const base = 24
|
||||
const p = 2.2
|
||||
const p = 1.8
|
||||
const x = (r: number) => left + base + Math.pow(log(r) / log(rmax), p) * (plot - base)
|
||||
const start = (x(1) / w) * 100
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue