langchain/libs/core/langchain_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
..
_api REFACTOR: Refactor langchain_core (#13627) 2023-11-21 08:35:29 -08:00
callbacks Removing extra StdOutCallbackHandler overridden methods (#14136) 2023-12-03 09:38:49 -08:00
documents REFACTOR: combine core documents files (#13733) 2023-11-22 10:10:26 -08:00
example_selectors IMPROVEMENT: Conditionally import core type hints (#13700) 2023-11-21 21:38:49 -08:00
globals IMPROVEMENT: filter global warnings properly (#13754) 2023-11-22 16:26:37 -08:00
language_models Fixes for opengpts release (#13960) 2023-11-28 21:49:43 +00:00
load core[patch]: Add **kwargs to Langchain's dumps() to allow passing of json.dumps() … (#10628) 2023-11-30 08:52:24 -08:00
messages Fix Azure Openai function calling in streaming mode (#13768) 2023-12-03 12:07:15 -08:00
output_parsers In Runnable.stream_log build up final_output from adding output chunks (#12781) 2023-11-28 21:50:41 +00:00
outputs REFACTOR: Refactor langchain_core (#13627) 2023-11-21 08:35:29 -08:00
prompts Update Prompt Format Error (#14044) 2023-12-01 09:06:35 -08:00
pydantic_v1 Separate out langchain_core package (#13577) 2023-11-20 13:09:30 -08:00
runnables langchain[patch]: Fix config arg detection for wrapped lambdarunnable (#14230) 2023-12-04 14:18:30 -08:00
tracers core[patch]: BaseTracer helper method for Run lookup (#14139) 2023-12-02 14:05:50 -08:00
utils langchain[patch], core[patch]: Make common utils public (#13932) 2023-11-27 15:34:46 -08:00
__init__.py Separate out langchain_core package (#13577) 2023-11-20 13:09:30 -08:00
agents.py Implement stream() and astream() for agents (#12783) 2023-11-28 08:11:37 +00:00
caches.py REFACTOR: Refactor langchain_core (#13627) 2023-11-21 08:35:29 -08:00
chat_history.py REFACTOR: Refactor langchain_core (#13627) 2023-11-21 08:35:29 -08:00
chat_sessions.py REFACTOR: Refactor langchain_core (#13627) 2023-11-21 08:35:29 -08:00
embeddings.py REFACTOR: Refactor langchain_core (#13627) 2023-11-21 08:35:29 -08:00
env.py Separate out langchain_core package (#13577) 2023-11-20 13:09:30 -08:00
exceptions.py REFACTOR: Refactor langchain_core (#13627) 2023-11-21 08:35:29 -08:00
memory.py REFACTOR: Refactor langchain_core (#13627) 2023-11-21 08:35:29 -08:00
prompt_values.py BUG: more core fixes (#13665) 2023-11-21 15:15:48 -08:00
py.typed core[minor], langchain[patch], experimental[patch]: Added missing py.typed to langchain_core (#14143) 2023-12-01 19:15:23 -08:00
retrievers.py REFACTOR: Refactor langchain_core (#13627) 2023-11-21 08:35:29 -08:00
stores.py REFACTOR: Refactor langchain_core (#13627) 2023-11-21 08:35:29 -08:00
tools.py IMPROVEMENT: Conditionally import core type hints (#13700) 2023-11-21 21:38:49 -08:00
vectorstores.py IMPROVEMENT: Conditionally import core type hints (#13700) 2023-11-21 21:38:49 -08:00