[Bug]: model_name and token_usage not returned in callback when invoked via agent #27494
Open
5 tasks done
Labels
🤖:bug
Related to a bug, vulnerability, unexpected error with an existing feature
investigate
Flagged for investigation.
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: