Skip to content

消息列表api错误 #776

@jil-olala

Description

@jil-olala

消息列表api,缺少消息内容

  • 请求如下:
curl --location --request POST 'http://localhost/api/coze/conversation/message/list?conversation_id=753491447****' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data ''
  • 返回如下:
{
    "has_more": true,
    "first_id": "0",
    "last_id": "0"
}

缺少data部分

  • 在数据库中执行查询语句:
SELECT * 
FROM `message` 
WHERE `message`.`conversation_id` = 7534914478756855808 AND `message`.`status` = 1 AND `message`.`message_type` = 'question' 
ORDER BY `message`.`created_at` DESC

可以查到有多条内容

  • 系统版本
    v0.2.2

使用docker compose启动

Metadata

Metadata

Assignees

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