mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-12 21:11:43 +00:00
fix(docs): local API reference documentation build (#32271)
ensure all relevant packages are correctly processed - cli wasn't included, also fix ValueError
This commit is contained in:
@@ -67,12 +67,11 @@ def serve(
|
||||
] = None,
|
||||
) -> None:
|
||||
"""Start the LangServe app, whether it's a template or an app."""
|
||||
# see if is a template
|
||||
try:
|
||||
project_dir = get_package_root()
|
||||
pyproject = project_dir / "pyproject.toml"
|
||||
get_langserve_export(pyproject)
|
||||
except KeyError:
|
||||
except (KeyError, FileNotFoundError):
|
||||
# not a template
|
||||
app_namespace.serve(port=port, host=host)
|
||||
else:
|
||||
|
2
libs/cli/uv.lock
generated
2
libs/cli/uv.lock
generated
@@ -408,7 +408,7 @@ wheels = [
|
||||
|
||||
[[package]]
|
||||
name = "langchain"
|
||||
version = "0.3.26"
|
||||
version = "0.3.27"
|
||||
source = { editable = "../langchain" }
|
||||
dependencies = [
|
||||
{ name = "async-timeout", marker = "python_full_version < '3.11'" },
|
||||
|
@@ -1,8 +1,3 @@
|
||||
"""This is the langchain_chroma package.
|
||||
|
||||
It contains the Chroma class for handling various tasks.
|
||||
"""
|
||||
|
||||
from langchain_chroma.vectorstores import Chroma
|
||||
|
||||
__all__ = [
|
||||
|
@@ -1,5 +1,3 @@
|
||||
"""This package provides the Perplexity integration for LangChain."""
|
||||
|
||||
from langchain_perplexity.chat_models import ChatPerplexity
|
||||
|
||||
__all__ = ["ChatPerplexity"]
|
||||
|
@@ -1,5 +1,3 @@
|
||||
"""This package provides the xAI integration for LangChain."""
|
||||
|
||||
from langchain_xai.chat_models import ChatXAI
|
||||
|
||||
__all__ = ["ChatXAI"]
|
||||
|
@@ -55,7 +55,7 @@ target-version = "py39"
|
||||
|
||||
[tool.ruff.lint]
|
||||
select = ["E", "F", "I", "D", "UP", "S"]
|
||||
ignore = [ "UP007", ]
|
||||
ignore = [ "UP007", "D104", ]
|
||||
|
||||
[tool.coverage.run]
|
||||
omit = ["tests/*"]
|
||||
@@ -79,4 +79,4 @@ convention = "google"
|
||||
"tests/**/*.py" = [
|
||||
"S101", # Tests need assertions
|
||||
"S311", # Standard pseudo-random generators are not suitable for cryptographic purposes
|
||||
]
|
||||
]
|
||||
|
@@ -1,6 +1,6 @@
|
||||
"""Base Test classes for standard testing.
|
||||
|
||||
To learn how to use these classes, see the
|
||||
`Integration standard testing <https://python.langchain.com/docs/contributing/how_to/integrations/standard_tests/>`_
|
||||
`integration standard testing <https://python.langchain.com/docs/contributing/how_to/integrations/standard_tests/>`__
|
||||
guide.
|
||||
"""
|
||||
|
Reference in New Issue
Block a user