import { $t } from "@/plugins/i18n";
import { aiChat } from "@/router/enums";

export default {
  path: "/ai-chat",
  redirect: "/ai-chat/index",
  meta: {
    icon: "ri:robot-line",
    title: $t("menus.aiChat") || "AI助手",
    rank: aiChat
  },
  children: [
    {
      path: "/ai-chat/index",
      name: "AiChat",
      component: () => import("@/views/ai-chat/index.vue"),
      meta: {
        title: $t("menus.aiChat") || "AI助手"
      }
    }
  ]
} satisfies RouteConfigsTable;
