ChatSpeed v1.1.13
This update focuses on improving the stability and feature expansion of the MCP proxy, while optimizing assistant features and content extraction capabilities. Regarding the MCP proxy server, we have introduced the Streamable HTTP protocol to solve session loss issues caused by network disconnections and computer hibernation. For the scraper module, we have fixed critical stability issues and adopted Readability to improve content area recognition accuracy, reducing unnecessary token consumption from junk information.
✨ Enhancements
- Added openai reference information extension field: Added an extension field for reference information to the OpenAI-compatible interface, providing richer reference data.
- Optimized assistant quick send information feature: Optimized the experience of quickly sending information with the assistant (default shortcut
ALT+Z) to improve operational efficiency. - Added Streamable HTTP proxy server protocol: Added the Streamable HTTP proxy server protocol with endpoint
/mcp/http, providing a more flexible connection method. - Implemented Streamable HTTP Session Persistence and Automatic Recovery: By introducing an advanced session management mechanism, we have achieved disk persistence and automatic recovery for Streamable HTTP sessions. This completely resolves the MCP service session ID loss issue (manifesting as 410 or 401 errors) caused by network disconnections, computer hibernation, or proxy server restarts, significantly enhancing connection stability and user experience.
- Optimized scraper module content extraction: Optimized the scraper module content extraction algorithm. The current version can accurately identify content areas when extracting web content, with a hit rate improved to 90% ~ 95%.
- Refactored AI conversation mechanism: Refactored the AI conversation mechanism, making the interface better able to display the tool calling process; optimized system prompts to make AI better able to use tools to complete daily conversation tasks.
- Updated documentation links: Updated the blog link and English documentation link in README to ensure users can access the latest documentation resources.
🔧 Technical Optimizations
- Cleaned up invalid i18n: Cleaned up a large amount of invalid internationalization resources, reducing application size and improving performance.
- Assistant window size adjustment: Adjusted the assistant window size and implemented automatic restoration based on user size adjustments, enhancing user experience.
- Archived Rust-implemented ReAct module: Based on workflow module adjustments, archived the original Rust-implemented ReAct module to prepare for the new workflow architecture.
- Adopted Readability to improve content recognition accuracy: The scraper module adopted the Readability algorithm to improve content area recognition accuracy, reducing unnecessary token consumption from junk information.
🐞 Bug Fixes
- Fixed scraper module event listener crash issue: Fixed the issue where scraper module event listeners could cause the scraper module to crash, significantly improving scraper functionality stability.
- Removed unused imports and dependencies: Cleaned up unused imports and dependencies in the project, optimizing project structure and build efficiency.
本次更新专注于提升 MCP 代理的稳定性和功能扩展,同时优化了助手功能和内容提取能力。MCP 代理服务器方面,我们引入了 Streamable HTTP 协议解决了网络断连和电脑休眠导致的会话丢失问题。爬虫模块方面,我们修复了影响爬虫模块稳定性的关键问题,内容提取采用了 Readability 来提高内容区域识别准确性,减少垃圾信息带来的 token 不必要消耗。
✨ 功能增强
- 新增 openai 引用信息拓展字段:为 OpenAI 兼容接口增加了引用信息的拓展字段,提供更丰富的引用数据。
- 优化助手快速发送信息功能:优化了助手快速发送信息的体验(默认快捷键
ALT+Z),提升操作效率。 - 新增 Streamable HTTP 代理服务器协议:新增 Streamable HTTP 代理服务器协议,入口端点为
/mcp/http,提供了更灵活的连接方式。 - 实现 Streamable HTTP 会话持久化与自动恢复:通过引入先进的会话管理机制,实现了 Streamable HTTP 会话的磁盘持久化和自动恢复。这彻底解决了因网络断开、电脑休眠或代理服务器重启导致的 MCP 服务会话 ID 丢失(表现为 410 或 401 错误)问题,显著提升了连接的稳定性和用户体验。
- 优化爬虫模块内容提取:优化了爬虫模块内容提取算法,当前版本在提取网页内容时可以精准识别内容区域,命中率提升至 90% ~ 95%。
- 重构 AI 对话机制:重构了 AI 对话机制,现在的界面可以更好地展示工具调用过程;优化了系统提示词,使得 AI 可以更好地利用工具完成日常对话任务。
- 更新文档链接:更新了 README 中的博客链接和英文文档链接,确保用户可以访问最新的文档资源。
🔧 技术优化
- 清理无效的 i18n:清理了大量无效的国际化资源,减少应用体积并提升性能。
- 助手窗口大小调整:调整了助手窗口大小,并实现自动根据用户调整大小进行还原,提升用户体验。
- 归档 Rust 实现的 ReAct 模块:基于工作流模块调整,归档了原先 Rust 实现的 ReAct 模块,为新的工作流架构做准备。
- 采用 Readability 提高内容识别准确性:爬虫模块我们采用了 Readability 算法来提高内容区域识别准确性,减少垃圾信息带来的 token 不必要消耗。
🐞 Bug 修复
- 修复 scraper 模块事件监听崩溃问题:修复了 scraper 模块事件监听可能导致爬虫模块崩溃的问题,显著提升了爬虫功能的稳定性。
- 移除未使用的导入和依赖:清理了项目中未使用的导入和依赖,优化了项目结构和构建效率。