Files
web-official/public/release-notes/v0.0.4.zh.md
T

46 lines
5.3 KiB
Markdown
Raw Normal View History

## ✨ 新增功能
- **Telegram 频道**:支持通过 Bot API 轮询方式接入 Telegram ([#147](https://github.com/agentscope-ai/CoPaw/pull/147))
- **OpenAI 和 Azure OpenAI**:内置支持 OpenAI 和 Azure OpenAI 模型 ([#138](https://github.com/agentscope-ai/CoPaw/pull/138))
- **Ollama SDK**:将 Ollama SDK 作为可选依赖项引入 ([#219](https://github.com/agentscope-ai/CoPaw/pull/219))
- **通义千问编程版**:接入阿里云通义千问编程版及其全部模型 ([#67](https://github.com/agentscope-ai/CoPaw/pull/67), [#137](https://github.com/agentscope-ai/CoPaw/pull/137))
- **模型连接测试**:提供 API 和 UI 界面测试模型服务连通性 ([#82](https://github.com/agentscope-ai/CoPaw/pull/82))
- **心跳监控面板**:在控制台新增心跳状态监控与配置界面 ([#381](https://github.com/agentscope-ai/CoPaw/pull/381))
- **CORS 配置**:新增 `COPAW_CORS_ORIGINS` 环境变量配置跨域请求来源 ([#320](https://github.com/agentscope-ai/CoPaw/pull/320))
- **音频文件支持**:钉钉和飞书频道现已支持音频文件收发 ([#111](https://github.com/agentscope-ai/CoPaw/pull/111))
## 🔄 优化改进
- **记忆压缩**:重构记忆管理器,采用基于 token 的消息过滤机制,支持自定义压缩比例 ([#102](https://github.com/agentscope-ai/CoPaw/pull/102))
- **文件块处理**:增强命令处理器,提供更稳健的文件块处理和截断能力 ([#31](https://github.com/agentscope-ai/CoPaw/pull/31))
- **嵌入配置**:支持配置 `max_cache_size`、`max_input_length` 和 `max_batch_size` 参数 ([#129](https://github.com/agentscope-ai/CoPaw/pull/129))
- **工具调用规范化**:统一将 `tool_choice=None` 转换为 `auto`,保证跨模型提供商的行为一致性 ([#369](https://github.com/agentscope-ai/CoPaw/pull/369))
## 🐛 问题修复
- **Windows 文件路径**:修复钉钉/飞书频道在 Windows 系统下的文件路径处理 ([#69](https://github.com/agentscope-ai/CoPaw/pull/69))
- **空工具调用处理**:新增工具函数处理空调用和空响应场景 ([#108](https://github.com/agentscope-ai/CoPaw/pull/108))
- **控制台工作区**:恢复工作区大小调整功能,新增导入加载提示,修复 Markdown 内容溢出 ([#58](https://github.com/agentscope-ai/CoPaw/pull/58), [#112](https://github.com/agentscope-ai/CoPaw/pull/112), [#285](https://github.com/agentscope-ai/CoPaw/pull/285))
- **Ollama 地址规范化**:自动为 Ollama base_url 补充缺失的 `/v1` 路径 ([#190](https://github.com/agentscope-ai/CoPaw/pull/190))
- **Ollama 服务检测**:Ollama 服务不可用时正确返回 503 状态码 ([#188](https://github.com/agentscope-ai/CoPaw/pull/188))
- **MCP 传输扩展**:MCP 客户端支持 HTTP/SSE 流式传输协议 ([#198](https://github.com/agentscope-ai/CoPaw/pull/198))
- **浏览器资源管理**:新增空闲监控,闲置 30 分钟后自动关闭浏览器进程 ([#171](https://github.com/agentscope-ai/CoPaw/pull/171))
- **静态资源类型**:为静态文件明确指定 MIME 类型映射 ([#347](https://github.com/agentscope-ai/CoPaw/pull/347))
- **API 请求头**:修复 API 请求的 content-type 处理逻辑 ([#316](https://github.com/agentscope-ai/CoPaw/pull/316))
- **Playwright Docker 部署**:修复 Docker 环境中 Playwright 依赖和浏览器初始化问题 ([#349](https://github.com/agentscope-ai/CoPaw/pull/349))
- **心跳文件解析**:修复解析错误导致的数据丢失 ([#385](https://github.com/agentscope-ai/CoPaw/pull/385))
- **纯媒体消息**:修复无文本的纯媒体消息排队异常 ([#389](https://github.com/agentscope-ai/CoPaw/pull/389))
## 📚 文档
- **安装脚本**:迁移至 copaw.agentscope.io,新增 PowerShell 支持 ([#37](https://github.com/agentscope-ai/CoPaw/pull/37), [#40](https://github.com/agentscope-ai/CoPaw/pull/40), [#42](https://github.com/agentscope-ai/CoPaw/pull/42))
- **Docker 部署**:补充 Docker 安装教程 ([#355](https://github.com/agentscope-ai/CoPaw/pull/355))
- **频道管理 CLI**:完善频道管理命令行工具文档 ([#36](https://github.com/agentscope-ai/CoPaw/pull/36))
- **飞书代理配置**:说明使用 SOCKS 代理时需安装 python-socks ([#59](https://github.com/agentscope-ai/CoPaw/pull/59))
- **MCP 配置**:新增 MCP 客户端和运行时配置说明 ([#30](https://github.com/agentscope-ai/CoPaw/pull/30))
- **常见问题**:新建中英文 FAQ 页面 ([#50](https://github.com/agentscope-ai/CoPaw/pull/50))
- **技能开发**:提供技能编写最佳实践指南 ([#294](https://github.com/agentscope-ai/CoPaw/pull/294))
- **贡献指南**:更新 CONTRIBUTING.md 适配当前开发流程 ([#343](https://github.com/agentscope-ai/CoPaw/pull/343))
- **控制台使用**:新增控制台界面使用说明和截图 ([#27](https://github.com/agentscope-ai/CoPaw/pull/27))
- **官网优化**:修复锚点跳转,新增侧边栏图标,优化移动端显示 ([#32](https://github.com/agentscope-ai/CoPaw/pull/32), [#34](https://github.com/agentscope-ai/CoPaw/pull/34), [#89](https://github.com/agentscope-ai/CoPaw/pull/89), [#90](https://github.com/agentscope-ai/CoPaw/pull/90), [#97](https://github.com/agentscope-ai/CoPaw/pull/97), [#126](https://github.com/agentscope-ai/CoPaw/pull/126), [#131](https://github.com/agentscope-ai/CoPaw/pull/131), [#327](https://github.com/agentscope-ai/CoPaw/pull/327))