Hello,
I am am following the generative react UI tutorial:
but i cant get the endpoints POST http://localhost:2024/ui/{agentId} to respond correctly, i just get a 404 error like:
UI not found for graph '35a30527-00a4-5a67-a07f-3807e4698022'
This is the langgraph config i am using:
{
"dependencies": ["."],
"graphs": {
"viz": "./agents/viz/dashboard_agent.py:build_dashboard_graph"
},
"ui": {
"viz": "./ui/ui-components.tsx"
},
"env": "./.env",
"python_version": "3.12",
}
I tried using both the langgraph python and js cli, both give me the same error on the UI endpoints.
Using client components from react directly everything works but i would like to have the components defined and delivered server side.
Any idea about what can be missing? is this feature only available on langgragh platform and cant be used with thelanggraph dev
or npx @langchain/langgraph-cli dev
commands?
Thank you so much.