mirror of
https://gitee.com/zhangsken/opencode.git
synced 2026-10-16 10:30:01 +08:00
fix(go): make DeepSeek $60 allowance permanent (#51364)
This commit is contained in:
@@ -28,10 +28,7 @@ export const goModels = [
|
||||
id: "deepseek-flash",
|
||||
name: "DeepSeek V4.1 Flash",
|
||||
requests: 26000,
|
||||
baseRequests: 6500,
|
||||
allowance: 60,
|
||||
baseAllowance: 15,
|
||||
bonus: 4,
|
||||
featured: true,
|
||||
fresh: true,
|
||||
},
|
||||
|
||||
@@ -88,9 +88,6 @@ export function LimitsGraph(props: { href: string }) {
|
||||
<Show when={model.fresh}>
|
||||
<span data-slot="badge">{i18n.t("go.graph.new")}</span>
|
||||
</Show>
|
||||
<Show when={model.bonus}>
|
||||
<span data-slot="badge">{i18n.t("go.graph.bonus", { count: model.bonus! })}</span>
|
||||
</Show>
|
||||
<Show when={model.limitedTime}>
|
||||
<span data-slot="badge">{i18n.t("go.graph.limitedTime")}</span>
|
||||
</Show>
|
||||
@@ -117,16 +114,10 @@ export function LimitsGraph(props: { href: string }) {
|
||||
<div data-slot="bar" style={{ "--width": `${position(model.requests)}%` }} />
|
||||
</div>
|
||||
<div data-slot="requests">
|
||||
<Show when={model.baseRequests}>
|
||||
<s>{format().format(model.baseRequests!)}</s>{" "}
|
||||
</Show>
|
||||
<bdi>{format().format(model.requests)}</bdi>
|
||||
</div>
|
||||
</div>
|
||||
<div role="cell" data-slot="allowance" data-high={model.allowance >= 60 ? "" : undefined}>
|
||||
<Show when={model.baseAllowance}>
|
||||
<s>{currency().format(model.baseAllowance!)}</s>{" "}
|
||||
</Show>
|
||||
<bdi>
|
||||
<Show when={Number.isFinite(model.allowance)} fallback="∞">
|
||||
<For each={currency().formatToParts(model.allowance)}>
|
||||
|
||||
@@ -662,7 +662,7 @@ export function LiteSection(props: { lite: LiteSubscription | undefined }) {
|
||||
<li>Qwen3.7 Max</li>
|
||||
<li>Qwen3.7 Plus</li>
|
||||
<li>Qwen3.6 Plus</li>
|
||||
<li>DeepSeek V4.1 Flash — {i18n.t("go.graph.bonus", { count: 4 })}</li>
|
||||
<li>DeepSeek V4.1 Flash</li>
|
||||
<li>DeepSeek V4 Pro</li>
|
||||
<li>DeepSeek V4 Flash</li>
|
||||
<li>DeepSeek V4 Flash Vision Exp</li>
|
||||
|
||||
Reference in New Issue
Block a user