feat(*): 模型能力配置 - 支持模型级视频限制校验与协议管理

This commit is contained in:
ddCat
2026-08-06 15:34:45 +08:00
parent a18673a101
commit 9ca9dd9df6
36 changed files with 1692 additions and 401 deletions

View File

@@ -9,8 +9,8 @@ export default function AdminPage() {
if (!hydrated) return null;
if (actor?.role !== "admin") {
return (
<main className="min-h-dvh bg-background px-6 py-10 text-foreground">
<div className="mx-auto max-w-3xl rounded-lg border border-border bg-background p-6">
<main className="app-workspace-page min-h-dvh px-6 py-10 text-foreground">
<div className="mx-auto max-w-3xl rounded-lg border border-border bg-[var(--workspace-surface)] p-6">
<h1 className="text-2xl font-semibold">无权限</h1>
<p className="mt-2 text-sm text-foreground/55">当前账号不是管理员,无法访问后台。</p>
</div>