langchain/libs/core/langchain_core/tracers
Nuno Campos 0f255bb6c4
In Runnable.stream_log build up final_output from adding output chunks (#12781)
Add arg to omit streamed_output list, in cases where final_output is
enough this saves bandwidth

<!-- Thank you for contributing to LangChain!

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,
- **Tag maintainer:** for a quicker response, tag the relevant
maintainer (see below),
- **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` to check this
locally.

See contribution guidelines for more information on how to write/run
tests, lint, etc:

https://github.com/langchain-ai/langchain/blob/master/.github/CONTRIBUTING.md

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/extras`
directory.

If no one reviews your PR within a few days, please @-mention one of
@baskaryan, @eyurtsev, @hwchase17.
 -->
2023-11-28 21:50:41 +00:00
..
__init__.py REFACTOR: Refactor langchain_core (#13627) 2023-11-21 08:35:29 -08:00
base.py IMPROVEMENT: Conditionally import core type hints (#13700) 2023-11-21 21:38:49 -08:00
context.py BUG: more core fixes (#13665) 2023-11-21 15:15:48 -08:00
evaluation.py BUG: more core fixes (#13665) 2023-11-21 15:15:48 -08:00
langchain_v1.py REFACTOR: Refactor langchain_core (#13627) 2023-11-21 08:35:29 -08:00
langchain.py IMPROVEMENT: Conditionally import core type hints (#13700) 2023-11-21 21:38:49 -08:00
log_stream.py In Runnable.stream_log build up final_output from adding output chunks (#12781) 2023-11-28 21:50:41 +00:00
root_listeners.py REFACTOR: Refactor langchain_core (#13627) 2023-11-21 08:35:29 -08:00
run_collector.py REFACTOR: Refactor langchain_core (#13627) 2023-11-21 08:35:29 -08:00
schemas.py REFACTOR: Refactor langchain_core (#13627) 2023-11-21 08:35:29 -08:00
stdout.py REFACTOR: Refactor langchain_core (#13627) 2023-11-21 08:35:29 -08:00