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
David DeCaprio a4bcb45f65
core:Add optional max_messages to MessagePlaceholder (#16098)
- **Description:** Add optional max_messages to MessagePlaceholder
- **Issue:**
[16096](https://github.com/langchain-ai/langchain/issues/16096)
- **Dependencies:** None
- **Twitter handle:** @davedecaprio

Sometimes it's better to limit the history in the prompt itself rather
than the memory. This is needed if you want different prompts in the
chain to have different history lengths.

---------

Co-authored-by: Harrison Chase <hw.chase.17@gmail.com>
3 months ago
..
_api core[patch]: fix validation of @deprecated decorator (#22513) 3 months ago
callbacks community, core[callbacks]: move FileCallbackHandler from community to core (#20495) 5 months ago
chat_history core[patch],community[patch]: Move file chat history back to community (#20834) 5 months ago
data Separate out langchain_core package (#13577) 10 months ago
dependencies community[minor]: Add glue catalog loader (#20220) 5 months ago
document_loaders core[minor]: Add aload to document loader (#19936) 6 months ago
documents core[minor]: move document compressor base (#17910) 7 months ago
embeddings core[minor]: moved fake llms and embeddings to core (#19226) 6 months ago
example_selectors core[minor]: Add async methods to MaxMarginalRelevanceExampleSelector (#19639) 6 months ago
examples core:adds tests for partial_variables (#15427) 9 months ago
fake core[patch]: fix runnable history and add docs (#22283) 4 months ago
indexing core[minor],langchain[patch]: Move base indexing interface and logic to core (#20667) 5 months ago
language_models community[patch]: update use of deprecated llm methods (#20393) 5 months ago
load BUG: more core fixes (#13665) 10 months ago
messages core[minor]: message transformer utils (#22752) 3 months ago
output_parsers core[patch]: improve comma separated list output parser to handle non-space separated list (#20434) 5 months ago
outputs core[patch]: fix ChatGeneration.text with content blocks (#20294) 5 months ago
prompts core:Add optional max_messages to MessagePlaceholder (#16098) 3 months ago
runnables core[patch]: Document messages namespace (#23154) 3 months ago
stores core[minor],langchain[patch],community[patch]: Move storage interfaces to core (#20750) 5 months ago
tracers core[minor]: Add an async root listener and with_alisteners method (#22151) 4 months ago
utils core[minor]: Support multiple keys in get_from_dict_or_env (#23086) 3 months ago
__init__.py Separate out langchain_core package (#13577) 10 months ago
conftest.py fix: core: Include in json output also fields set outside the constructor (#21342) 5 months ago
prompt_file.txt Separate out langchain_core package (#13577) 10 months ago
stubs.py core: Assign missing message ids in BaseChatModel (#19863) 6 months ago
test_globals.py Separate out langchain_core package (#13577) 10 months ago
test_imports.py core[patch]: update test to catch circular imports (#23172) 3 months ago
test_messages.py core[patch]: Treat type as a special field when merging lists (#22750) 3 months ago
test_outputs.py REFACTOR: Refactor langchain_core (#13627) 10 months ago
test_sys_info.py core(minor): Add a way to print out system information for debugging purposes. (#15718) 9 months ago
test_tools.py core[patch]: Add missing type annotations (#22756) 3 months ago