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
Token usage on Langchain nodes is no longer available in 1.40.0 #9294
Labels
Comments
Hey @mprytoluk, Thanks for the report, The team are looking into this now. |
Thank you for your reply @Joffcom. I can confirm the reported behavior for 1.37.0 is the same for 1.38.1, so it is still working on 1.38.1. |
3 tasks
Fix got released with |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Description
Token usage is no longer available at logs on Langchain nodes in 1.40.0. It was working up until at least 1.37.0.
1.37.0:
1.40.0:
Please note that the output on an added langchain callback on the llm is also empty:
1.37.0:
1.40.0:
To Reproduce
Use any LLM/Langchain related node and check the logs.
Expected behavior
There should be the token usage info on LLM/Langchain nodes logs.
Operating System
Ubuntu
n8n Version
1.40.0
Node.js Version
18.x
Database
SQLite (default)
Execution mode
main (default)
The text was updated successfully, but these errors were encountered: