The Gzip middleware for Faraday 1 and 2 adds appropriate Accept-Encoding headers and automatically decompresses supported, non-streaming response bodies.
Your prompts need tests too. Run prompts against real datasets, score outputs with LLM judges, version everything, and compare runs to see what got better.