Describe your environment
OS: Mac OS
Python version: Python 3.14.0
Package version: @main
What happened?
There is no support for async messages when instrumenting Anthropic ChatAnthropic, so no spans are created.
Steps to Reproduce
Create a simple example like this one using FastAPI async : https://github.com/salaboy/observing-ai/tree/main/python/langchain/python-merch-store-otel-langchain-official
Expected Result
Async message should be instrumented as Sync messages
Actual Result
No instrumentation happens if Async is used.
Additional context
No response
Would you like to implement a fix?
Yes
Tip
React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.
Describe your environment
OS: Mac OS
Python version: Python 3.14.0
Package version: @main
What happened?
There is no support for async messages when instrumenting Anthropic ChatAnthropic, so no spans are created.
Steps to Reproduce
Create a simple example like this one using FastAPI async : https://github.com/salaboy/observing-ai/tree/main/python/langchain/python-merch-store-otel-langchain-official
Expected Result
Async message should be instrumented as Sync messages
Actual Result
No instrumentation happens if Async is used.
Additional context
No response
Would you like to implement a fix?
Yes
Tip
React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding
+1orme too, to help us triage it. Learn more here.