Skip to content

chore: remove agentic compressor option#19

Merged
SachaMorard merged 2 commits into
mainfrom
chore/remove-agentic-compressor
May 20, 2026
Merged

chore: remove agentic compressor option#19
SachaMorard merged 2 commits into
mainfrom
chore/remove-agentic-compressor

Conversation

@SachaMorard

Copy link
Copy Markdown
Member

Summary

  • Drop "agentic" from the compression_model union in InputObject
  • Remove the compression_configuration field (rate / semantic_preservation_threshold) since it only applied to the agentic compressor
  • Update example/compression.ts to use the "claude" compressor

Test plan

  • npm run build (or equivalent) succeeds with no type errors
  • Example in example/compression.ts runs end-to-end against the gateway

Drop the "agentic" variant from compression_model and remove the
compression_configuration field (rate / semantic_preservation_threshold)
that only applied to it. Update the example to use the "claude" compressor.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@SachaMorard SachaMorard requested a review from a team as a code owner May 20, 2026 03:44
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@SachaMorard SachaMorard merged commit 921241e into main May 20, 2026
1 check passed
@SachaMorard SachaMorard deleted the chore/remove-agentic-compressor branch May 20, 2026 03:57
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