dify
dify copied to clipboard
When using the Chat Assistant, the model uses openai, which works properly, and the conversation message is empty
Self Checks
- [X] This is only for bug report, if you would like to ask a question, please head to Discussions.
- [X] I have searched for existing issues search for existing issues, including closed ones.
- [X] I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
- [X] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
- [X] Please do not modify this template :) and fill in all the required fields.
Dify version
0.6.12-fix1
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
Starting mode docker compose up -d
There is no other operation
/api/apps/74667fdb-6d82-48aa-8ec0-86cfa4c2cc75/chat-messages
data: {"event": "message", "conversation_id": "0abe9a6d-5066-42f6-918c-ed2bf3fd4439", "message_id": "23bed9f7-e9d9-4296-bd14-e4a1e58032cc", "created_at": 1720061592, "task_id": "f3c50e89-1533-4e82-a8a3-46d99108a5a2", "id": "23bed9f7-e9d9-4296-bd14-e4a1e58032cc", "answer": ""}
data: {"event": "message_end", "conversation_id": "0abe9a6d-5066-42f6-918c-ed2bf3fd4439", "message_id": "23bed9f7-e9d9-4296-bd14-e4a1e58032cc", "created_at": 1720061592, "task_id": "f3c50e89-1533-4e82-a8a3-46d99108a5a2", "id": "23bed9f7-e9d9-4296-bd14-e4a1e58032cc", "metadata": {"usage": {"prompt_tokens": 8, "prompt_unit_price": "5.00", "prompt_price_unit": "0.000001", "prompt_price": "0.0000400", "completion_tokens": 18, "completion_unit_price": "15.00", "completion_price_unit": "0.000001", "completion_price": "0.0002700", "total_tokens": 26, "total_price": "0.0003100", "currency": "USD", "latency": 3.0238079169939738}}}
/console/api/apps/74667fdb-6d82-48aa-8ec0-86cfa4c2cc75/chat-messages?conversation_id=0abe9a6d-5066-42f6-918c-ed2bf3fd4439
{
"limit": 20,
"has_more": false,
"data": [
{
"id": "23bed9f7-e9d9-4296-bd14-e4a1e58032cc",
"conversation_id": "0abe9a6d-5066-42f6-918c-ed2bf3fd4439",
"inputs": {},
"query": "\u4f60\u597d",
"message": [
{
"role": "user",
"text": "\u4f60\u597d",
"files": []
}
],
"message_tokens": 8,
"answer": "",
"answer_tokens": 18,
"provider_response_latency": 3.0075898240029346,
"from_source": "console",
"from_end_user_id": null,
"from_account_id": "c8fa35b7-1e95-4177-bd24-fff4240a6388",
"feedbacks": [],
"workflow_run_id": null,
"annotation": null,
"annotation_hit_history": null,
"created_at": 1720061592,
"agent_thoughts": [],
"message_files": [],
"metadata": {},
"status": "normal",
"error": null
}
]
}
日志
✔️ Expected Behavior
No response
❌ Actual Behavior
No response