Skip to content

Conversation

sydney-runkle
Copy link
Collaborator

@sydney-runkle sydney-runkle commented Sep 5, 2025

still need to migrate to direct Pregel usage so that I can take advantage of input / output channels parsed from state extension annotations

moved to a typed dict here bc for dataclass subclasses:

  • you need to annotate sublclass w/ @dataclass
  • required values can't follow optional values

Explicit channel specifications are only available on Pregel directly, so I'm guessing we'll need to modify the create_agent internals to use that constructor. Need to make sure we don't lose value from not using and CompiledStateGraph.

Copy link

vercel bot commented Sep 5, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Preview Comments Updated (UTC)
langgraph-docs-preview Ignored Ignored Preview Sep 5, 2025 0:48am

agent = agent.compile()

result = agent.invoke({"messages": [HumanMessage("What is 2+2?")]})
print(result)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will want to see all state updates above

@sydney-runkle
Copy link
Collaborator Author

Closing now, have ported some of this over to LC via langchain-ai/langchain#32828

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.

1 participant