Skip to content

Commit cd1dc48

Browse files
committed
fix some errors
1 parent 349135e commit cd1dc48

File tree

6 files changed

+12
-14
lines changed

6 files changed

+12
-14
lines changed

docs/development-guide/live-dev.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ sidebar_position: 3
1111
- **Open-LLM-VTuber 主进程**: 运行 AI、TTS 等核心服务。
1212
- **前端 UI (用户界面)**: 展示 Live2D 模型、接收用户 (直播间管理员) 输入、播放音频等。
1313

14-
**关键连接拓扑:**
15-
1614
```mermaid
1715
graph LR
1816
A[Live Platform Client] --"text-input"--> P{/proxy-ws};
@@ -25,15 +23,14 @@ graph LR
2523
P --"optional"--> A;
2624
```
2725

28-
**图例说明:**
2926
- Live Platform Client: 直播平台客户端(如Bilibili)向代理发送弹幕消息(格式化为text-input)
3027
- Frontend UI: 前端界面也向同一个代理发送用户输入和控制消息
3128
- /proxy-ws: 核心代理端点,接收所有消息并进行转发和广播
3229
- WebSocketHandler: 处理消息并与AI交互
3330
- AI Agent: 生成回复
3431
- 最终AI回复通过代理广播给所有连接的客户端(包括前端和直播客户端)
3532

36-
**核心要求:** 为了使直播弹幕能够被 AI 处理,并且 AI 的回复能够正确显示在前端,**所有客户端(包括前端 UI 和 直播平台客户端)都必须连接到同一个 `/proxy-ws` 端点**
33+
为了使直播弹幕能够被 AI 处理,并且 AI 的回复能够正确显示在前端,**所有客户端(包括前端 UI 和 直播平台客户端)都必须连接到同一个 `/proxy-ws` 端点**
3734

3835
**`/proxy-ws` 的作用 (`ProxyHandler`):**
3936
- **统一入口:** 为所有类型的客户端提供单一的连接点。

i18n/en/docusaurus-plugin-content-docs/current.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
"message": "Frontend User Guide",
1616
"description": "The label for category Frontend User Guide in sidebar docSidebar"
1717
},
18+
"sidebar.docSidebar.category.直播指南 (Beta)": {
19+
"message": "Live Streaming Guide (Beta)",
20+
"description": "The label for category Live Streaming Guide (Beta) in sidebar docSidebar"
21+
},
1822
"sidebar.docSidebar.category.API 参考": {
1923
"message": "API Reference",
2024
"description": "The label for category API Reference in sidebar docSidebar"
@@ -59,9 +63,9 @@
5963
"message": "Development Guide",
6064
"description": "The label for category Development Guide in sidebar docSidebar"
6165
},
62-
"sidebar.docSidebar.category.后端开发指南": {
63-
"message": "Backend Development Guide",
64-
"description": "The label for category Backend Development Guide in sidebar docSidebar"
66+
"sidebar.docSidebar.category.后端开发": {
67+
"message": "Backend Development",
68+
"description": "The label for category Backend Development in sidebar docSidebar"
6569
},
6670
"sidebar.docSidebar.category.社区与贡献": {
6771
"message": "Community and Contribution",

i18n/en/docusaurus-plugin-content-docs/current/development-guide/live-dev.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ The live streaming integration in this project adopts a **separate process** arc
1111
- **Open-LLM-VTuber Main Process**: Runs AI, TTS, and other core services.
1212
- **Frontend UI (User Interface)**: Displays the Live2D model, receives user (the room admin) input, plays audio, etc.
1313

14-
**Key Connection Topology:**
15-
1614
```mermaid
1715
graph LR
1816
A[Live Platform Client] --"text-input"--> P{/proxy-ws};
@@ -25,15 +23,14 @@ graph LR
2523
P --"optional"--> A;
2624
```
2725

28-
**Legend:**
2926
- Live Platform Client: Live platform client (e.g., Bilibili) sends comments to the proxy (formatted as text-input)
3027
- Frontend UI: Front-end interface also sends user input and control messages to the same proxy
3128
- /proxy-ws: Core proxy endpoint, receives all messages and handles forwarding and broadcasting
3229
- WebSocketHandler: Processes messages and interacts with AI
3330
- AI Agent: Generates responses
3431
- AI responses are ultimately broadcast via the proxy to all connected clients (including the frontend and live platform client)
3532

36-
**Core Requirement:** For live comments to be processed by the AI, and for AI responses to be correctly displayed in the frontend, **all clients (including the frontend UI and live platform client) must connect to the same `/proxy-ws` endpoint**.
33+
For live comments to be processed by the AI, and for AI responses to be correctly displayed in the frontend, **all clients (including the frontend UI and live platform client) must connect to the same `/proxy-ws` endpoint**.
3734

3835
**The Role of `/proxy-ws` (`ProxyHandler`):**
3936
- **Unified Entry Point:** Provides a single connection point for all types of clients.

i18n/en/docusaurus-plugin-content-docs/current/user-guide/backend/_category_.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"label": "后端指南",
2+
"label": "后端用户指南",
33
"position": 1,
44
"link": {
55
"type": "generated-index"

i18n/en/docusaurus-plugin-content-docs/current/user-guide/frontend/_category_.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"label": "前端指南",
2+
"label": "前端用户指南",
33
"position": 2,
44
"link": {
55
"type": "generated-index"

i18n/en/docusaurus-plugin-content-docs/current/user-guide/live/_category_.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"label": "Live Streaming Guide (Beta)",
2+
"label": "直播指南 (Beta)",
33
"position": 3,
44
"link": {
55
"type": "generated-index",

0 commit comments

Comments
 (0)