Skip to content

feat(langchain): update integration to from ai.* to gen_ai.* span attributes #4678

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

Draft
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

shellmayr
Copy link
Member

@shellmayr shellmayr commented Aug 6, 2025

  • Update span attributes to new OTEL compatible schema

Closes TET-992

Copy link

linear bot commented Aug 6, 2025

Copy link

codecov bot commented Aug 6, 2025

❌ 24 Tests Failed:

Tests completed Failed Passed Skipped
23890 24 23866 2287
View the top 3 failed test(s) by shortest run time
tests.integrations.langchain.test_langchain::test_langchain_agent[True-False-False]
Stack Traces | 0.141s run time
.../integrations/langchain/test_langchain.py:185: in test_langchain_agent
    assert len(list(x for x in tx["spans"] if x["op"] == "gen_ai.run")) > 0
E   assert 0 > 0
E    +  where 0 = len([])
E    +    where [] = list(<generator object test_langchain_agent.<locals>.<genexpr> at 0x7f3a37ed9b30>)
tests.integrations.langchain.test_langchain::test_langchain_agent[False-False-True]
Stack Traces | 0.142s run time
.../integrations/langchain/test_langchain.py:185: in test_langchain_agent
    assert len(list(x for x in tx["spans"] if x["op"] == "gen_ai.run")) > 0
E   assert 0 > 0
E    +  where 0 = len([])
E    +    where [] = list(<generator object test_langchain_agent.<locals>.<genexpr> at 0x7f3a37ed97b0>)
tests.integrations.langchain.test_langchain::test_langchain_agent[False-True-False]
Stack Traces | 0.142s run time
.../integrations/langchain/test_langchain.py:185: in test_langchain_agent
    assert len(list(x for x in tx["spans"] if x["op"] == "gen_ai.run")) > 0
E   assert 0 > 0
E    +  where 0 = len([])
E    +    where [] = list(<generator object test_langchain_agent.<locals>.<genexpr> at 0x7f3a37e39350>)

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant