Skip to content

How to pass callbacks, configurable, and metadata config when using Langgraph Platform #144

Open
@mhasan502

Description

@mhasan502

I am currently using the Langgraph Platform along with this repository to deploy Agents into production. Below are the required values that I was passing in the config using the astream method:

config = {
    "callbacks": [langfuse_handler],
    "configurable": {
        "thread_id": uuid.uuid4(),
        "user_id": user_id,
        "permissions": permissions,
    },
    "metadata": {
        "langfuse_session_id": "some-session-id",
        "langfuse_user_id": user_id,
    },
}

However, I am unsure how to pass callbacks, configurable, and metadata since I am using the Langgraph Platform as the backend and this repository for the frontend.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions