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.

280 B
Raw Blame
export function documentFormatLabel(format: string) {
  switch (format.toLocaleLowerCase()) {
    case "blocknote":
    case "markdown":
      return "md";
    case "plain_text":
      return "txt";
    default:
      return format.replaceAll("_", " ").toLocaleLowerCase();
  }
}