mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 19:00:59 +03:00
upgrade langfuse and add sdkIntegration tag
This commit is contained in:
@@ -65,8 +65,8 @@
|
|||||||
"ioredis": "^5.3.2",
|
"ioredis": "^5.3.2",
|
||||||
"jsonpointer": "^5.0.1",
|
"jsonpointer": "^5.0.1",
|
||||||
"langchain": "^0.1.20",
|
"langchain": "^0.1.20",
|
||||||
"langfuse": "3.1.0",
|
"langfuse": "3.3.1",
|
||||||
"langfuse-langchain": "^3.1.0",
|
"langfuse-langchain": "^3.3.1",
|
||||||
"langsmith": "0.1.6",
|
"langsmith": "0.1.6",
|
||||||
"linkifyjs": "^4.1.1",
|
"linkifyjs": "^4.1.1",
|
||||||
"llamaindex": "^0.0.48",
|
"llamaindex": "^0.0.48",
|
||||||
|
|||||||
@@ -261,7 +261,8 @@ export const additionalCallbacks = async (nodeData: INodeData, options: ICommonO
|
|||||||
let langFuseOptions: any = {
|
let langFuseOptions: any = {
|
||||||
secretKey: langFuseSecretKey,
|
secretKey: langFuseSecretKey,
|
||||||
publicKey: langFusePublicKey,
|
publicKey: langFusePublicKey,
|
||||||
baseUrl: langFuseEndpoint ?? 'https://cloud.langfuse.com'
|
baseUrl: langFuseEndpoint ?? 'https://cloud.langfuse.com',
|
||||||
|
sdkIntegration: 'Flowise'
|
||||||
}
|
}
|
||||||
if (release) langFuseOptions.release = release
|
if (release) langFuseOptions.release = release
|
||||||
if (options.chatId) langFuseOptions.sessionId = options.chatId
|
if (options.chatId) langFuseOptions.sessionId = options.chatId
|
||||||
@@ -340,6 +341,7 @@ export class AnalyticHandler {
|
|||||||
secretKey: langFuseSecretKey,
|
secretKey: langFuseSecretKey,
|
||||||
publicKey: langFusePublicKey,
|
publicKey: langFusePublicKey,
|
||||||
baseUrl: langFuseEndpoint ?? 'https://cloud.langfuse.com',
|
baseUrl: langFuseEndpoint ?? 'https://cloud.langfuse.com',
|
||||||
|
sdkIntegration: 'Flowise',
|
||||||
release
|
release
|
||||||
})
|
})
|
||||||
this.handlers['langFuse'] = { client: langfuse }
|
this.handlers['langFuse'] = { client: langfuse }
|
||||||
|
|||||||
Reference in New Issue
Block a user