import { CircleDot, Github, RotateCcw } from "lucide-react"; import { Badge } from "@/components/ui/Badge"; import { Button } from "@/components/ui/Button"; interface Props { model: string | null; apiKeyPresent: boolean | null; sessionId: string | null; onReset: () => void; busy: boolean; } export function Header({ model, apiKeyPresent, sessionId, onReset, busy }: Props) { return (
B
BayesScenParams Agent
贝叶斯情景参数智能量化 · powered by Claude Agent SDK
{apiKeyPresent === false && ( 未配置 API Key )} {apiKeyPresent === true && ( 已连接 )} {model && {model}} {sessionId && ( session {sessionId.slice(0, 8)}… )}
); }