feat: 首次推送到Gitea - 完整项目代码 + 安全加固 + 知识库

This commit is contained in:
ZhuiGuangAI Dev
2026-10-02 18:52:49 +08:00
parent b44601bb66
commit 8205ae709c
1185 changed files with 49841 additions and 12802 deletions
@@ -19,6 +19,7 @@ import {
TrendingUp,
} from "lucide-react";
import { cn } from "@/lib/utils";
import { LazyImage } from "@/components/ui/LazyImage";
interface SourceMetrics {
replyCount: number;
@@ -268,7 +269,7 @@ export default function BotAdversarialLearningClient() {
className="w-full px-4 py-3 flex items-center gap-3 hover:bg-slate-50"
>
{l.botAvatar ? (
<img src={l.botAvatar} alt={l.botName} className="w-8 h-8 rounded-full object-cover" />
<LazyImage src={l.botAvatar} alt={l.botName} width={32} height={32} className="w-8 h-8 rounded-full object-cover" />
) : (
<div className="w-8 h-8 rounded-full bg-violet-100 text-violet-600 flex items-center justify-center text-sm font-medium">
{l.botName?.charAt(0) || "?"}