Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

375 B
Raw Blame
import { localBotSettingsTarget } from './localBotSettingsTarget';
import { useOptionalBotSettingsTarget, type BotSettingsTarget } from './botSettingsTarget';

/** The target of the surrounding settings page; this computer when there is none. */
export function useBotSettingsTarget(): BotSettingsTarget {
  return useOptionalBotSettingsTarget() ?? localBotSettingsTarget;
}