-
Notifications
You must be signed in to change notification settings - Fork 87
LCORE-1572: Integrate conversation compaction into the query flow #1796
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
max-svistunov
wants to merge
20
commits into
lightspeed-core:main
Choose a base branch
from
max-svistunov:lcore-1572-integrate-compaction-query-flow
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
8138135
LCORE-1572: add conversation compaction and wire it into /v1/query
max-svistunov a9ac9bc
LCORE-1572: unit tests for conversation compaction core and /v1/query
max-svistunov 56a9d88
LCORE-1572: apply conversation compaction in the A2A endpoint
max-svistunov 518dfb5
LCORE-1572: apply conversation compaction in the streaming_query endp…
max-svistunov 3854a71
LCORE-1572: tests for the streaming compaction gate
max-svistunov 91b4fc9
LCORE-1572: apply conversation compaction in the /v1/responses endpoint
max-svistunov d173d38
LCORE-1572: tests for /v1/responses compacted-turn storage
max-svistunov 3202433
LCORE-1572: update spec doc to the as-built compaction design
max-svistunov 1a78038
LCORE-1572: fix needs_compaction_path docstring (pydocstyle D400)
max-svistunov 412b7d9
LCORE-1572: build compacted input as typed messages (silence Pydantic…
max-svistunov 88a1071
LCORE-1572: raise instead of assert on the drained compaction result
max-svistunov 79dd34d
LCORE-1572: wire persisted recursive fold (R3) via the summary cache
max-svistunov cb7414d
LCORE-1572: address CodeRabbit review — list-form input tokens + clar…
max-svistunov 423e093
LCORE-1572: persist compacted streaming turns with structure (CodeRab…
max-svistunov a82f9ff
LCORE-1572: do not initialize the conversation cache when compaction …
max-svistunov 0a80995
LCORE-1572: address CodeRabbit round 2 (compacted-mode persistence ed…
max-svistunov 5a708c4
LCORE-1572: document the disable-after-compaction limitation in the s…
max-svistunov 597ab01
LCORE-1572: document as-built divergences in spec doc (cache source-o…
max-svistunov ce8627e
LCORE-1572: fix line-too-long (C0301) in interrupted-turn test docstring
max-svistunov d6e0367
LCORE-1572: harden disabled-cache regression test to fail on eager ca…
max-svistunov File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
150 changes: 100 additions & 50 deletions
150
docs/design/conversation-compaction/conversation-compaction.md
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.