File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 53
53
"husky" : " ^8.0.3" ,
54
54
"ioredis" : " ^5.3.2" ,
55
55
"langchain" : " ^0.0.214" ,
56
- "langfuse" : " ^1. 2.0" ,
57
- "langfuse-langchain" : " ^1 .0.31 " ,
58
- "langsmith" : " ^ 0.0.53" ,
56
+ "langfuse" : " 2.0.2 " ,
57
+ "langfuse-langchain" : " 2 .0.2 " ,
58
+ "langsmith" : " 0.0.53" ,
59
59
"linkifyjs" : " ^4.1.1" ,
60
60
"llmonitor" : " ^0.5.5" ,
61
61
"mammoth" : " ^1.5.1" ,
Original file line number Diff line number Diff line change @@ -538,7 +538,7 @@ export class AnalyticHandler {
538
538
if ( trace ) {
539
539
const generation = trace . generation ( {
540
540
name,
541
- prompt : input
541
+ input : input
542
542
} )
543
543
this . handlers [ 'langFuse' ] . generation = { [ generation . id ] : generation }
544
544
returnIds [ 'langFuse' ] . generation = generation . id
@@ -583,7 +583,7 @@ export class AnalyticHandler {
583
583
const generation : LangfuseGenerationClient | undefined = this . handlers [ 'langFuse' ] . generation [ returnIds [ 'langFuse' ] . generation ]
584
584
if ( generation ) {
585
585
generation . end ( {
586
- completion : output
586
+ output : output
587
587
} )
588
588
}
589
589
}
@@ -618,7 +618,7 @@ export class AnalyticHandler {
618
618
const generation : LangfuseGenerationClient | undefined = this . handlers [ 'langFuse' ] . generation [ returnIds [ 'langFuse' ] . generation ]
619
619
if ( generation ) {
620
620
generation . end ( {
621
- completion : error
621
+ output : error
622
622
} )
623
623
}
624
624
}
You can’t perform that action at this time.
0 commit comments