Skip to content

Commit

Permalink
More poetry run fixes for the pipeline and bring back litellm to matc…
Browse files Browse the repository at this point in the history
…h lock file, also because newer versions still have the openai stream=True not working bug
  • Loading branch information
rogeriochaves committed Sep 27, 2023
1 parent 874be7f commit 4565d9e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ test-integration:
PYTHONPATH=$$PYTHONPATH:. poetry run pytest -s -m integration $(filter-out $@,$(MAKECMDGOALS))

doctest:
PYTHONPATH=$$PYTHONPATH:. poetry run pytest --doctest-modules langstream/utils && PYTHONPATH=$PYTHONPATH:. pytest --doctest-modules langstream/core && PYTHONPATH=$PYTHONPATH:. pytest --doctest-modules langstream/contrib/llms
PYTHONPATH=$$PYTHONPATH:. poetry run pytest --doctest-modules langstream/utils && PYTHONPATH=$PYTHONPATH:. poetry run pytest --doctest-modules langstream/core && PYTHONPATH=$PYTHONPATH:. poetry run pytest --doctest-modules langstream/contrib/llms

nbtest:
poetry run nbdoc_test --fname docs/docs/
Expand All @@ -16,7 +16,7 @@ docs:
make pdocs && make nbdocs && cd docs && npm run build

pdocs:
pdoc --html -o ./docs/static/reference --template-dir ./docs/pdoc_template langstream --force
poetry run pdoc --html -o ./docs/static/reference --template-dir ./docs/pdoc_template langstream --force

nbdocs:
poetry run nbdoc_build --srcdir docs/docs
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ retry = { version = "*" }

openai = { version = "*", optional = true }
gpt4all = { version = "*", optional = true }
litellm = { version = "*", optional = true }
litellm = { version = "=0.1.450", optional = true }

[tool.poetry.group.dev.dependencies]
pdoc3 = "^0.10.0"
Expand Down

0 comments on commit 4565d9e

Please sign in to comment.