You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I searched the LangChain documentation with the integrated search.
I used the GitHub search to find a similar question and didn't find it.
I am sure that this is a bug in LangChain rather than my code.
The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).
Example Code
traceloop/openllmetry#2166 has code example and more details which confirms this is a bug in langchain code.
Error Message and Stack Trace (if applicable)
No response
Description
I am using langchain to invoke agents via agent_executor.invoke with Azure Open AI. However, model_name and token_usage is not returned via callback. This is required to send telemetry via openllmetry.
nitin302
changed the title
[Bug]: model_name and token_usage not returned when invoked via agent
[Bug]: model_name and token_usage not returned in callback when invoked via agent
Oct 20, 2024
dosubotbot
added
the
🤖:bug
Related to a bug, vulnerability, unexpected error with an existing feature
label
Oct 20, 2024
Checked other resources
Example Code
traceloop/openllmetry#2166 has code example and more details which confirms this is a bug in langchain code.
Error Message and Stack Trace (if applicable)
No response
Description
I am using langchain to invoke agents via agent_executor.invoke with Azure Open AI. However, model_name and token_usage is not returned via callback. This is required to send telemetry via openllmetry.
System Info
The text was updated successfully, but these errors were encountered: