Skip to content

[bug] minimax mcode 接入后 askuser 不会弹窗显示,只显示 json #1110

Closed

Description

@xy3xy3
Image

会有类似下面的参数:

ask_user
参数
{
  "async": false,
  "steps": [
    {
      "id": "overwrite",
      "header": "已有正文",
      "question": "现有 20 篇文档都有正文(非本技能生成),新版精读如何写入?",
      "options": [
        {
          "label": "覆盖为新版精读(推荐)",
          "description": "先导出备份旧文到本地,再全文替换",
          "recommended": true
        },
        {
          "label": "保留旧正文,新版追加在文末",
          "description": "文档变长,两套内容并存"
        },
        {
          "label": "保留旧正文,另建新文档",
          "description": "一论文两文档"
        }
      ]
    }
  ]
}
结果
{
  "content": [
    {
      "type": "text",
      "text": "Questionnaire ask_4136dcbf7d48e5113129282b is waiting for the local user. Stop this turn until the user replies."
    }
  ],
  "details": {
    "request_id": "ask_4136dcbf7d48e5113129282b",
    "schema_version": 2,
    "step_count": 1,
    "waiting_for_user": true
  },
  "terminate": true
}

codeg 目前无法正常渲染选择框 需要用户手动输入发送,操作较为麻烦

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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