Skip to content

Commit 6b1a0d9

Browse files
authored
Update README (#769)
1 parent dc04672 commit 6b1a0d9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,8 @@ be better suited for deploying LangGraph applications.
4848
## Limitations
4949

5050
- Client callbacks are not yet supported for events that originate on the server
51-
- OpenAPI docs will not be generated when using Pydantic V2. Fast API does not
52-
support [mixing pydantic v1 and v2 namespaces](https://github.com/tiangolo/fastapi/issues/10360).
53-
See section below for more details.
51+
- Versions of LangServe <= 0.2.0, will not generate OpenAPI docs properly when using Pydantic V2 as Fast API does not support [mixing pydantic v1 and v2 namespaces](https://github.com/tiangolo/fastapi/issues/10360).
52+
See section below for more details. Either upgrade to LangServe>=0.3.0 or downgrade Pydantic to pydantic 1.
5453

5554
## Security
5655

@@ -208,8 +207,9 @@ app.add_middleware(
208207

209208
If you've deployed the server above, you can view the generated OpenAPI docs using:
210209

211-
> ⚠️ If using pydantic v2, docs will not be generated for _invoke_, _batch_, _stream_,
210+
> ⚠️ If using LangServe <= 0.2.0 and pydantic v2, docs will not be generated for _invoke_, _batch_, _stream_,
212211
> _stream_log_. See [Pydantic](#pydantic) section below for more details.
212+
> To resolve please upgrade to LangServe 0.3.0.
213213
214214
```sh
215215
curl localhost:8000/docs

0 commit comments

Comments
 (0)