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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 2 deletions

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')) {