fix the things

This commit is contained in:
Brent O'Neill 2025-10-06 16:07:24 -06:00
parent 64ef041f9b
commit 4e031e746b

View file

@ -1,6 +1,6 @@
"use client";
import { ArrowUpRight, Loader2, Minus, Plus } from "lucide-react";
import { ArrowUpRight, Loader2, Minus, PlugZap, Plus } from "lucide-react";
import Link from "next/link";
import { useRouter, useSearchParams } from "next/navigation";
import { Suspense, useCallback, useEffect, useState } from "react";
@ -53,6 +53,7 @@ import { ModelSelectItems } from "./helpers/model-select-item";
import GoogleDriveIcon from "./icons/google-drive-icon";
import OneDriveIcon from "./icons/one-drive-icon";
import SharePointIcon from "./icons/share-point-icon";
import { availableMemory } from "process";
const { MAX_SYSTEM_PROMPT_CHARS } = UI_CONSTANTS;
@ -310,6 +311,7 @@ function KnowledgeSourcesPage() {
icon: getConnectorIcon(connectorsResult.connectors[type].icon),
status: "not_connected" as const,
type: type,
available: connectorsResult.connectors[type].available,
}));
setConnectors(initialConnectors);