Skip to content

Opencode-go模型在Openclaw飞书中使用的问题 #28787

@A13788899580

Description

@A13788899580

Description

  1. Openclaw版本为2026.5.19,飞书Bot
    以下遇到的问题,在使用模型‘minimax/MiniMax-M2.7’之前及现在都没发生过;
  2. 遇到问题如下
  • 使用了模型‘opencode-go/glm-5’
    -- 模型回复的信息在飞书中不显示,由于我要求回复时同时发送Bark信息,所以我知道模型回复了,但在飞书中只提示‘已通过Bark信息通知’
    -- 通过‘minimax/MiniMax-M2.7’分析:可能GLM-5的输出格式/结构与飞书插件的流式卡片渲染不兼容
  • 使用模型‘opencode-go/deepseek-v4-pro'
    -- 出现400错误,日志体现:
    400 Error from provider (DeepSeek): Messages with role 'tool'
    must be a response to a preceding message with 'tool_calls'
    -- 通过‘minimax/MiniMax-M2.7’分析:
    这是 deepseek-v4-pro 与 OpenClaw 的消息格式不兼容 问题。当对话上下文包含 tool 消息但没有对应的 tool_calls 时,deepseek-v4-pro 直接返回 400 错误。每次出错后 fallback 到 minimax/MiniMax-M2.7,导致响应变慢。

Plugins

Openclaw的飞书插件

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions