GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — chore(go): retire Union Alpha (#49718) · jtrag/opencode@a7f2373

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • packages
    • console/app/src
      • component
        • go-models.ts
        • limits-graph.css
        • limits-graph.tsx
      • i18n
        • ar.ts
        • br.ts
        • da.ts
        • de.ts
        • en.ts
        • es.ts
        • fr.ts
        • it.ts
        • ja.ts
        • ko.ts
        • no.ts
        • pl.ts
        • ru.ts
        • th.ts
        • tr.ts
        • uk.ts
        • zh.ts
        • zht.ts
      • routes
        • go
          • index.tsx
        • workspace/[id]/go
          • lite-section.tsx
    • web/src/content/docs
      • ar
        • go.mdx
        • zen.mdx
      • bs
        • go.mdx
        • zen.mdx
      • da
        • go.mdx
        • zen.mdx
      • de
        • go.mdx
        • zen.mdx
      • es
        • go.mdx
        • zen.mdx
      • fr
        • go.mdx
        • zen.mdx
      • go.mdx
      • it
        • go.mdx
        • zen.mdx
      • ja
        • go.mdx
        • zen.mdx
      • ko
        • go.mdx
        • zen.mdx
      • nb
        • go.mdx
        • zen.mdx
      • pl
        • go.mdx
        • zen.mdx
      • pt-br
        • go.mdx
        • zen.mdx
      • ru
        • go.mdx
        • zen.mdx
      • th
        • go.mdx
        • zen.mdx
      • tr
        • go.mdx
        • zen.mdx
      • zen.mdx
      • zh-cn
        • go.mdx
        • zen.mdx
      • zh-tw
        • go.mdx
        • zen.mdx

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎packages/console/app/src/component/go-models.ts‎

Copy file name to clipboardExpand all lines: packages/console/app/src/component/go-models.ts
-9Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,4 @@ export const goModels = [
5050
allowance: 60,
5151
regions: true,
5252
},
53-
{
54-
id: "union-alpha",
55-
name: "Union Alpha Free",
56-
requests: Infinity,
57-
allowance: Infinity,
58-
featured: true,
59-
fresh: true,
60-
unlimited: true,
61-
},
6253
].sort((a, b) => a.requests - b.requests)
Collapse file

‎packages/console/app/src/component/limits-graph.css‎

Copy file name to clipboardExpand all lines: packages/console/app/src/component/limits-graph.css
-5Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -144,11 +144,6 @@
144144
}
145145
}
146146

147-
[data-slot="model-row"][data-unlimited] :is([data-slot="requests"], [data-slot="allowance"]) bdi {
148-
font-size: 1.5rem;
149-
line-height: 1;
150-
}
151-
152147
[data-slot="currency"] {
153148
color: var(--color-text-weak);
154149
}
Collapse file

‎packages/console/app/src/component/limits-graph.tsx‎

Copy file name to clipboardExpand all lines: packages/console/app/src/component/limits-graph.tsx
+17-55Lines changed: 17 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,9 @@ import { useLanguage } from "~/context/language"
55
import { goModels } from "./go-models"
66

77
// Compress the request range, with the same domain in both views.
8-
const max = Math.max(...goModels.filter((model) => Number.isFinite(model.requests)).map((model) => model.requests))
8+
const max = Math.max(...goModels.map((model) => model.requests))
99
const position = (requests: number) =>
10-
Number.isFinite(requests)
11-
? 4 + Math.pow(Math.log10(Math.max(requests / 100, 1)) / Math.log10(max / 100), 2.2) * 88
12-
: 100
10+
4 + Math.pow(Math.log10(Math.max(requests / 100, 1)) / Math.log10(max / 100), 2.2) * 96
1311
const ticks = [100, 1000, 10000, 40000]
1412

1513
export function LimitsGraph(props: { href: string }) {
@@ -76,13 +74,7 @@ export function LimitsGraph(props: { href: string }) {
7674
<div role="rowgroup" data-slot="rows">
7775
<For each={models()}>
7876
{(model, index) => (
79-
<div
80-
role="row"
81-
data-slot="model-row"
82-
data-model={model.id}
83-
data-unlimited={model.unlimited ? "" : undefined}
84-
style={{ "--delay": `${index() * 30}ms` }}
85-
>
77+
<div role="row" data-slot="model-row" data-model={model.id} style={{ "--delay": `${index() * 30}ms` }}>
8678
<div role="rowheader" data-slot="model">
8779
<bdi>{model.name}</bdi>
8880
<Show when={model.fresh}>
@@ -91,9 +83,6 @@ export function LimitsGraph(props: { href: string }) {
9183
<Show when={model.bonus}>
9284
<span data-slot="badge">{i18n.t("go.graph.bonus", { count: model.bonus! })}</span>
9385
</Show>
94-
<Show when={model.unlimited}>
95-
<span data-slot="badge">{i18n.t("go.graph.limitedTime")}</span>
96-
</Show>
9786
<Show when={model.regions}>
9887
<a
9988
data-slot="region"
@@ -109,58 +98,31 @@ export function LimitsGraph(props: { href: string }) {
10998
</a>
11099
</Show>
111100
</div>
112-
<div
113-
role="cell"
114-
data-slot="usage-value"
115-
aria-label={model.unlimited ? i18n.t("go.graph.unlimited") : undefined}
116-
>
101+
<div role="cell" data-slot="usage-value">
117102
<div data-slot="track" aria-hidden="true">
118103
<For each={ticks}>
119104
{(tick) => <span data-slot="gridline" style={{ "--position": `${position(tick)}%` }} />}
120105
</For>
121106
<div data-slot="bar" style={{ "--width": `${position(model.requests)}%` }} />
122107
</div>
123108
<div data-slot="requests">
124-
<Show
125-
when={!model.unlimited}
126-
fallback={
127-
<bdi aria-hidden="true" title={i18n.t("go.graph.unlimited")}>
128-
∞
129-
</bdi>
130-
}
131-
>
132-
<Show when={model.baseRequests}>
133-
<s>{format().format(model.baseRequests!)}</s>{" "}
134-
</Show>
135-
<bdi>{format().format(model.requests)}</bdi>
109+
<Show when={model.baseRequests}>
110+
<s>{format().format(model.baseRequests!)}</s>{" "}
136111
</Show>
112+
<bdi>{format().format(model.requests)}</bdi>
137113
</div>
138114
</div>
139-
<div
140-
role="cell"
141-
data-slot="allowance"
142-
data-high={model.allowance >= 60 ? "" : undefined}
143-
aria-label={model.unlimited ? i18n.t("go.graph.unlimited") : undefined}
144-
>
145-
<Show
146-
when={!model.unlimited}
147-
fallback={
148-
<bdi aria-hidden="true" title={i18n.t("go.graph.unlimited")}>
149-
∞
150-
</bdi>
151-
}
152-
>
153-
<Show when={model.baseAllowance}>
154-
<s>{currency().format(model.baseAllowance!)}</s>{" "}
155-
</Show>
156-
<bdi>
157-
<For each={currency().formatToParts(model.allowance)}>
158-
{(part) => (
159-
<span data-slot={part.type === "currency" ? "currency" : undefined}>{part.value}</span>
160-
)}
161-
</For>
162-
</bdi>
115+
<div role="cell" data-slot="allowance" data-high={model.allowance >= 60 ? "" : undefined}>
116+
<Show when={model.baseAllowance}>
117+
<s>{currency().format(model.baseAllowance!)}</s>{" "}
163118
</Show>
119+
<bdi>
120+
<For each={currency().formatToParts(model.allowance)}>
121+
{(part) => (
122+
<span data-slot={part.type === "currency" ? "currency" : undefined}>{part.value}</span>
123+
)}
124+
</For>
125+
</bdi>
164126
</div>
165127
</div>
166128
)}
Collapse file

‎packages/console/app/src/i18n/ar.ts‎

Copy file name to clipboardExpand all lines: packages/console/app/src/i18n/ar.ts
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { dict as en } from "./en"
33

44
export const dict = {
55
...en,
6-
"go.promo.unionAlpha": "يتوفر Union Alpha مجانًا لفترة محدودة",
6+
"go.promo.deepseek": "يحصل DeepSeek V4.1 Flash على حدود استخدام مضاعفة 4 مرات لفترة محدودة",
77
"go.graph.bonus": "استخدام مضاعف {{count}} مرات",
88
"nav.github": "GitHub",
99
"nav.docs": "الوثائق",
@@ -282,7 +282,6 @@ export const dict = {
282282
"go.graph.showLess": "عرض نماذج أقل",
283283
"go.graph.limitedRegions": "مناطق محدودة",
284284
"go.graph.limitedTime": "لفترة محدودة",
285-
"go.graph.unlimited": "غير محدود",
286285
"go.graph.usageLimits": "حدود الاستخدام",
287286
"go.graph.aria": "الطلبات كل 5 ساعات: {{free}} مقابل {{go}}",
288287

Collapse file

‎packages/console/app/src/i18n/br.ts‎

Copy file name to clipboardExpand all lines: packages/console/app/src/i18n/br.ts
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { dict as en } from "./en"
33

44
export const dict = {
55
...en,
6-
"go.promo.unionAlpha": "O Union Alpha está grátis por tempo limitado",
6+
"go.promo.deepseek": "DeepSeek V4.1 Flash tem limites de uso 4x maiores por tempo limitado",
77
"go.graph.bonus": "{{count}}× mais uso",
88
"nav.github": "GitHub",
99
"nav.docs": "Documentação",
@@ -288,7 +288,6 @@ export const dict = {
288288
"go.graph.showLess": "Mostrar menos modelos",
289289
"go.graph.limitedRegions": "regiões limitadas",
290290
"go.graph.limitedTime": "tempo limitado",
291-
"go.graph.unlimited": "ilimitado",
292291
"go.graph.usageLimits": "Limites de uso",
293292
"go.graph.aria": "Requisições por 5h: {{free}} vs {{go}}",
294293

Collapse file

‎packages/console/app/src/i18n/da.ts‎

Copy file name to clipboardExpand all lines: packages/console/app/src/i18n/da.ts
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { dict as en } from "./en"
33

44
export const dict = {
55
...en,
6-
"go.promo.unionAlpha": "Union Alpha er gratis i en begrænset periode",
6+
"go.promo.deepseek": "DeepSeek V4.1 Flash får firedoblet brugsgrænse i en begrænset periode",
77
"go.graph.bonus": "{{count}}× forbrug",
88
"nav.github": "GitHub",
99
"nav.docs": "Dokumentation",
@@ -285,7 +285,6 @@ export const dict = {
285285
"go.graph.showLess": "Vis færre modeller",
286286
"go.graph.limitedRegions": "begrænsede regioner",
287287
"go.graph.limitedTime": "begrænset periode",
288-
"go.graph.unlimited": "ubegrænset",
289288
"go.graph.usageLimits": "Forbrugsgrænser",
290289
"go.graph.aria": "Forespørgsler pr. 5t: {{free}} vs {{go}}",
291290

Collapse file

‎packages/console/app/src/i18n/de.ts‎

Copy file name to clipboardExpand all lines: packages/console/app/src/i18n/de.ts
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { dict as en } from "./en"
33

44
export const dict = {
55
...en,
6-
"go.promo.unionAlpha": "Union Alpha ist für begrenzte Zeit kostenlos",
6+
"go.promo.deepseek": "DeepSeek V4.1 Flash erhält für begrenzte Zeit 4x Nutzungslimits",
77
"go.graph.bonus": "{{count}}× Nutzung",
88
"nav.github": "GitHub",
99
"nav.docs": "Dokumentation",
@@ -287,7 +287,6 @@ export const dict = {
287287
"go.graph.showLess": "Weniger Modelle anzeigen",
288288
"go.graph.limitedRegions": "begrenzte Regionen",
289289
"go.graph.limitedTime": "begrenzte Zeit",
290-
"go.graph.unlimited": "unbegrenzt",
291290
"go.graph.usageLimits": "Nutzungslimits",
292291
"go.graph.aria": "Anfragen pro 5h: {{free}} vs {{go}}",
293292

Collapse file

‎packages/console/app/src/i18n/en.ts‎

Copy file name to clipboardExpand all lines: packages/console/app/src/i18n/en.ts
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export const dict = {
2-
"go.promo.unionAlpha": "Union Alpha is free for a limited time",
2+
"go.promo.deepseek": "DeepSeek V4.1 Flash gets 4× usage limits for a limited time",
33
"go.graph.bonus": "{{count}}× usage",
44
"nav.github": "GitHub",
55
"nav.docs": "Docs",
@@ -282,7 +282,6 @@ export const dict = {
282282
"go.graph.showLess": "Show fewer models",
283283
"go.graph.limitedRegions": "limited regions",
284284
"go.graph.limitedTime": "limited time",
285-
"go.graph.unlimited": "unlimited",
286285
"go.graph.tick": "{{n}}x",
287286
"go.graph.usageLimits": "Usage limits",
288287
"go.graph.aria": "Requests per 5h: {{free}} vs {{go}}",
Collapse file

‎packages/console/app/src/i18n/es.ts‎

Copy file name to clipboardExpand all lines: packages/console/app/src/i18n/es.ts
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { dict as en } from "./en"
33

44
export const dict = {
55
...en,
6-
"go.promo.unionAlpha": "Union Alpha es gratis por tiempo limitado",
6+
"go.promo.deepseek": "DeepSeek V4.1 Flash tiene límites de uso 4x mayores por tiempo limitado",
77
"go.graph.bonus": "{{count}}× de uso",
88
"nav.github": "GitHub",
99
"nav.docs": "Documentación",
@@ -289,7 +289,6 @@ export const dict = {
289289
"go.graph.showLess": "Mostrar menos modelos",
290290
"go.graph.limitedRegions": "regiones limitadas",
291291
"go.graph.limitedTime": "tiempo limitado",
292-
"go.graph.unlimited": "ilimitado",
293292
"go.graph.usageLimits": "Límites de uso",
294293
"go.graph.aria": "Solicitudes por 5h: {{free}} vs {{go}}",
295294

Collapse file

‎packages/console/app/src/i18n/fr.ts‎

Copy file name to clipboardExpand all lines: packages/console/app/src/i18n/fr.ts
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { dict as en } from "./en"
33

44
export const dict = {
55
...en,
6-
"go.promo.unionAlpha": "Union Alpha est gratuit pendant une durée limitée",
6+
"go.promo.deepseek": "DeepSeek V4.1 Flash bénéficie de limites d’utilisation 4x supérieures pour une durée limitée",
77
"go.graph.bonus": "{{count}}× d’utilisation",
88
"app.meta.description": "OpenCode - L'agent de code open source.",
99
"nav.github": "GitHub",
@@ -290,7 +290,6 @@ export const dict = {
290290
"go.graph.showLess": "Afficher moins de modèles",
291291
"go.graph.limitedRegions": "régions limitées",
292292
"go.graph.limitedTime": "durée limitée",
293-
"go.graph.unlimited": "illimité",
294293
"go.graph.usageLimits": "Limites d’utilisation",
295294
"go.graph.aria": "Requêtes par 5h : {{free}} vs {{go}}",
296295

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.