mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-15 18:25:18 +02:00
chore: linting
This commit is contained in:
parent
725c03ab5d
commit
f7ccd8ff91
7 changed files with 42 additions and 40 deletions
|
|
@ -85,7 +85,7 @@ export function HeroSection() {
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<h2 className="relative z-50 mx-auto mb-4 mt-4 max-w-4xl text-balance text-center text-3xl font-semibold tracking-tight text-gray-700 md:text-7xl dark:text-neutral-300">
|
<h2 className="relative z-50 mx-auto mb-4 mt-4 max-w-4xl text-balance text-center text-3xl font-semibold tracking-tight text-gray-700 md:text-7xl dark:text-neutral-300">
|
||||||
{isNotebookLMVariant ? (
|
{isNotebookLMVariant ? (
|
||||||
<div className="relative mx-auto inline-block w-max filter-[drop-shadow(0px_1px_3px_rgba(27,37,80,0.14))]">
|
<div className="relative mx-auto inline-block w-max filter-[drop-shadow(0px_1px_3px_rgba(27,37,80,0.14))]">
|
||||||
<div className="text-black [text-shadow:0_0_rgba(0,0,0,0.1)] dark:text-white">
|
<div className="text-black [text-shadow:0_0_rgba(0,0,0,0.1)] dark:text-white">
|
||||||
<Balancer>NotebookLM with Superpowers</Balancer>
|
<Balancer>NotebookLM with Superpowers</Balancer>
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
"use client";
|
"use client";
|
||||||
|
|
||||||
import type React from "react";
|
|
||||||
import Image from "next/image";
|
import Image from "next/image";
|
||||||
|
import type React from "react";
|
||||||
|
|
||||||
interface Integration {
|
interface Integration {
|
||||||
name: string;
|
name: string;
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,6 @@ export { default as AnthropicIcon } from "./anthropic.svg";
|
||||||
export { default as AnyscaleIcon } from "./anyscale.svg";
|
export { default as AnyscaleIcon } from "./anyscale.svg";
|
||||||
export { default as BedrockIcon } from "./bedrock.svg";
|
export { default as BedrockIcon } from "./bedrock.svg";
|
||||||
export { default as CerebrasIcon } from "./cerebras.svg";
|
export { default as CerebrasIcon } from "./cerebras.svg";
|
||||||
export { default as CloudflareIcon } from "./workersai-cloudflare.svg";
|
|
||||||
export { default as CohereIcon } from "./cohere.svg";
|
export { default as CohereIcon } from "./cohere.svg";
|
||||||
export { default as CometApiIcon } from "./cometapi.svg";
|
export { default as CometApiIcon } from "./cometapi.svg";
|
||||||
export { default as DatabricksIcon } from "./dbrx.svg";
|
export { default as DatabricksIcon } from "./dbrx.svg";
|
||||||
|
|
@ -26,6 +25,7 @@ export { default as ReplicateIcon } from "./replicate.svg";
|
||||||
export { default as SambaNovaIcon } from "./sambanova.svg";
|
export { default as SambaNovaIcon } from "./sambanova.svg";
|
||||||
export { default as TogetherAiIcon } from "./togetherai.svg";
|
export { default as TogetherAiIcon } from "./togetherai.svg";
|
||||||
export { default as VertexAiIcon } from "./vertexai.svg";
|
export { default as VertexAiIcon } from "./vertexai.svg";
|
||||||
|
export { default as CloudflareIcon } from "./workersai-cloudflare.svg";
|
||||||
export { default as XaiIcon } from "./xai.svg";
|
export { default as XaiIcon } from "./xai.svg";
|
||||||
export { default as XinferenceIcon } from "./xinference.svg";
|
export { default as XinferenceIcon } from "./xinference.svg";
|
||||||
export { default as ZhipuIcon } from "./zhipu.svg";
|
export { default as ZhipuIcon } from "./zhipu.svg";
|
||||||
|
|
|
||||||
|
|
@ -6,10 +6,10 @@ import {
|
||||||
Check,
|
Check,
|
||||||
ChevronsUpDown,
|
ChevronsUpDown,
|
||||||
Edit3,
|
Edit3,
|
||||||
|
Info,
|
||||||
Key,
|
Key,
|
||||||
Plus,
|
Plus,
|
||||||
RefreshCw,
|
RefreshCw,
|
||||||
Info,
|
|
||||||
Trash2,
|
Trash2,
|
||||||
Wand2,
|
Wand2,
|
||||||
} from "lucide-react";
|
} from "lucide-react";
|
||||||
|
|
@ -17,7 +17,6 @@ import { AnimatePresence, motion } from "motion/react";
|
||||||
import Image from "next/image";
|
import Image from "next/image";
|
||||||
import { useCallback, useMemo, useState } from "react";
|
import { useCallback, useMemo, useState } from "react";
|
||||||
import { toast } from "sonner";
|
import { toast } from "sonner";
|
||||||
import { membersAtom, myAccessAtom } from "@/atoms/members/members-query.atoms";
|
|
||||||
import {
|
import {
|
||||||
createImageGenConfigMutationAtom,
|
createImageGenConfigMutationAtom,
|
||||||
deleteImageGenConfigMutationAtom,
|
deleteImageGenConfigMutationAtom,
|
||||||
|
|
@ -27,6 +26,7 @@ import {
|
||||||
globalImageGenConfigsAtom,
|
globalImageGenConfigsAtom,
|
||||||
imageGenConfigsAtom,
|
imageGenConfigsAtom,
|
||||||
} from "@/atoms/image-gen-config/image-gen-config-query.atoms";
|
} from "@/atoms/image-gen-config/image-gen-config-query.atoms";
|
||||||
|
import { membersAtom, myAccessAtom } from "@/atoms/members/members-query.atoms";
|
||||||
import { updateLLMPreferencesMutationAtom } from "@/atoms/new-llm-config/new-llm-config-mutation.atoms";
|
import { updateLLMPreferencesMutationAtom } from "@/atoms/new-llm-config/new-llm-config-mutation.atoms";
|
||||||
import { Alert, AlertDescription } from "@/components/ui/alert";
|
import { Alert, AlertDescription } from "@/components/ui/alert";
|
||||||
import {
|
import {
|
||||||
|
|
@ -75,8 +75,8 @@ import {
|
||||||
IMAGE_GEN_PROVIDERS,
|
IMAGE_GEN_PROVIDERS,
|
||||||
} from "@/contracts/enums/image-gen-providers";
|
} from "@/contracts/enums/image-gen-providers";
|
||||||
import type { ImageGenerationConfig } from "@/contracts/types/new-llm-config.types";
|
import type { ImageGenerationConfig } from "@/contracts/types/new-llm-config.types";
|
||||||
import { cn } from "@/lib/utils";
|
|
||||||
import { getProviderIcon } from "@/lib/provider-icons";
|
import { getProviderIcon } from "@/lib/provider-icons";
|
||||||
|
import { cn } from "@/lib/utils";
|
||||||
|
|
||||||
interface ImageModelManagerProps {
|
interface ImageModelManagerProps {
|
||||||
searchSpaceId: number;
|
searchSpaceId: number;
|
||||||
|
|
|
||||||
|
|
@ -41,8 +41,8 @@ import {
|
||||||
SelectValue,
|
SelectValue,
|
||||||
} from "@/components/ui/select";
|
} from "@/components/ui/select";
|
||||||
import { Skeleton } from "@/components/ui/skeleton";
|
import { Skeleton } from "@/components/ui/skeleton";
|
||||||
import { cn } from "@/lib/utils";
|
|
||||||
import { getProviderIcon } from "@/lib/provider-icons";
|
import { getProviderIcon } from "@/lib/provider-icons";
|
||||||
|
import { cn } from "@/lib/utils";
|
||||||
|
|
||||||
const ROLE_DESCRIPTIONS = {
|
const ROLE_DESCRIPTIONS = {
|
||||||
agent: {
|
agent: {
|
||||||
|
|
|
||||||
|
|
@ -5,10 +5,10 @@ import {
|
||||||
AlertCircle,
|
AlertCircle,
|
||||||
Edit3,
|
Edit3,
|
||||||
FileText,
|
FileText,
|
||||||
|
Info,
|
||||||
MessageSquareQuote,
|
MessageSquareQuote,
|
||||||
Plus,
|
Plus,
|
||||||
RefreshCw,
|
RefreshCw,
|
||||||
Info,
|
|
||||||
Trash2,
|
Trash2,
|
||||||
Wand2,
|
Wand2,
|
||||||
} from "lucide-react";
|
} from "lucide-react";
|
||||||
|
|
@ -51,8 +51,8 @@ import { Skeleton } from "@/components/ui/skeleton";
|
||||||
import { Spinner } from "@/components/ui/spinner";
|
import { Spinner } from "@/components/ui/spinner";
|
||||||
import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "@/components/ui/tooltip";
|
import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "@/components/ui/tooltip";
|
||||||
import type { NewLLMConfig } from "@/contracts/types/new-llm-config.types";
|
import type { NewLLMConfig } from "@/contracts/types/new-llm-config.types";
|
||||||
import { cn } from "@/lib/utils";
|
|
||||||
import { getProviderIcon } from "@/lib/provider-icons";
|
import { getProviderIcon } from "@/lib/provider-icons";
|
||||||
|
import { cn } from "@/lib/utils";
|
||||||
|
|
||||||
interface ModelConfigManagerProps {
|
interface ModelConfigManagerProps {
|
||||||
searchSpaceId: number;
|
searchSpaceId: number;
|
||||||
|
|
|
||||||
|
|
@ -1,36 +1,38 @@
|
||||||
import { Bot, Shuffle } from "lucide-react";
|
import { Bot, Shuffle } from "lucide-react";
|
||||||
|
import {
|
||||||
|
Ai21Icon,
|
||||||
|
AnthropicIcon,
|
||||||
|
AnyscaleIcon,
|
||||||
|
BedrockIcon,
|
||||||
|
CerebrasIcon,
|
||||||
|
CloudflareIcon,
|
||||||
|
CohereIcon,
|
||||||
|
CometApiIcon,
|
||||||
|
DatabricksIcon,
|
||||||
|
DeepInfraIcon,
|
||||||
|
DeepSeekIcon,
|
||||||
|
FireworksAiIcon,
|
||||||
|
GeminiIcon,
|
||||||
|
GroqIcon,
|
||||||
|
HuggingFaceIcon,
|
||||||
|
MistralIcon,
|
||||||
|
MoonshotIcon,
|
||||||
|
NscaleIcon,
|
||||||
|
OllamaIcon,
|
||||||
|
OpenaiIcon,
|
||||||
|
OpenRouterIcon,
|
||||||
|
PerplexityIcon,
|
||||||
|
QwenIcon,
|
||||||
|
RecraftIcon,
|
||||||
|
ReplicateIcon,
|
||||||
|
SambaNovaIcon,
|
||||||
|
TogetherAiIcon,
|
||||||
|
VertexAiIcon,
|
||||||
|
XaiIcon,
|
||||||
|
XinferenceIcon,
|
||||||
|
ZhipuIcon,
|
||||||
|
} from "@/components/icons/providers";
|
||||||
import { cn } from "@/lib/utils";
|
import { cn } from "@/lib/utils";
|
||||||
import { Ai21Icon } from "@/components/icons/providers";
|
|
||||||
import { AnthropicIcon } from "@/components/icons/providers";
|
|
||||||
import { AnyscaleIcon } from "@/components/icons/providers";
|
|
||||||
import { BedrockIcon } from "@/components/icons/providers";
|
|
||||||
import { CerebrasIcon } from "@/components/icons/providers";
|
|
||||||
import { CloudflareIcon } from "@/components/icons/providers";
|
|
||||||
import { CohereIcon } from "@/components/icons/providers";
|
|
||||||
import { CometApiIcon } from "@/components/icons/providers";
|
|
||||||
import { DatabricksIcon } from "@/components/icons/providers";
|
|
||||||
import { DeepInfraIcon } from "@/components/icons/providers";
|
|
||||||
import { DeepSeekIcon } from "@/components/icons/providers";
|
|
||||||
import { FireworksAiIcon } from "@/components/icons/providers";
|
|
||||||
import { GeminiIcon } from "@/components/icons/providers";
|
|
||||||
import { GroqIcon } from "@/components/icons/providers";
|
|
||||||
import { HuggingFaceIcon } from "@/components/icons/providers";
|
|
||||||
import { MistralIcon } from "@/components/icons/providers";
|
|
||||||
import { MoonshotIcon } from "@/components/icons/providers";
|
|
||||||
import { NscaleIcon } from "@/components/icons/providers";
|
|
||||||
import { OllamaIcon } from "@/components/icons/providers";
|
|
||||||
import { OpenaiIcon } from "@/components/icons/providers";
|
|
||||||
import { OpenRouterIcon } from "@/components/icons/providers";
|
|
||||||
import { PerplexityIcon } from "@/components/icons/providers";
|
|
||||||
import { QwenIcon } from "@/components/icons/providers";
|
|
||||||
import { RecraftIcon } from "@/components/icons/providers";
|
|
||||||
import { ReplicateIcon } from "@/components/icons/providers";
|
|
||||||
import { SambaNovaIcon } from "@/components/icons/providers";
|
|
||||||
import { TogetherAiIcon } from "@/components/icons/providers";
|
|
||||||
import { VertexAiIcon } from "@/components/icons/providers";
|
|
||||||
import { XaiIcon } from "@/components/icons/providers";
|
|
||||||
import { XinferenceIcon } from "@/components/icons/providers";
|
|
||||||
import { ZhipuIcon } from "@/components/icons/providers";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns a Lucide icon element for the given LLM / image-gen provider.
|
* Returns a Lucide icon element for the given LLM / image-gen provider.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue