Skip to content

Linger is An Open-Source Personal Agent That Runs Fully on Your PC. We aim to break Big Tech’s grip on AI by bringing powerful local AI to everyday computers through efficient model–harness co-design, so everyone can run their own.

882 B
Raw Blame
import type { TeamHubWebSearchSearchBackend } from "@/features/teamhub/teamhub-types";

import braveLogo from "./logos/brave.svg";
import duckDuckGoLogo from "./logos/duckduckgo.svg";
import exaLogo from "./logos/exa.svg";
import firecrawlLogo from "./logos/firecrawl.svg";
import tavilyLogo from "./logos/tavily.svg";
import youLogo from "./logos/you.svg";

// Kept apart from the backend names so the chat's settled-card notices,
// which load with every Room, do not bundle the logos.
const logos: Record<TeamHubWebSearchSearchBackend, string> = {
  brave: braveLogo,
  duckduckgo: duckDuckGoLogo,
  exa: exaLogo,
  firecrawl: firecrawlLogo,
  tavily: tavilyLogo,
  you: youLogo,
};

/** The bundled logo of a backend that searches; direct has none. */
export function webSearchBackendLogo(id: string): string | undefined {
  return logos[id as TeamHubWebSearchSearchBackend];
}