feat(ui): Add status page to react frontend
This commit is contained in:
@@ -7,6 +7,7 @@ import CreateAgent from './pages/CreateAgent';
|
||||
import Chat from './pages/Chat';
|
||||
import ActionsPlayground from './pages/ActionsPlayground';
|
||||
import GroupCreate from './pages/GroupCreate';
|
||||
import AgentStatus from './pages/AgentStatus';
|
||||
|
||||
// Get the base URL from Vite's environment variables or default to '/app/'
|
||||
const BASE_URL = import.meta.env.BASE_URL || '/app';
|
||||
@@ -44,6 +45,10 @@ export const router = createBrowserRouter([
|
||||
{
|
||||
path: 'group-create',
|
||||
element: <GroupCreate />
|
||||
},
|
||||
{
|
||||
path: 'status/:name',
|
||||
element: <AgentStatus />
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user