Commit e22faeb
feat(langchain): Update LLM span operation to gen_ai.generate_text
Change LLM span operation type from gen_ai.pipeline to gen_ai.generate_text
and update span naming to include the model identifier.
- Use gen_ai.generate_text operation for LLM calls
- Set span name to 'generate_text {model}' instead of generic 'Langchain LLM call'
- Update test assertions to match new span operation and description
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>1 parent 4cd6752 commit e22faeb
2 files changed
Lines changed: 8 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
351 | 351 | | |
352 | 352 | | |
353 | 353 | | |
354 | | - | |
355 | 354 | | |
356 | 355 | | |
357 | 356 | | |
| |||
369 | 368 | | |
370 | 369 | | |
371 | 370 | | |
372 | | - | |
373 | | - | |
| 371 | + | |
| 372 | + | |
374 | 373 | | |
375 | 374 | | |
376 | 375 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
851 | 851 | | |
852 | 852 | | |
853 | 853 | | |
854 | | - | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
855 | 857 | | |
856 | 858 | | |
857 | 859 | | |
858 | 860 | | |
859 | | - | |
| 861 | + | |
860 | 862 | | |
861 | 863 | | |
862 | 864 | | |
| |||
1062 | 1064 | | |
1063 | 1065 | | |
1064 | 1066 | | |
1065 | | - | |
| 1067 | + | |
1066 | 1068 | | |
1067 | 1069 | | |
1068 | 1070 | | |
| |||
1776 | 1778 | | |
1777 | 1779 | | |
1778 | 1780 | | |
1779 | | - | |
| 1781 | + | |
1780 | 1782 | | |
1781 | 1783 | | |
1782 | 1784 | | |
| |||
0 commit comments