Skip to content

Ran into a few walls with LangGraph Integration Example #366

@ryaneggz

Description

@ryaneggz

Local Version

Image

Installation

Was difficult to figure out that I needed to run uv pip install -U openpipe-art[backend,langgraph]==0.4.9 discovered the extras from https://pypi.org/project/openpipe-art/ did not see stated in docks. Saw in Collab Notebook as well.

Unknown attributes

Image

Cannot access attribute "register_model" for class "LocalBackend"
  Attribute "register_model" is unknown

Had to switch this from backend.register_model -> backend.register

Image

"train" is not a known attribute of module "art"

Did not find a working method in my search for this. Saw that model had a method called _train_model but read was not implemented yet.

Decorator for wrap_rollout not working

Argument missing for parameter "fn"

I thought I had a workaround by passing run_agent before it created the trajectory but appears to not like the LangGraph message schema. My assumption is the decorator manages that.

Image

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