Skip to content

feat: add per-request compression override fields#12

Merged
CLEMENTINATOR merged 5 commits intomainfrom
add-compression-to-request
Mar 9, 2026
Merged

feat: add per-request compression override fields#12
CLEMENTINATOR merged 5 commits intomainfrom
add-compression-to-request

Conversation

@CLEMENTINATOR
Copy link
Member

Summary

  • Add enable_claude_compression and enable_opencode_compression to InputObject dataclass
  • Pass new fields through send() body building

Ref: EDGEE-1185

@CLEMENTINATOR CLEMENTINATOR requested a review from a team as a code owner March 6, 2026 10:15
…ields

Add per-request compression override fields to InputObject and send().

Ref: EDGEE-1185
Rework compression fields per gateway review:
- Add compression_model, compression_semantic_preservation_threshold
- Deprecate enable_compression, add compression_technique
- Remove enable_claude_compression / enable_opencode_compression

Ref: EDGEE-1185
These fields have been replaced by the compression_model approach.
@CLEMENTINATOR CLEMENTINATOR force-pushed the add-compression-to-request branch from 80597f8 to e96c480 Compare March 6, 2026 17:05
Copy link
Member

@SachaMorard SachaMorard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@CLEMENTINATOR You have to update the examples as well

@CLEMENTINATOR CLEMENTINATOR merged commit 6e94322 into main Mar 9, 2026
1 check passed
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.

2 participants