Skip to content

Mika 0.1.24

Choose a tag to compare

@wangzan101 wangzan101 released this 31 Oct 13:52

变化 / What's new

  • 长任务不再因为连接中途被断开而失败。 模型的回复还没传完、连接就被中转服务或网关断开(模型长时间思考时容易碰上),以前任务直接停下,还提示「请检查 Base URL 和接口类型」,把排查方向带偏。现在这种情况会自动重试,已经显示出来的半句话会先清掉、不会重复;重试后仍然断开,提示会如实说明是连接在上游被断开,不再提 Base URL。OpenAI 兼容、Responses、Anthropic、Gemini 四种接口一样处理。

  • 兼容更多模型服务。 有的服务在回复末尾只给结束原因、不发最后的结束标记,现在也算正常说完。

  • 加入交流群更方便。 关于 › 加入交流群:微信群二维码直接扫码进群,不用再先加作者微信;不用微信的可以一键加入 X 群聊。反馈问题精简成三项:去 GitHub 提问题、复制诊断信息、在交流群里说。

感谢 @shensmart 在 #56 里细致的分析!

  • Long tasks no longer fail when the connection drops mid-reply. If a relay or gateway cuts the connection before the model's reply finishes (common when the model thinks for a long time), the task used to stop with a misleading "check the Base URL and API type". Now Mika retries automatically, clearing any half-shown text first so nothing is duplicated; if it still gets cut off, the message says the connection was dropped upstream, without pointing at the Base URL. This applies to OpenAI-compatible, Responses, Anthropic and Gemini connections alike.
  • Works with more model servers. Replies that end with a finish reason but no final end marker now count as complete.
  • Easier to join the community. About › Join the Mika community: scan the WeChat group QR code to join directly, or join the X group chat in one tap. Feedback is down to three options: open a GitHub issue, copy diagnostics, or talk in the community.

Thanks to @shensmart for the detailed analysis in #56!

从旧版本直接覆盖安装即可,对话和设置都保留;也可以在 关于 › 检查更新 里直接下载安装。Install over the previous version; your chats and settings are kept. You can also update from About › Check for updates.