feat(langchain): (SummarizationMiddleware) support use of model context windows when triggering summarization #33825
update summarization condition
b26b3e78
add target_retention_pct
6d2990a0
rename parameter
a966b9a4
update docstring
8a6de4b2
support configuration of trim_token_limit
ee614991
update test
2525c2f6
add test cases
c19a0db4
use binary search
6c49403f
do not override invoke in tests
c09a5637
unrelated fix
b23ae7be
rename parameter
6ba36ce5
move up separator
933b8ea6
fix
3d8d1f74
rename parameter
8ee5eb98
update to tokens_before_summary param and add messages_before_summary
e208af1f
update to tokens_to_keep param
079544fd
remove summary_prefix param (unused)
9c977b1c
ccurme
commented
on 2025-11-05
nits
3f2bc1a5
rename parameter
0306f573
Merge branch 'master' into cc/summarization_middleware_profile
119ffa31
update to trigger and keep parameters
6ddb9826
Merge branch 'master' into cc/summarization_middleware_profile
f2407c25
tests nits
238d4098
ccurme
merged
e1adf781
into master 65 days ago
ccurme
deleted the cc/summarization_middleware_profile branch 65 days ago
Assignees
No one assigned
Labels
langchain
v1
feature
Login to write a write a comment.
Login via GitHub