feat(aia): Complete AIA V2.0 with universal streaming capabilities
Major Changes: - Add StreamingService with OpenAI Compatible format - Upgrade Chat component V2 with Ant Design X integration - Implement AIA module with 12 intelligent agents - Update API routes to unified /api/v1 prefix - Update system documentation Backend (~1300 lines): - common/streaming: OpenAI Compatible adapter - modules/aia: 12 agents, conversation service, streaming integration - Update route versions (RVW, PKB to v1) Frontend (~3500 lines): - modules/aia: AgentHub + ChatWorkspace (100% prototype restoration) - shared/Chat: AIStreamChat, ThinkingBlock, useAIStream Hook - Update API endpoints to v1 Documentation: - AIA module status guide - Universal capabilities catalog - System overview updates - All module documentation sync Tested: Stream response verified, authentication working Status: AIA V2.0 core completed (85%)
This commit is contained in:
36
docs/_templates/README.md
vendored
36
docs/_templates/README.md
vendored
@@ -1,7 +1,7 @@
|
||||
# 鏂囨。妯℃澘
|
||||
|
||||
> **目录说明:** 本目录包含各类文档的标准模板
|
||||
> **使用方法:** 创建新文档时,复制对应模板,填充内容
|
||||
> **鐩<EFBFBD>綍璇存槑锛?* 鏈<>洰褰曞寘鍚<E5AF98>悇绫绘枃妗g殑鏍囧噯妯℃澘
|
||||
> **浣跨敤鏂规硶锛?* 鍒涘缓鏂版枃妗f椂锛屽<E9949B>鍒跺<E98D92>搴旀ā鏉匡紝濉<E7B49D>厖鍐呭<E98D90>
|
||||
|
||||
---
|
||||
|
||||
@@ -9,28 +9,28 @@
|
||||
|
||||
| 妯℃澘 | 璇存槑 | 閫傜敤鍦烘櫙 |
|
||||
|------|------|---------|
|
||||
| **[AI对接] 快速上下文-模板.md** | 快速上下文文档模板 | 创建新模块/能力时 |
|
||||
| **[AI瀵规帴] 蹇<>€熶笂涓嬫枃-妯℃澘.md** | 蹇<>€熶笂涓嬫枃鏂囨。妯℃澘 | 鍒涘缓鏂版ā鍧?鑳藉姏鏃?|
|
||||
| **妯″潡README-妯℃澘.md** | 妯″潡README妯℃澘 | 鍒涘缓鏂颁笟鍔℃ā鍧楁椂 |
|
||||
|
||||
---
|
||||
|
||||
## 馃幆 浣跨敤璇存槑
|
||||
|
||||
### 1. 创建新业务模块
|
||||
### 1. 鍒涘缓鏂颁笟鍔℃ā鍧?
|
||||
|
||||
**步骤:**
|
||||
**姝ラ<EFBFBD>锛?*
|
||||
1. 澶嶅埗 `妯″潡README-妯℃澘.md` 鍒版柊妯″潡鐩<E6BDA1>綍
|
||||
2. 閲嶅懡鍚嶄负 `README.md`
|
||||
3. 填充所有 `[占位符]` 内容
|
||||
3. 濉<EFBFBD>厖鎵€鏈?`[鍗犱綅绗<E7B685>` 鍐呭<E98D90>
|
||||
4. 鍒犻櫎涓嶉渶瑕佺殑绔犺妭
|
||||
|
||||
### 2. 鍒涘缓蹇<E7BC93>€熶笂涓嬫枃鏂囨。
|
||||
|
||||
**步骤:**
|
||||
1. 复制 `[AI对接] 快速上下文-模板.md` 到对应目录
|
||||
**姝ラ<EFBFBD>锛?*
|
||||
1. 澶嶅埗 `[AI瀵规帴] 蹇<>€熶笂涓嬫枃-妯℃澘.md` 鍒板<E98D92>搴旂洰褰?
|
||||
2. 閲嶅懡鍚嶄负 `[AI瀵规帴] [妯″潡浠e彿]蹇<>€熶笂涓嬫枃.md`
|
||||
3. 填充所有内容
|
||||
4. 确保Token消耗在目标范围内
|
||||
3. 濉<EFBFBD>厖鎵€鏈夊唴瀹?
|
||||
4. 纭<EFBFBD>繚Token娑堣€楀湪鐩<EFBFBD>爣鑼冨洿鍐?
|
||||
|
||||
---
|
||||
|
||||
@@ -40,18 +40,18 @@
|
||||
|
||||
**L0绾у埆锛堟€讳綋锛夛細**
|
||||
- Token娑堣€楋細~800
|
||||
- 阅读时间:2分钟
|
||||
- 内容:项目全貌、快速跳转
|
||||
- 闃呰<EFBFBD>鏃堕棿锛?鍒嗛挓
|
||||
- 鍐呭<EFBFBD>锛氶」鐩<EFBFBD>叏璨屻€佸揩閫熻烦杞?
|
||||
|
||||
**L1级别(层级):**
|
||||
**L1绾у埆锛堝眰绾э級锛?*
|
||||
- Token娑堣€楋細~1500
|
||||
- 阅读时间:3分钟
|
||||
- 内容:层级概览、模块清单
|
||||
- 闃呰<EFBFBD>鏃堕棿锛?鍒嗛挓
|
||||
- 鍐呭<EFBFBD>锛氬眰绾ф<EFBFBD>瑙堛€佹ā鍧楁竻鍗?
|
||||
|
||||
**L2级别(模块):**
|
||||
**L2绾у埆锛堟ā鍧楋級锛?*
|
||||
- Token娑堣€楋細~2000
|
||||
- 阅读时间:5分钟
|
||||
- 内容:模块详情、开发指南
|
||||
- 闃呰<EFBFBD>鏃堕棿锛?鍒嗛挓
|
||||
- 鍐呭<EFBFBD>锛氭ā鍧楄<EFBFBD>鎯呫€佸紑鍙戞寚鍗?
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user