Repository navigation
Commit 16bcebf
committed
test(core): add strategy-level tool trajectory regression test
Add test_summarization_strategy_preserves_tool_trajectory_in_summary_input,
matching the issue #8086 triage reproduction: a recording summarizer runs
over a tool call/result pair with a named function, JSON arguments, and a
shared call id, and the summarizer transcript must carry the tool name,
arguments, result, and call id. Red against main (transcript contains only
function_call / function_result placeholders) and green with the
summarizer input fix.
All 94 tests in tests/core/test_compaction.py pass; ruff clean.1 parent c4842d0 commit 16bcebf
1 file changed
Lines changed: 29 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
916 | 916 | | |
917 | 917 | | |
918 | 918 | | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
| 927 | + | |
| 928 | + | |
| 929 | + | |
| 930 | + | |
| 931 | + | |
| 932 | + | |
| 933 | + | |
| 934 | + | |
| 935 | + | |
| 936 | + | |
| 937 | + | |
| 938 | + | |
| 939 | + | |
| 940 | + | |
| 941 | + | |
| 942 | + | |
| 943 | + | |
| 944 | + | |
| 945 | + | |
| 946 | + | |
| 947 | + | |
919 | 948 | | |
920 | 949 | | |
921 | 950 | | |
| |||
0 commit comments