feat(admin): add prompt management page (#7611)

close AF-907

Supports online modification of prompt, but does not support custom ai key yet

![CleanShot 2024-07-29 at 22 12 39@2x](https://github.com/user-attachments/assets/c67ad0d0-3e5b-44ff-b7db-d07dd11c19e2)
This commit is contained in:
JimmFly
2024-08-13 14:51:54 +08:00
committed by forehalo
parent bf6e36de37
commit b214003968
15 changed files with 658 additions and 36 deletions
+4
View File
@@ -51,6 +51,10 @@ export const router = _createBrowserRouter(
path: '/admin/auth',
lazy: () => import('./modules/auth'),
},
{
path: '/admin/ai',
lazy: () => import('./modules/ai'),
},
{
path: '/admin/setup',
lazy: () => import('./modules/setup'),