format
This commit is contained in:
parent
cf8eb9ccce
commit
697baceb5f
5 changed files with 146 additions and 140 deletions
|
|
@ -63,8 +63,7 @@ const AnthropicSettingsDialog = ({
|
|||
queryClient.setQueryData(["provider", "health"], healthData);
|
||||
|
||||
toast.message("Anthropic successfully configured", {
|
||||
description:
|
||||
"You can now access the provided language models.",
|
||||
description: "You can now access the provided language models.",
|
||||
duration: Infinity,
|
||||
closeButton: true,
|
||||
icon: <AnthropicLogo className="w-4 h-4 text-[#D97757]" />,
|
||||
|
|
|
|||
|
|
@ -785,7 +785,12 @@ function KnowledgeSourcesPage() {
|
|||
<div className="flex flex-col gap-3">
|
||||
<div className="mb-1">
|
||||
<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}
|
||||
</div>
|
||||
|
|
@ -794,7 +799,9 @@ function KnowledgeSourcesPage() {
|
|||
{connector.name}
|
||||
</CardTitle>
|
||||
<CardDescription className="text-sm">
|
||||
{connector?.available ? `${connector.name} is configured.` : "Not configured."}
|
||||
{connector?.available
|
||||
? `${connector.name} is configured.`
|
||||
: "Not configured."}
|
||||
</CardDescription>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue