feat(ui): Add status page to react frontend

This commit is contained in:
Richard Palethorpe
2025-03-25 15:14:02 +00:00
parent 3e1081fc6e
commit 074aefd0df
4 changed files with 305 additions and 20 deletions

View File

@@ -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 />
}
]
}