mirror of
https://github.com/Mintplex-Labs/anything-llm
synced 2026-04-26 17:45:11 +02:00
Api session id support (#2158)
* Refactor api endpoint chat handler to its own function remove legacy `chatWithWorkspace` and cleanup `index.js` * Add `sessionId` in dev API to partition chats logically statelessly
This commit is contained in:
@@ -138,6 +138,7 @@ function workspaceThreadEndpoints(app) {
|
||||
workspaceId: workspace.id,
|
||||
user_id: user?.id || null,
|
||||
thread_id: thread.id,
|
||||
api_session_id: null, // Do not include API session chats.
|
||||
include: true,
|
||||
},
|
||||
null,
|
||||
|
||||
Reference in New Issue
Block a user