Skip to content

Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.

277 B
Raw Blame
import type { ScopedThreadRef } from "@akeru/contracts";

export function resolveThreadSelectionDetailRef(
  selectedThreadRef: ScopedThreadRef | null,
  hasSelectedThreadShell: boolean,
): ScopedThreadRef | null {
  return hasSelectedThreadShell ? null : selectedThreadRef;
}