-
Notifications
You must be signed in to change notification settings - Fork 474
fix(llmobs): fix token usage parsing error for langchain ai message #13462
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
|
Bootstrap import analysisComparison of import times between this PR and base. SummaryThe average import time from this PR is: 241 ± 4 ms. The average import time from base is: 246 ± 4 ms. The import time difference between this PR and base is: -4.5 ± 0.2 ms. Import time breakdownThe following import paths have shrunk:
|
BenchmarksBenchmark execution time: 2025-05-29 15:42:43 Comparing candidate commit 8092ea0 in PR branch Found 3 performance improvements and 0 performance regressions! Performance is the same for 507 metrics, 6 unstable metrics. scenario:iastdjangostartup-appsec
scenario:iastdjangostartup-iast
scenario:iastdjangostartup-tracer
|
Co-authored-by: Yun Kim <35776586+Yun-Kim@users.noreply.github.com>
https://datadoghq.atlassian.net/browse/MLOB-2839
Add a check that we already do for
chat/llmmessages foraimessage type to avoid potential attribute errors whenusageisNoneor not a dictionaryThis issue is potentially related langchain-ai/langgraph#3936
Checklist
Reviewer Checklist