Bugfix/langwatch missing returnids (#3077)

* Update handler.ts

Add missing langWatch: {} to onLLMStart and onLLMStart

* Update handler.ts

Revert changes so I can make bugfix branch

* Update handler.ts - missing langWatch

Add missing langWatch object to returnIds for missing 'span' bug.
This commit is contained in:
Meltcap
2024-08-25 14:39:19 +02:00
committed by GitHub
parent 43f11f21f8
commit eb595d2a66
+4 -2
View File
@@ -633,7 +633,8 @@ export class AnalyticHandler {
const returnIds: ICommonObject = {
langSmith: {},
langFuse: {},
lunary: {}
lunary: {},
langWatch: {}
}
if (Object.prototype.hasOwnProperty.call(this.handlers, 'langSmith')) {
@@ -789,7 +790,8 @@ export class AnalyticHandler {
const returnIds: ICommonObject = {
langSmith: {},
langFuse: {},
lunary: {}
lunary: {},
langWatch: {}
}
if (Object.prototype.hasOwnProperty.call(this.handlers, 'langSmith')) {