langchain/libs/core/langchain_core
Yudhajit Sinha 1703fe2361
core[patch]: preserve inspect.iscoroutinefunction with @beta decorator (#16440)
Adjusted deprecate decorator to make sure decorated async functions are
still recognized as "coroutinefunction" by inspect

Addresses #16402

<!-- Thank you for contributing to LangChain!

Please title your PR "<package>: <description>", where <package> is
whichever of langchain, community, core, experimental, etc. is being
modified.

Replace this entire comment with:
  - **Description:** a description of the change, 
  - **Issue:** the issue # it fixes if applicable,
  - **Dependencies:** any dependencies required for this change,
- **Twitter handle:** we announce bigger features on Twitter. If your PR
gets announced, and you'd like a mention, we'll gladly shout you out!

Please make sure your PR is passing linting and testing before
submitting. Run `make format`, `make lint` and `make test` from the root
of the package you've modified to check this locally.

See contribution guidelines for more information on how to write/run
tests, lint, etc: https://python.langchain.com/docs/contributing/

If you're adding a new integration, please include:
1. a test for the integration, preferably unit tests that do not rely on
network access,
2. an example notebook showing its use. It lives in
`docs/docs/integrations` directory.

If no one reviews your PR within a few days, please @-mention one of
@baskaryan, @eyurtsev, @hwchase17.
 -->

---------

Co-authored-by: Bagatur <baskaryan@gmail.com>
2024-01-29 20:01:11 -08:00
..
_api core[patch]: preserve inspect.iscoroutinefunction with @beta decorator (#16440) 2024-01-29 20:01:11 -08:00
beta core[patch], community[patch]: mark runnable context, lc load as beta (#15603) 2024-01-05 17:54:26 -05:00
callbacks core[minor]: RFC Add astream_events to Runnables (#16172) 2024-01-18 21:27:01 -05:00
documents Propagate context vars in all classes/methods 2023-12-29 12:34:03 -08:00
example_selectors core[patch], community[patch], langchain[patch], docs: Update SQL chains/agents/docs (#16168) 2024-01-22 08:19:08 -08:00
globals IMPROVEMENT: filter global warnings properly (#13754) 2023-11-22 16:26:37 -08:00
language_models Accept message-like things in Chat models, LLMs and MessagesPlaceholder (#16418) 2024-01-26 15:44:28 -08:00
load core[patch]: support old core namespaces (#16155) 2024-01-17 11:26:25 -08:00
messages Accept message-like things in Chat models, LLMs and MessagesPlaceholder (#16418) 2024-01-26 15:44:28 -08:00
output_parsers Core: fix Anthropic json issue in streaming (#16670) 2024-01-28 16:41:17 -08:00
outputs core[patch], openai[patch]: Chat openai stream logprobs (#16218) 2024-01-19 09:16:09 -08:00
prompts core[minor]: Image prompt template (#14263) 2024-01-27 17:04:29 -08:00
pydantic_v1 Separate out langchain_core package (#13577) 2023-11-20 13:09:30 -08:00
runnables core: expand docstring for RunnableGenerator (#16672) 2024-01-28 16:47:08 -08:00
tracers In stream_event and stream_log handle closed streams (#16661) 2024-01-27 08:09:29 -08:00
utils core[minor]: Image prompt template (#14263) 2024-01-27 17:04:29 -08:00
__init__.py core[patch], community[patch]: mark runnable context, lc load as beta (#15603) 2024-01-05 17:54:26 -05:00
agents.py manual mapping (#14422) 2023-12-08 16:29:33 -08:00
caches.py REFACTOR: Refactor langchain_core (#13627) 2023-11-21 08:35:29 -08:00
chat_history.py core(minor): Allow explicit types for ChatMessageHistory adds (#14967) 2023-12-22 13:12:01 -08:00
chat_sessions.py REFACTOR: Refactor langchain_core (#13627) 2023-11-21 08:35:29 -08:00
embeddings.py Propagate context vars in all classes/methods 2023-12-29 12:34:03 -08:00
env.py core[patch]: update langchain-core runtime library name (#14884) 2023-12-20 14:35:48 -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 core[minor]: Image prompt template (#14263) 2024-01-27 17:04:29 -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 core[patch]: passthrough BaseRetriever.invoke(**kwargs) (#16551) 2024-01-25 08:58:39 -08:00
stores.py core[patch], langchain[patch]: ByteStore (#14312) 2023-12-06 10:05:43 -08:00
sys_info.py core[patch]: Update sys info information (#16297) 2024-01-22 10:18:04 -05:00
tools.py core[patch]: consolidate conditional in BaseTool (#16530) 2024-01-24 16:56:58 -08:00
vectorstores.py Propagate context vars in all classes/methods 2023-12-29 12:34:03 -08:00