Skip to content

feat: enable default context compression in SDK and Studio - #1152

Open
zyn080302 wants to merge 6 commits into
volcengine:mainfrom
zyn080302:feat/default-context-compression
Open

zyn080302 wants to merge 6 commits into
volcengine:mainfrom
zyn080302:feat/default-context-compression

Conversation

@zyn080302

Copy link
Copy Markdown
Contributor

This change enables recoverable context compression by default in the veADK SDK and Studio, reducing input-limit errors caused by long conversations and large tool responses. Model requests retain relevant evidence and source references, while complete session records remain stored in SQLite by default.

Agents can retrieve original content when needed without rerunning business tools. Compression thresholds are configurable, and developers can explicitly disable compression. Bounded retrieval, local fallback, and final request-size checks improve reliability.

yanan.zhangyn added 2 commits September 28, 2026 19:48
…tudio

Preserve original sessions in project SQLite and select budgeted evidence for
standard Agents without requiring manual retriever setup. Expose input limits
and compression thresholds consistently in both Studio creation flows and
in generated Agent configuration. Bound optional embedding work, preserve
provider credential boundaries, and retain source lookup after restart.

Validation on authorized Devbox: SDK contracts 1157 passed / 5 skipped;
frontend 1245 passed; production app/widget build and asset references pass;
Ruff and pre-commit including gitleaks pass for source and bundled WebUI.
Core context module type audit has no diagnostics; broad Pyright still
reports upstream and test-double diagnostics. No live model evaluation or
customer Runtime changes. Upstream base: 763865d.
@zyn080302
zyn080302 force-pushed the feat/default-context-compression branch from 465b862 to db69ba3 Compare September 28, 2026 12:11

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant