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/core/langchain_core
Nuno Campos e86fd946c8
In stream_event and stream_log handle closed streams (#16661)
if eg. the stream iterator is interrupted then adding more events to the
send_stream will raise an exception that we should catch (and handle
where appropriate)

<!-- 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.
 -->
8 months ago
..
_api core[patch]: preserve inspect.iscoroutinefunction with @deprecated decorator (#16295) 8 months ago
beta core[patch], community[patch]: mark runnable context, lc load as beta (#15603) 8 months ago
callbacks core[minor]: RFC Add astream_events to Runnables (#16172) 8 months ago
documents Propagate context vars in all classes/methods 9 months ago
example_selectors core[patch], community[patch], langchain[patch], docs: Update SQL chains/agents/docs (#16168) 8 months ago
globals IMPROVEMENT: filter global warnings properly (#13754) 10 months ago
language_models Accept message-like things in Chat models, LLMs and MessagesPlaceholder (#16418) 8 months ago
load core[patch]: support old core namespaces (#16155) 8 months ago
messages Accept message-like things in Chat models, LLMs and MessagesPlaceholder (#16418) 8 months ago
output_parsers core: update json output parser (#15079) 8 months ago
outputs core[patch], openai[patch]: Chat openai stream logprobs (#16218) 8 months ago
prompts Accept message-like things in Chat models, LLMs and MessagesPlaceholder (#16418) 8 months ago
pydantic_v1 Separate out langchain_core package (#13577) 10 months ago
runnables core: expand docstring for RunnableParallel (#16600) 8 months ago
tracers In stream_event and stream_log handle closed streams (#16661) 8 months ago
utils core[patch], community[patch], openai[patch]: consolidate openai tool… (#16485) 8 months ago
__init__.py core[patch], community[patch]: mark runnable context, lc load as beta (#15603) 8 months ago
agents.py manual mapping (#14422) 9 months ago
caches.py REFACTOR: Refactor langchain_core (#13627) 10 months ago
chat_history.py core(minor): Allow explicit types for ChatMessageHistory adds (#14967) 9 months ago
chat_sessions.py REFACTOR: Refactor langchain_core (#13627) 10 months ago
embeddings.py Propagate context vars in all classes/methods 9 months ago
env.py core[patch]: update langchain-core runtime library name (#14884) 9 months ago
exceptions.py REFACTOR: Refactor langchain_core (#13627) 10 months ago
memory.py REFACTOR: Refactor langchain_core (#13627) 10 months ago
prompt_values.py manual mapping (#14422) 9 months ago
py.typed core[minor], langchain[patch], experimental[patch]: Added missing `py.typed` to `langchain_core` (#14143) 10 months ago
retrievers.py core[patch]: passthrough BaseRetriever.invoke(**kwargs) (#16551) 8 months ago
stores.py core[patch], langchain[patch]: ByteStore (#14312) 9 months ago
sys_info.py core[patch]: Update sys info information (#16297) 8 months ago
tools.py core[patch]: consolidate conditional in BaseTool (#16530) 8 months ago
vectorstores.py Propagate context vars in all classes/methods 9 months ago