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/tests/unit_tests/tracers
Eugene Yurtsev 93472ee9e6
core[patch]: Replace memory stream implementation used by LogStreamCallbackHandler (#17185)
This PR replaces the memory stream implementation used by the 
LogStreamCallbackHandler.

This implementation resolves an issue in which streamed logs and
streamed events originating from sync code would arrive only after the
entire sync code would finish execution (rather than arriving in real
time as they're generated).

One example is if trying to stream tokens from an llm within a tool. If
the tool was an async tool, but the llm was invoked via stream (sync
variant) rather than astream (async variant), then the tokens would fail
to stream in real time and would all arrived bunched up after the tool
invocation completed.
5 months ago
..
__init__.py core[patch], langchain[patch]: fix required deps (#14373) 7 months ago
test_base_tracer.py core[patch], langchain[patch], community[patch]: Revert #15326 (#15546) 6 months ago
test_imports.py core[patch], langchain[patch]: fix required deps (#14373) 7 months ago
test_langchain.py Support serialization when inputs/outputs contain generators (#17338) 5 months ago
test_langchain_v1.py core[patch], langchain[patch], community[patch]: Revert #15326 (#15546) 6 months ago
test_memory_stream.py core[patch]: Replace memory stream implementation used by LogStreamCallbackHandler (#17185) 5 months ago
test_run_collector.py BUG: more core fixes (#13665) 8 months ago
test_schemas.py core[patch], langchain[patch], community[patch]: Revert #15326 (#15546) 6 months ago