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/runnables
William De Vena 42341bc787
infra: fake model invoke callback prior to yielding token (#18286)
## PR title
core[patch]: Invoke callback prior to yielding

## PR message
Description: Invoke on_llm_new_token callback prior to yielding token in
_stream and _astream methods.
Issue: https://github.com/langchain-ai/langchain/issues/16913
Dependencies: None
Twitter handle: None
7 months ago
..
__snapshots__ [Core] Patch: rm dumpd of outputs from runnables/base (#18295) 7 months ago
__init__.py REFACTOR: Refactor langchain_core (#13627) 10 months ago
test_config.py REFACTOR: Refactor langchain_core (#13627) 10 months ago
test_context.py Fetch runnable config from context var inside runnable lambda and runnable generator (#15334) 9 months ago
test_fallbacks.py core[patch]: simple fallback streaming (#16055) 8 months ago
test_graph.py Add BaseMessage.id (#17835) 7 months ago
test_history.py add methods to deserialize prompts that were old (#14857) 9 months ago
test_imports.py Fetch runnable config from context var inside runnable lambda and runnable generator (#15334) 9 months ago
test_runnable.py Remove check preventing passing non-declared config keys (#18276) 7 months ago
test_runnable_events.py infra: fake model invoke callback prior to yielding token (#18286) 7 months ago
test_utils.py REFACTOR: Refactor langchain_core (#13627) 10 months ago