[PR #263] [MERGED] Optimize conversation_id handling and enhance Dify chat-messages API … #389

Closed
opened 2026-02-16 11:20:40 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-docs-archived/pull/263
Author: @cubxxw
Created: 9/11/2024
Status: Merged
Merged: 9/13/2024
Merged by: @AllenWriter

Base: mainHead: patch-1


📝 Commits (1)

  • 71bdd1f Optimize conversation_id handling and enhance Dify chat-messages API documentation

📊 Changes

1 file changed (+11 additions, -6 deletions)

View changed files

📝 en/guides/application-publishing/developing-with-apis.md (+11 -6)

📄 Description

PR Description:

  • Updated explanation for generating and passing conversation_id, highlighting that it should be left empty for the first request to generate a new conversation_id.
  • Clarified that when passing an existing conversation_id, the inputs will be ignored, and only the query is processed.
  • Added details on how to use conversation variables to adjust logic or session-specific variables dynamically.
  • Example code remains unchanged, but clearer instructions on API usage have been provided.

🔄 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-docs-archived/pull/263 **Author:** [@cubxxw](https://github.com/cubxxw) **Created:** 9/11/2024 **Status:** ✅ Merged **Merged:** 9/13/2024 **Merged by:** [@AllenWriter](https://github.com/AllenWriter) **Base:** `main` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`71bdd1f`](https://github.com/langgenius/dify-docs-archived/commit/71bdd1f0d7461a2b95de9c5837bc22d9276d1365) Optimize conversation_id handling and enhance Dify chat-messages API documentation ### 📊 Changes **1 file changed** (+11 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `en/guides/application-publishing/developing-with-apis.md` (+11 -6) </details> ### 📄 Description PR Description: - Updated explanation for generating and passing `conversation_id`, highlighting that it should be left empty for the first request to generate a new `conversation_id`. - Clarified that when passing an existing `conversation_id`, the `inputs` will be ignored, and only the `query` is processed. - Added details on how to use conversation variables to adjust logic or session-specific variables dynamically. - Example code remains unchanged, but clearer instructions on API usage have been provided. --- <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-16 11:20:40 -05:00
yindo closed this issue 2026-02-16 11:20:40 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-docs-archived#389