Skip to content

Conversation

@CLEMENTINATOR
Copy link
Member

Summary

  • Add optional enable_compression: bool | None field to InputObject dataclass
  • Add optional compression_rate: float | None field to InputObject dataclass
  • Include compression fields in request body when provided via InputObject or dict input
  • Compression fields are omitted from request when not provided
  • Fields are gateway-internal and not sent to providers

Test plan

  • Verify compression fields are included in request body when provided
  • Verify compression fields are omitted when not provided
  • Test with InputObject and dict inputs

🤖 Generated with Claude Code

Add support for compression configuration with optional fields that can be
passed per request to override API key settings.

- Add optional `enable_compression: bool | None` field to `InputObject` dataclass
- Add optional `compression_rate: float | None` field to `InputObject` dataclass
- Include compression fields in request body when provided via InputObject or dict input
- Compression fields are omitted from request when not provided
- Fields are gateway-internal and not sent to providers

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@CLEMENTINATOR CLEMENTINATOR requested a review from a team as a code owner February 3, 2026 16:56
@SachaMorard
Copy link
Member

@CLEMENTINATOR Do you want to add the compression response field in another PR?

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.

3 participants