langgraph/how-tos/local-studio/ #2472
Replies: 18 comments 41 replies
-
I keep getting some starlette error after running Traceback (most recent call last): |
Beta Was this translation helpful? Give feedback.
-
Trying to install it i get this: Wasnt the point of this to have a similar UI as the studio but in another OS? or did i misunderstood it? |
Beta Was this translation helpful? Give feedback.
-
Do we need to provide a LangSmith api key on startup, as was the case for the dockerized langgraph-api setup? |
Beta Was this translation helpful? Give feedback.
-
How can I pass in a runnable configuration when using the local development server? The configuration option is not available in the online version as in the local studio app. |
Beta Was this translation helpful? Give feedback.
-
I've just installed LangGraph locally, using "pip install "langgraph-cli[inmem]==0.1.55". When i try to run it using "langgraph dev" I get the message "Error: Invalid value for '--config': Path 'langgraph.json' does not exist." Where do I get the 'langgraph.json'? Is it supposed to install a default file on installation, or do I need to create this file? |
Beta Was this translation helpful? Give feedback.
-
Do I have to follow that structure? I get a {
"dependencies": ["."],
"graphs": {
"explore_team": "teams/explore_agent/graph.py:explore_graph",
"compute_team": "teams/compute_agent/graph.py:compute_graph",
"agent": "teams/graph.py:graph"
},
"env": ".env"
} I use the following structure
|
Beta Was this translation helpful? Give feedback.
-
Why does it not load the .env file like this: {
"dependencies": ["."],
"graphs": {
"prometheus": "./backend/graphs/prometheus.py:prometheus"
},
"python-version": "3.11",
"env": ".env"
} |
Beta Was this translation helpful? Give feedback.
-
Failed to load assistants TypeError: Failed to fetch |
Beta Was this translation helpful? Give feedback.
-
Would be nice if the --reload-include was available too. |
Beta Was this translation helpful? Give feedback.
-
Studio loads but I am not able to run workflows, getting "Background run failed" followed by "langgraph.errors.InvalidUpdateError: Expected node messages to update at least one of ['messages'], got {}". Same code works in desktop LG Studio. Any ideas? |
Beta Was this translation helpful? Give feedback.
-
One other issue -- cancelling workflows in progress does not appear to actually cancel them -- I am seeing my agents continue to execute in the LangGraph server dev logs. Even stopping the server and restarting it doesn't seem to abort the workflow I cancelled, it just starts again. Is there any way to fix that? |
Beta Was this translation helpful? Give feedback.
-
I am running langgraph dev and getting the following error:
Environment Details: Any ideas on why this issue occurs specifically with langgraph dev? How can I resolve this? |
Beta Was this translation helpful? Give feedback.
-
I am unable to make it work. I get |
Beta Was this translation helpful? Give feedback.
-
Had an error after running langgraph dev It looks like something about Starlette. • Python: 3.11.10 pip list: annotated-types 0.7.0 And here is the log after running
Really appreciate if anyone can help 🙏🙏🙏🙏🙏 |
Beta Was this translation helpful? Give feedback.
-
I try to use local-studio on Ubuntu 22 (WSL) with the following versions:
Please help. Thank you. |
Beta Was this translation helpful? Give feedback.
-
Just installed langgraph like you suggested: pip install -U "langgraph-cli[inmem]" python-dotenv then got: langgraph --version This did not work: pip install "langgraph-api-inmem>=0.0.4" Added this to my .bashrc: export PYTHONPATH=$(pwd):$PYTHONPATH My current structure: ~/my-agents$ tree more langgraph.json Very first time testing langgraph, my initial goal is to use it Langgraph Studio server locally with Ollama models... any tips you might provide would be greatly appreciated ! Thanks. |
Beta Was this translation helpful? Give feedback.
-
hello,
ModuleNotFoundError: No module named 'my_agent' If you are using pyproject.toml or setuptools: Make sure to run this command from your project's root directory (where your setup.py or pyproject.toml is located) As I used an official example, I guess the structure is correct. Does anyone have an idea how to tackle this issue ? Thank you ! |
Beta Was this translation helpful? Give feedback.
-
langgraph/how-tos/local-studio/
Build language agents as graphs
https://langchain-ai.github.io/langgraph/how-tos/local-studio/
Beta Was this translation helpful? Give feedback.
All reactions