feat: refactor HomePage to integrate agents store and update related components
feat: add runtime event handling for providers in ProvidersSection feat: update routing to include Channels and Agents pages feat: extend route types and navigation items for Channels and Agents feat: implement agents store for managing agent data and interactions fix: update chat store to utilize agents store for agent-related functionality chore: export agents store from index fix: enhance runtime types for better event handling fix: update Vite config to handle dev server URL correctly
This commit is contained in:
@@ -4,6 +4,9 @@ import { providerApiService } from '@electron/service/provider-api-service';
|
||||
import type { HostApiContext } from './context';
|
||||
import type { HostApiRequest } from './route-utils';
|
||||
import { normalizeRequest } from './route-utils';
|
||||
import { handleAgentRoutes } from './routes/agents';
|
||||
import { handleChannelRoutes } from './routes/channels';
|
||||
import { handleCronRoutes } from './routes/cron';
|
||||
import { handleFileRoutes } from './routes/files';
|
||||
import { handleGatewayRoutes } from './routes/gateway';
|
||||
import { handleModelRoutes } from './routes/models';
|
||||
@@ -17,7 +20,10 @@ type RouteHandler = (
|
||||
|
||||
const routeHandlers: RouteHandler[] = [
|
||||
handleProviderRoutes,
|
||||
handleChannelRoutes,
|
||||
handleAgentRoutes,
|
||||
handleModelRoutes,
|
||||
handleCronRoutes,
|
||||
handleGatewayRoutes,
|
||||
handleFileRoutes,
|
||||
handleSessionRoutes,
|
||||
|
||||
Reference in New Issue
Block a user