Skip to content

Commit

Permalink
chore: add fastapi to client extra (#666)
Browse files Browse the repository at this point in the history
Just a quickfix for #212.

It would be better not to have to install fastapi only for using the
client, but in my opinion this is still better then getting errors when
importing the `RemoteRunnable` after a `pip install
"langserve[client]"`.

Otherwise at least the readme should be updated.

---------

Co-authored-by: Eugene Yurtsev <eyurtsev@gmail.com>
  • Loading branch information
dennisrall and eyurtsev authored Jun 10, 2024
1 parent 577dcc7 commit df3aa45
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ sse-starlette = "^1.3.0"

[tool.poetry.extras]
# Extras that are used for client
client = []
client = ["fastapi"]
# Extras that are used for server
server = ["sse-starlette", "fastapi"]
# All
Expand Down

0 comments on commit df3aa45

Please sign in to comment.