[PR #812] [CLOSED] add streaming event end flag field finished #22710

Closed
opened 2026-02-21 20:19:35 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify/pull/812
Author: @conghaoyuan
Created: 8/11/2023
Status: Closed

Base: mainHead: event


📝 Commits (2)

  • 70b1dc3 only admin and owner can delete app
  • 54ee555 add streaming event end flag field finished

📊 Changes

2 files changed (+15 additions, -3 deletions)

View changed files

📝 api/controllers/console/app/app.py (+4 -0)
📝 api/services/completion_service.py (+11 -3)

📄 Description

{"event": "end", "finished": true}
{"event": "message", "task_id": "f9e6c33d-3cbd-45b8-94ad-e311f47eb1ac", "id": "2b829d7f-86fa-49af-8831-66017e1997a2", "answer": "", "created_at": 1691482603, "conversation_id": "28c9d3b3-06ee-41a3-8808-0ae3b95484c3", "finished": false}


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langgenius/dify/pull/812 **Author:** [@conghaoyuan](https://github.com/conghaoyuan) **Created:** 8/11/2023 **Status:** ❌ Closed **Base:** `main` ← **Head:** `event` --- ### 📝 Commits (2) - [`70b1dc3`](https://github.com/langgenius/dify/commit/70b1dc3c97f6be9b3784ba73b95c3e1480b6b381) only admin and owner can delete app - [`54ee555`](https://github.com/langgenius/dify/commit/54ee555a79548336cf4d92c9f019e3582d3ed9e3) add streaming event end flag field finished ### 📊 Changes **2 files changed** (+15 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `api/controllers/console/app/app.py` (+4 -0) 📝 `api/services/completion_service.py` (+11 -3) </details> ### 📄 Description {"event": "end", "finished": true} {"event": "message", "task_id": "f9e6c33d-3cbd-45b8-94ad-e311f47eb1ac", "id": "2b829d7f-86fa-49af-8831-66017e1997a2", "answer": "", "created_at": 1691482603, "conversation_id": "28c9d3b3-06ee-41a3-8808-0ae3b95484c3", "finished": false} --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-21 20:19:35 -05:00
yindo closed this issue 2026-02-21 20:19:35 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#22710