mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 21:00:58 +03:00
add user id
This commit is contained in:
@@ -49,7 +49,7 @@
|
|||||||
"html-to-text": "^9.0.5",
|
"html-to-text": "^9.0.5",
|
||||||
"ioredis": "^5.3.2",
|
"ioredis": "^5.3.2",
|
||||||
"langchain": "^0.0.165",
|
"langchain": "^0.0.165",
|
||||||
"langfuse-langchain": "^1.0.14-alpha.0",
|
"langfuse-langchain": "^1.0.31",
|
||||||
"langsmith": "^0.0.32",
|
"langsmith": "^0.0.32",
|
||||||
"linkifyjs": "^4.1.1",
|
"linkifyjs": "^4.1.1",
|
||||||
"llmonitor": "^0.5.5",
|
"llmonitor": "^0.5.5",
|
||||||
|
|||||||
@@ -250,6 +250,7 @@ export const additionalCallbacks = async (nodeData: INodeData, options: ICommonO
|
|||||||
baseUrl: langFuseEndpoint ?? 'https://cloud.langfuse.com'
|
baseUrl: langFuseEndpoint ?? 'https://cloud.langfuse.com'
|
||||||
}
|
}
|
||||||
if (release) langFuseOptions.release = release
|
if (release) langFuseOptions.release = release
|
||||||
|
if (options.chatId) langFuseOptions.userId = options.chatId
|
||||||
|
|
||||||
const handler = new CallbackHandler(langFuseOptions)
|
const handler = new CallbackHandler(langFuseOptions)
|
||||||
callbacks.push(handler)
|
callbacks.push(handler)
|
||||||
|
|||||||
Reference in New Issue
Block a user