Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active
TypeScript aianthropicartifactsawsazurechatgptchatgpt-cloneclaudeclonedeepseekgeminigooglegpt-5librechatmcpo1openairesponses-apivisionwebui
import { ChartNoAxesGantt } from 'lucide-react';
import { Button, TooltipAnchor } from '@librechat/client';
import { useLocalize } from '~/hooks';
/** Header control that opens the conversation trace over the chat. */
export default function TraceButton({ onClick }: { onClick: () => void }) {
const localize = useLocalize();
const label = localize('com_ui_trace_view');
return (
<TooltipAnchor
description={label}
render={
<Button
size="icon"
variant="outline"
aria-label={label}
onClick={onClick}
data-testid="header-trace-button"
className="bg-presentation hover:bg-surface-tertiary size-9 shrink-0 rounded-xl"
>
<ChartNoAxesGantt className="icon-md" aria-hidden="true" />
</Button>
}
/>
);
}