feat: 更新Docker配置和API端口,优化流式响应处理
refactor: 重构工具管理和路由逻辑,提升代码可维护性 fix: 修正配置文件中的传输协议和工具调用名称 docs: 更新README和归档文件,添加生产环境配置说明 perf: 优化流式响应生成,减少内存消耗
This commit is contained in:
16
README.md
16
README.md
@@ -178,6 +178,14 @@ python scripts/start_mcp_server.py
|
||||
python scripts/ws_start_register_tools.py
|
||||
```
|
||||
|
||||
# for production
|
||||
python -m pip install .
|
||||
```
|
||||
|
||||
# Runables
|
||||
all runnables are under scripts
|
||||
|
||||
|
||||
### 2. 运行代理服务器
|
||||
|
||||
```bash
|
||||
@@ -220,6 +228,14 @@ python scripts/eval.py
|
||||
]
|
||||
```
|
||||
|
||||
|
||||
# Configure for Xiaozhi
|
||||
0. Start the `fastapi_server/server_dashscope.py` file
|
||||
1. Make a new model entry in `xiaozhi` with AliBL as provider.
|
||||
2. Fill in the `base_url` entry. The other entries (`API_KEY`, `APP_ID`) can be garbage
|
||||
- for local computer `base_url=http://127.0.0.1:8588/api/`
|
||||
- if inside docker, it needs to be `base_url=http://{computer_ip}:8588/api/`
|
||||
|
||||
## 技术栈
|
||||
|
||||
- **核心框架**: LangChain, LangGraph
|
||||
|
||||
Reference in New Issue
Block a user