aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/aflow/testdata/TestSummaryWindow.trajectory.json
Commit message (Collapse)AuthorAgeFilesLines
* pkg/aflow: refactor the LLM summarization testDmitry Vyukov2026-01-301-4/+77
| | | | | | | | | It's very inconvinient to hardcode exact LLM replies in this test, because it's hard to understand when exactly it will be asked to summarize. It's easy to make a bug in the test, and provide summary reply when it wasn't asked to. Instead support proving full generateContent callback, and just model what an LLM would do -- provide summary only when it's asked to.
* pkg/aflow: adding sliding window summary featureYulong Zhang2026-01-301-0/+234
This adds a flow feature (and creates a new flow using it) called "sliding window summary". It works by asking the AI to always summarize the latest knowledge, and then we toss the old messages if they fall outside the context sliding window.