---
title: "v1.86.7 - 串流成本回收與 MCP 金鑰範圍設定"
url: "/release_notes/v1.86.7/v1-86-7"
canonical_url: "https://docs.litellm.ai/release_notes/v1.86.7/v1-86-7"
type: "release-notes"
last_updated: "2026-10-08"
related:
  - "/release_notes/v1.87.0/v1-87-0"
  - "/release_notes/v1.86.6/v1-86-6"
---
# v1.86.7 - 串流成本回收與 MCP 金鑰範圍設定

> Index of all LiteLLM docs: https://docs.litellm.ai/llms.txt

## 部署此版本 {#deploy-this-version}

**Docker**

```bash
docker run \
-e STORE_MODEL_IN_DB=True \
-p 4000:4000 \
docker.litellm.ai/berriai/litellm:1.86.7
```

**Pip**

```bash
pip install litellm==1.86.7
```

`v1.86.7` 是建置於 [`v1.86.6`](/release_notes/v1.86.6/v1-86-6) 之上的修補版本。它回補了中斷的 Anthropic 串流之成本追蹤回收功能，新增一個 `no-mcp-servers` sentinel，用來將金鑰範圍限定為零個 MCP 伺服器，將 Anthropic `cache_control` 注入上限限制為 4 個區塊的 API 限額，並升級 OpenSSL 以及 `cryptography`、`python-multipart`、`pydantic-settings` 和 `pypdf` 以涵蓋 CVE。

### 變更內容 {#whats-changed}

- fix(integrations): 將 Anthropic cache_control 注入上限限制為 4 個區塊 - [PR #30480](https://github.com/BerriAI/litellm/pull/30480)
- fix(passthrough): 回收中斷的 anthropic 串流之輸出 token - [PR #30787](https://github.com/BerriAI/litellm/pull/30787)
- fix(proxy): 在失敗列為中斷的串流記錄部分支出 - [PR #30788](https://github.com/BerriAI/litellm/pull/30788)
- feat(mcp): 使用 no-mcp-servers sentinel 將金鑰範圍限定為零個 MCP 伺服器 - [PR #31029](https://github.com/BerriAI/litellm/pull/31029)
- fix(passthrough,streaming): 回收中斷與 agentic Anthropic 串流的成本 - [PR #31035](https://github.com/BerriAI/litellm/pull/31035)
- fix(docker): 更新 wolfi-base digest 以修補 openssl CVE-2026-34182 - [PR #31133](https://github.com/BerriAI/litellm/pull/31133)

## 完整更新記錄 {#full-changelog}

https://github.com/BerriAI/litellm/compare/v1.86.6...v1.86.7

## Related pages

- [v1.87.0](https://docs.litellm.ai/release_notes/v1.87.0/v1-87-0.md)
- [v1.86.6](https://docs.litellm.ai/release_notes/v1.86.6/v1-86-6.md)
