OpenClaw 中直连 M2.5 无法实现流式输出

Open
#7 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale

Research direction

Start by reviewing the linked OpenClaw issue #18859 and compare MiniMax’s Anthropic compatible SSE events with the OpenAI based GLM text_delta behavior described here. Check whether the stream events are recognized in Telegram and the TUI; done means direct MiniMax connections stream responses correctly in both.

Written by the indexing model from the issue text.

Description

具体可以参考 OpenClaw 的 issue:

使用 OpenClaw 直连 MiniMax,在 telegram 或者 tui 都无法正常收到流式响应,而是在最终返回一个完整的信息,但是使用 OpenRouter 做中转就没有这个问题。

目前怀疑是 MiniMax 兼容 Anthropic 协议的接口发送 SSE 流事件异常,要么是发送的格式不符合协议要求,要么是 telegram 的流式响应无法正确识别。

作为参考,使用 GLM 的模型,基于 OpenAI 协议的方式,其提供了正确的 text_delta 事件,在 telegram 或者 tui 中都可以正常流式输出。

Dominant language
No language data
Stars
588
Forks
83
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from MiniMax-AI/MiniMax-M2.5

All issues in MiniMax-AI/MiniMax-M2.5

Similar issues

More Backend & API Design issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.