Files
zn-ai/src-react/pages/Agents/index.tsx
duanshuwen b1dea9a5c2 feat: implement task management store with IPC integration
- Added a new task store in `src-react/stores/task.ts` to manage tasks and their statuses.
- Implemented functions for creating, executing, and retrying tasks, along with handling task progress and completion.
- Introduced persistence for tasks using IPC.
- Created utility functions for normalizing room types and building subtasks.
- Added a new CSS file for global styles in `src-react/styles.css`.
- Created runtime types in `src-react/types/runtime.ts` and exported them.
- Updated the main entry points for Vue and React applications to support dynamic framework loading.
- Refactored chat model interfaces and utility functions into `src/shared/chat-model.ts`.
- Updated TypeScript configuration to include paths for React components and types.
- Enhanced Vite configuration to support both Vue and React frameworks.
2026-04-17 07:09:56 +08:00

17 lines
547 B
TypeScript

import PagePlaceholder from '../PagePlaceholder';
export default function AgentsPage() {
return (
<PagePlaceholder
tag="模型"
title="模型管理"
subtitle="保持与当前 Vue 页面一致的视觉外壳,后续再替换真实内容。"
description="这一页先承接提供方、模型配置和相关运行状态的 React 壳层,不重新设计布局。"
stats={[
{ label: '页面状态', value: '占位壳' },
{ label: '迁移策略', value: '沿用现有 UI' },
]}
/>
);
}