Skip to content
Discussion options

You must be logged in to vote

I found it. If the langgraph is set to message stream mode, the stream would indeed contain the reasoning content.

Here is an example message object

{
    "event": "messages",
    "data": [
        {
            "content": "",
            "additional_kwargs": {
                "reasoning_content": "Alright"
            },
            "response_metadata": {},
            "type": "AIMessageChunk",
            "name": null,
            "id": "run-b8e386dc-4639-4875-a57e-2fa1e9c0acc7",
            "example": false,
            "tool_calls": [],
            "invalid_tool_calls": [],
            "usage_metadata": null,
            "tool_call_chunks": []
        },
        {
            "created…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by danni-boii
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@826327700
Comment options

@Rinzyy
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants