Skip to content

Commit 98ac9d0

Browse files
committed
fix langgraph python examples readme to support platform and fastapi
1 parent d7a6df6 commit 98ac9d0

File tree

1 file changed

+13
-2
lines changed
  • typescript-sdk/integrations/langgraph/examples/python

1 file changed

+13
-2
lines changed

typescript-sdk/integrations/langgraph/examples/python/README.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,16 @@
44

55
First, make sure to create a new .env file from the .env.example and include the required keys.
66

7-
For python, run:
8-
`pnpx @langchain/langgraph-cli@latest dev`
7+
To run the Python examples for langgraph platform, run:
8+
```
9+
cd typescript-sdk/integrations/langgraph/examples/python
10+
pnpx @langchain/langgraph-cli@latest dev
11+
```
12+
13+
To run the python examples using FastAPI, run:
14+
```
15+
cd typescript-sdk/integrations/langgraph/examples/python
16+
poetry install
17+
poetry run dev
18+
```
19+

0 commit comments

Comments
 (0)