fix: correct Lunary tool-error logging (#5505)

fix: log lunary tool errors with the correct run id
This commit is contained in:
Daniel Moon 2025-11-24 08:41:31 -08:00 committed by GitHub
parent c9db81096a
commit 2029588d4d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -1774,7 +1774,7 @@ export class AnalyticHandler {
}
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
if (monitor && toolEventId) {