You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
langchain/libs
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.
10 months ago
..
cli Library Licenses (#13300) 10 months ago
core langchain[patch]: Fix `config` arg detection for wrapped lambdarunnable (#14230) 10 months ago
experimental langchain[patch]: Running SQLDatabaseChain adds prefix "SQLQuery:\n" (#14058) 10 months ago
langchain Prefer byte store interface for Upstash BaseStore to match other Redis (#14201) 10 months ago