Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

385 B
Raw Blame
/** The shortest query the sidebar searches messages for. */
export const MIN_QUERY = 2;

export interface SearchHit {
  botId?: string;
  groupId?: string;
  name: string;
  threadId: string;
  task?: string;
  messageId: string;
  role: string;
  kind: string;
  from?: string;
  at: number;
  snippet: string;
  matchStart: number;
  matchLength: number;
  onActivePath: boolean;
}