Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

354 B
Raw Blame
import type { HotkeyId } from '@lobechat/types';

import { HOTKEYS_REGISTRATION } from '../hotkeys';

type UserHotkeyConfig = Record<HotkeyId, string>;

export const DEFAULT_HOTKEY_CONFIG: UserHotkeyConfig = HOTKEYS_REGISTRATION.reduce(
  (acc: UserHotkeyConfig, item) => {
    acc[item.id] = item.keys;
    return acc;
  },
  {} as UserHotkeyConfig,
);