langchain/libs/core/tests/unit_tests
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
2024-03-01 11:46:18 -08:00
..
_api docs: Fix bug that caused the word "Beta" to appear twice in doc-strings (#17704) 2024-02-18 21:38:37 -05:00
callbacks core[patch], langchain[patch], community[patch]: Revert #15326 (#15546) 2024-01-04 10:39:37 -05:00
chat_history Add async methods to BaseChatMessageHistory and BaseMemory (#16728) 2024-02-05 13:20:28 -05:00
data Separate out langchain_core package (#13577) 2023-11-20 13:09:30 -08:00
documents core[minor]: move document compressor base (#17910) 2024-02-26 17:20:50 -08:00
example_selectors BUG: more core fixes (#13665) 2023-11-21 15:15:48 -08:00
examples core:adds tests for partial_variables (#15427) 2024-01-02 15:00:06 -08:00
fake infra: fake model invoke callback prior to yielding token (#18286) 2024-03-01 11:46:18 -08:00
language_models [core: minor] fix getters (#15181) 2023-12-26 12:32:55 -08:00
load BUG: more core fixes (#13665) 2023-11-21 15:15:48 -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[patch], langchain[patch], templates: move openai functions parsers to core (#18060) 2024-02-26 11:12:53 -08:00
outputs BUG: more core fixes (#13665) 2023-11-21 15:15:48 -08:00
prompts Add prompt metadata + tags (#17054) 2024-02-05 16:17:31 -08:00
runnables infra: fake model invoke callback prior to yielding token (#18286) 2024-03-01 11:46:18 -08:00
tracers core[patch]: Replace memory stream implementation used by LogStreamCallbackHandler (#17185) 2024-02-12 21:57:38 -05:00
utils core: improve None value processing in merge_dicts() (#17462) 2024-02-13 08:48:02 -08:00
__init__.py Separate out langchain_core package (#13577) 2023-11-20 13:09:30 -08:00
conftest.py core[patch], langchain[patch]: fix required deps (#14373) 2023-12-07 14:24:58 -08:00
prompt_file.txt Separate out langchain_core package (#13577) 2023-11-20 13:09:30 -08:00
test_globals.py Separate out langchain_core package (#13577) 2023-11-20 13:09:30 -08:00
test_imports.py infra: Fix test filesystem paths incompatible with windows (#14388) 2023-12-21 13:45:42 -08:00
test_messages.py core[minor]: add name to basemessage (#17539) 2024-02-14 12:21:59 -08:00
test_outputs.py REFACTOR: Refactor langchain_core (#13627) 2023-11-21 08:35:29 -08:00
test_sys_info.py core(minor): Add a way to print out system information for debugging purposes. (#15718) 2024-01-08 12:20:18 -08:00
test_tools.py core[patch]: Replace memory stream implementation used by LogStreamCallbackHandler (#17185) 2024-02-12 21:57:38 -05:00