langchain/libs/core
Vincent Brouwers 67662564f3
langchain[patch]: Fix config arg detection for wrapped lambdarunnable (#14230)
**Description:**
When a RunnableLambda only receives a synchronous callback, this
callback is wrapped into an async one since #13408. However, this
wrapping with `(*args, **kwargs)` causes the `accepts_config` check at
[/libs/core/langchain_core/runnables/config.py#L342](ee94ef55ee/libs/core/langchain_core/runnables/config.py (L342))
to fail, as this checks for the presence of a "config" argument in the
method signature.

Adding a `functools.wraps` around it, resolves it.
2023-12-04 14:18:30 -08:00
..
langchain_core langchain[patch]: Fix config arg detection for wrapped lambdarunnable (#14230) 2023-12-04 14:18:30 -08:00
scripts INFRA: Lint for imports (#13632) 2023-11-21 17:42:56 -08:00
tests Fix Azure Openai function calling in streaming mode (#13768) 2023-12-03 12:07:15 -08:00
Makefile infra[patch]: add base deps and fix docs lint (#13998) 2023-11-28 17:27:37 -08:00
poetry.lock RELEASE: 0.0.341 (#13926) 2023-11-27 09:51:12 -08:00
pyproject.toml core[patch]: Release 0.0.9 (#14182) 2023-12-02 14:40:56 -08:00
README.md Separate out langchain_core package (#13577) 2023-11-20 13:09:30 -08:00

langchain-core