fix: correct Lunary tool-error logging (#5505)
fix: log lunary tool errors with the correct run id
This commit is contained in:
parent
c9db81096a
commit
2029588d4d
|
|
@ -1774,7 +1774,7 @@ export class AnalyticHandler {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Object.prototype.hasOwnProperty.call(this.handlers, 'lunary')) {
|
if (Object.prototype.hasOwnProperty.call(this.handlers, 'lunary')) {
|
||||||
const toolEventId: string = this.handlers['lunary'].llmEvent[returnIds['lunary'].toolEvent]
|
const toolEventId: string = this.handlers['lunary'].toolEvent[returnIds['lunary'].toolEvent]
|
||||||
const monitor = this.handlers['lunary'].client
|
const monitor = this.handlers['lunary'].client
|
||||||
|
|
||||||
if (monitor && toolEventId) {
|
if (monitor && toolEventId) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue