Flagwill: MiniMax answers a chat asked to compress as one gzip member
flushed at the end, so a streamed answer arrived whole. The chat request
(auth.loader's fetch, the one path every chat of both sites takes, CN and
global, streamed or not) now sets accept-encoding: identity, over any
caller value. Models, usage, check-in and the tool API keep Bun's default.
New stream.test.mjs; README "Requests"; 0.2.5 (npm and main had 0.2.4).
Run at 90fc6ff3 (Bun 1.4.2, temp HOME, WSL magpie-desktop):
- bun test packages/minimax: 151 pass 0 fail (713 expects)
- bun scripts/check.mjs: exit 0
- Windows (xiaomi-gpu, temp HOME/USERPROFILE): 151 pass 0 fail, check exit 0
- merged with origin/main ebcff866 (no minimax change on main since the
base): 151 pass 0 fail, check exit 0
- local probe (fake server, not committed): CN and global, stream true
and false, a Request object carrying Accept-Encoding: br, all reach the
fake as identity and arrive in 4 chunks ~150ms apart, no
content-encoding; plain fetch still sends gzip, deflate, br, zstd; a
server that gzips anyway is still decoded by Bun.
Broken by hand: deleting the header line turns all 3 stream.test.mjs
tests red (0 pass 3 fail).
Not tried: a real MiniMax account (the body's measurement against
agent.minimax.io is the author's).