fix the things
This commit is contained in:
parent
64ef041f9b
commit
4e031e746b
1 changed files with 3 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue