Skip to content

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

@Joeljt

Description

@Joeljt

具体可以参考 OpenClaw 的 issue:

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

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions