langchain-ai / langgraph-studio

Desktop app for prototyping and debugging LangGraph applications locally.
https://studio.langchain.com
1.97k stars 131 forks source link

Using async/await with langgraphJS #102

Closed gpiroux closed 2 months ago

gpiroux commented 2 months ago

It seems not possible to use async/await with langgraphJS on langgraph studio ? Is it a current limitation or a wrong configuration ? I used the langgraph-studio-starter to bootstrap the project.

hinthornw commented 2 months ago

Do you have any example code to share? All our defaults and code that we run in studio are async in LangGraph JS & python, so some sample code would help us be more of assistance.

gpiroux commented 2 months ago

I had clear message yesterday telling that the async/await paterne was forbidden in cjs but after multiple retry today that finally worked... Thank you any way.