mirror of https://github.com/FlowiseAI/Flowise.git
Merge pull request #1249 from FlowiseAI/feature/LangfuseUserId
Feature/add userid to langfusepull/1253/head
commit
998922b39b
|
|
@ -49,7 +49,7 @@
|
|||
"html-to-text": "^9.0.5",
|
||||
"ioredis": "^5.3.2",
|
||||
"langchain": "^0.0.165",
|
||||
"langfuse-langchain": "^1.0.14-alpha.0",
|
||||
"langfuse-langchain": "^1.0.31",
|
||||
"langsmith": "^0.0.32",
|
||||
"linkifyjs": "^4.1.1",
|
||||
"llmonitor": "^0.5.5",
|
||||
|
|
|
|||
|
|
@ -250,6 +250,7 @@ export const additionalCallbacks = async (nodeData: INodeData, options: ICommonO
|
|||
baseUrl: langFuseEndpoint ?? 'https://cloud.langfuse.com'
|
||||
}
|
||||
if (release) langFuseOptions.release = release
|
||||
if (options.chatId) langFuseOptions.userId = options.chatId
|
||||
|
||||
const handler = new CallbackHandler(langFuseOptions)
|
||||
callbacks.push(handler)
|
||||
|
|
|
|||
Loading…
Reference in New Issue