mirror of
https://github.com/hwchase17/langchain.git
synced 2026-06-09 18:50:33 +00:00
style: some cleanup (#33857)
This commit is contained in:
@@ -602,7 +602,7 @@ class _ConfigurableModel(Runnable[LanguageModelInput, Any]):
|
||||
config: RunnableConfig | None = None,
|
||||
**kwargs: Any,
|
||||
) -> _ConfigurableModel:
|
||||
"""Bind config to a Runnable, returning a new Runnable."""
|
||||
"""Bind config to a `Runnable`, returning a new `Runnable`."""
|
||||
config = RunnableConfig(**(config or {}), **cast("RunnableConfig", kwargs))
|
||||
model_params = self._model_params(config)
|
||||
remaining_config = {k: v for k, v in config.items() if k != "configurable"}
|
||||
|
||||
@@ -3,8 +3,13 @@ requires = ["hatchling"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[project]
|
||||
authors = []
|
||||
name = "langchain"
|
||||
description = "Building applications with LLMs through composability"
|
||||
license = { text = "MIT" }
|
||||
readme = "README.md"
|
||||
authors = []
|
||||
|
||||
version = "1.0.4"
|
||||
requires-python = ">=3.10.0,<4.0.0"
|
||||
dependencies = [
|
||||
"langchain-core>=1.0.0,<2.0.0",
|
||||
@@ -12,11 +17,6 @@ dependencies = [
|
||||
"pydantic>=2.7.4,<3.0.0",
|
||||
]
|
||||
|
||||
name = "langchain"
|
||||
version = "1.0.4"
|
||||
description = "Building applications with LLMs through composability"
|
||||
readme = "README.md"
|
||||
|
||||
[project.optional-dependencies]
|
||||
model-profiles = ["langchain-model-profiles"]
|
||||
community = ["langchain-community"]
|
||||
|
||||
Reference in New Issue
Block a user