Commit 840eced
test(langchain): Add pipeline name attribute assertions to on_llm_start tests
Add name kwarg to on_llm_start call in test_langchain_message_truncation and assert
that gen_ai.pipeline.name is set correctly when a pipeline name is provided.
Also add gen_ai.operation.name assertions to relevant tests.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent b2fd97e commit 840eced
File tree
2 files changed
+11
-1
lines changed- sentry_sdk/integrations
- tests/integrations/langchain
2 files changed
+11
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
374 | 374 | | |
375 | 375 | | |
376 | 376 | | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
377 | 383 | | |
378 | 384 | | |
379 | 385 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1040 | 1040 | | |
1041 | 1041 | | |
1042 | 1042 | | |
| 1043 | + | |
1043 | 1044 | | |
1044 | 1045 | | |
1045 | 1046 | | |
| |||
1069 | 1070 | | |
1070 | 1071 | | |
1071 | 1072 | | |
1072 | | - | |
| 1073 | + | |
| 1074 | + | |
1073 | 1075 | | |
| 1076 | + | |
1074 | 1077 | | |
1075 | 1078 | | |
1076 | 1079 | | |
| |||
1783 | 1786 | | |
1784 | 1787 | | |
1785 | 1788 | | |
| 1789 | + | |
1786 | 1790 | | |
1787 | 1791 | | |
1788 | 1792 | | |
| |||
0 commit comments