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.

337 B
Raw Blame
/**
 * The name a Message tab is saved with: the start of its text. An empty name
 * is worded as "Untitled" when the tab is shown.
 */
export function panelTabTitle(body: string) {
  const normalized = body.trim().replace(/\s+/g, " ");
  return normalized.length > 24
    ? `${normalized.slice(0, 24).trimEnd()}…`
    : normalized;
}