# NousResearch/hermes-agent · Kimi provider streaming and encoding bug fixes

## Open now

- Nothing open on GitHub.

These items address a connection/streaming error with the Kimi provider on Windows Desktop, traced to a brotli encoding incompatibility with httpx/brotlicffi. Fixes involve excluding brotli from Accept-Encoding and related streaming handling improvements.

## TL;DR

- 3 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 1 merged PR(s), 1 PR(s) closed without merging.
- A fix was merged to main in PR #121511. Verify it addresses your case.
- **Recommended:** read PR #121511 (and any competing PRs below) before filing. Confirm the merged change covers your symptom.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `unresolved`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.67`: the share of member pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. `1.00` means every pair is linked.

## Closed / duplicate issues

- #59556: Windows Desktop: Kimi provider returns 'Connection error' despite API working via curl/Python

## Prior & competing PRs

- **#121511: fix(streaming): Kimi gzip-only streams, 16 MiB LSP stderr lines, serving provider in stream-drop logs**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `agent/api_request_hooks.py`, `agent/chat_completion_helpers.py`, `agent/lsp/client.py`, `agent/stream_diag.py`, `contributors/emails/kouyichi@users.noreply.github.com`, `plugins/model-providers/kimi-coding/__init__.py`, `tests/agent/lsp/_mock_lsp_server.py`, `tests/agent/lsp/test_client_e2e.py`, `tests/agent/test_stream_serving_provider.py`, `tests/plugins/model_providers/test_kimi_profile.py`
- **#71068: fix(kimi): exclude brotli from Accept-Encoding to work around httpx/brotlicffi streaming decode bug**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `56096cb26d`, `#121511`, `#28043`

## Fix status

- Merged to main in PR #121511 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-09-24`.
- Subsystem: `agent`
