langflow icon indicating copy to clipboard operation
langflow copied to clipboard

Add chat_id support to differentiate multiple chats within the same user session

Open lice-reis opened this issue 1 year ago • 2 comments

Feature Request

Allow Langflow to manage multiple chat instances per user by introducing a chat_id field in addition to the existing session_id.

Proposed logic:

session_id → identifies the user’s active session

chat_id → identifies a specific chat user instance.

This would make it possible to track, store, and retrieve distinct conversations separately, improving data organization and user experience.

Motivation

Currently, Langflow supports only a single session_id per user. As a result, it is impossible to distinguish or restore multiple parallel conversations under the same session. Adding a chat_id would make it easier to manage multi-tab or multi-chat environments, preventing confusion and data overlap between conversations.

Your Contribution

No response

lice-reis avatar Oct 16 '25 15:10 lice-reis

I think you'll like this PR :) https://github.com/langflow-ai/langflow/pull/10183

erichare avatar Oct 16 '25 21:10 erichare

https://github.com/langflow-ai/langflow/pull/10183 merged in main.

Empreiteiro avatar Oct 20 '25 21:10 Empreiteiro