This commit is contained in:
Cole Goldsmith 2025-11-19 13:16:59 -06:00
parent cf8eb9ccce
commit 697baceb5f
5 changed files with 146 additions and 140 deletions

View file

@ -63,8 +63,7 @@ const AnthropicSettingsDialog = ({
queryClient.setQueryData(["provider", "health"], healthData); queryClient.setQueryData(["provider", "health"], healthData);
toast.message("Anthropic successfully configured", { toast.message("Anthropic successfully configured", {
description: description: "You can now access the provided language models.",
"You can now access the provided language models.",
duration: Infinity, duration: Infinity,
closeButton: true, closeButton: true,
icon: <AnthropicLogo className="w-4 h-4 text-[#D97757]" />, icon: <AnthropicLogo className="w-4 h-4 text-[#D97757]" />,

View file

@ -785,7 +785,12 @@ function KnowledgeSourcesPage() {
<div className="flex flex-col gap-3"> <div className="flex flex-col gap-3">
<div className="mb-1"> <div className="mb-1">
<div <div
className={cn("w-8 h-8 rounded flex items-center justify-center border", connector?.available ? "bg-white" : "bg-muted grayscale")} className={cn(
"w-8 h-8 rounded flex items-center justify-center border",
connector?.available
? "bg-white"
: "bg-muted grayscale",
)}
> >
{connector.icon} {connector.icon}
</div> </div>
@ -794,7 +799,9 @@ function KnowledgeSourcesPage() {
{connector.name} {connector.name}
</CardTitle> </CardTitle>
<CardDescription className="text-sm"> <CardDescription className="text-sm">
{connector?.available ? `${connector.name} is configured.` : "Not configured."} {connector?.available
? `${connector.name} is configured.`
: "Not configured."}
</CardDescription> </CardDescription>
</div> </div>
</div> </div>