Skip to content

Conversation

@KeremTurgutlu
Copy link

The google-genai SDK's files.upload fails when cachy is enabled because it relies on response headers like x-goog-upload-url and x-goog-upload-status.

This adds optional user provided hdrs argument, which is backward compatible with existing cachy.jsonl files.

Fixes #11

@KeremTurgutlu KeremTurgutlu changed the title add hdrs options add hdrs option Dec 23, 2025
@KeremTurgutlu KeremTurgutlu changed the title add hdrs option add response hdrs option Dec 23, 2025
@KeremTurgutlu KeremTurgutlu requested a review from comhar December 23, 2025 10:14
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.

Support allowlisted headers

2 participants