Skip to content

Conversation

@hyacinthus
Copy link

Hey, LLM usage is very important information that needs to be known. Can we include it in the results?

@hinthornw
Copy link
Collaborator

Why not use callbacks/tracing for that?

@hyacinthus
Copy link
Author

Could you please advise on how to add a callback? Adding it at the SDK level or HTTP level cannot be associated with the context here. However, in LangGraph's node, the LLM call and the context can be obtained together.

@hyacinthus
Copy link
Author

I need these usage metadata in LangGraph stream chunk.

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.

2 participants