Skip to content

v2.5.5

Compare
Choose a tag to compare
@snakeying snakeying released this 24 Sep 21:40
· 11 commits to main since this release
cf14fea

🚀 重要更新和改进

1. 增强 Markdown 解析容错能力

  • 实现了消息发送的降级机制,当 Markdown 解析失败时自动切换至纯文本格式 🛠️
  • 确保用户始终能收到消息,即使在复杂格式无法正确显示的情况下

2. 改进流式输出体验

  • 优化了流式响应的更新逻辑,提供更平滑的实时输出体验 🌊
  • 平衡了更新频率,在保持良好实时性的同时,有效减少了错误的发生

3. 代码结构优化

  • 重构了消息处理逻辑,提高了代码的可维护性和效率
  • 统一了不同 API(如 Groq 和 Gemini)的错误处理方式,增强了系统稳定性 🏗️

4. 用户体验提升

  • 即使在遇到格式问题时,也能保证信息的连贯性和可读性
  • 流式输出的改进为用户提供了更流畅的对话体验 👥

5. Bug 修复

  • 修复了在某些情况下可能导致消息丢失的问题 🐛
  • 解决了长消息可能被截断的 bug,确保完整的响应内容能够正确传递给用户

Major Updates and Improvements

1. Enhanced Markdown Parsing Resilience

  • Implemented a fallback mechanism for message sending, automatically switching to plain text format when Markdown parsing fails 🛠️
  • Ensures users always receive messages, even when complex formatting cannot be correctly displayed

2. Improved Streaming Output Experience

  • Optimized the update logic for streaming responses, providing a smoother real-time output experience 🌊
  • Balanced update frequency to maintain good real-time performance while effectively reducing errors

3. Code Structure Optimization

  • Refactored message handling logic, improving code maintainability and efficiency
  • Unified error handling across different APIs (such as Groq and Gemini), enhancing system stability 🏗️

4. User Experience Enhancements

  • Guaranteed information coherence and readability even when encountering formatting issues
  • Improvements in streaming output provide users with a more fluid conversation experience 👥

5. Bug Fixes

  • Fixed an issue that could potentially lead to message loss in certain scenarios 🐛
  • Resolved a bug where long messages might be truncated, ensuring complete response content is correctly delivered to users interaction experience.