mirror of
https://github.com/Mintplex-Labs/anything-llm
synced 2026-04-30 19:37:27 +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:
@@ -299,6 +299,7 @@ function apiWorkspaceThreadEndpoints(app) {
|
||||
{
|
||||
workspaceId: workspace.id,
|
||||
thread_id: thread.id,
|
||||
api_session_id: null, // Do not include API session chats.
|
||||
include: true,
|
||||
},
|
||||
null,
|
||||
|
||||
Reference in New Issue
Block a user