feat: integrate learning module
Some checks failed
Electron E2E / Electron E2E (macos-latest) (push) Has been cancelled
Electron E2E / Electron E2E (ubuntu-latest) (push) Has been cancelled
Electron E2E / Electron E2E (windows-latest) (push) Has been cancelled

This commit is contained in:
inman
2026-08-16 20:52:16 +08:00
parent 26b52d76e3
commit 01bee3188b
107 changed files with 6318 additions and 12063 deletions

View File

@@ -40,7 +40,7 @@ export const aiModules: readonly AiModuleDefinition[] = [
title: 'Makelore Learning',
subtitle: 'AI 学习',
description: '用顶尖的方法解锁万物规律',
route: null,
route: '/learning',
enabled: true,
Icon: Sigma,
},
@@ -66,5 +66,8 @@ export function getAiModuleForPath(pathname: string): AiModuleId {
if (pathname === '/ai-hardware' || pathname.startsWith('/ai-hardware/')) {
return 'robot';
}
if (pathname === '/learning' || pathname.startsWith('/learning/')) {
return 'learning';
}
return 'programming';
}