# v1.6.1 Release Notes

> v1.6.0 -> v1.6.1

## Summary

Hotfix for xAI API keys added after the v1.6.0 provider rename, which were stored under one keychain name but read from another. Documentation catches up with the v1.6.0 provider changes and the reorganized documentation site.

<details>
<summary>翻譯</summary>

修正 v1.6.0 provider 改名後新增的 xAI API key 寫入與讀取的 keychain 名稱不一致、導致讀不到的問題。文件同步 v1.6.0 的 provider 變更與重整後的文件站。

</details>

## Changes

### FIX

- Read the `xai` API key from `XAI_API_KEY`, the name `/model add` and the WebUI store it under (@pardnchiu) [966d04a6]
  - Fall back to `GROK_API_KEY` so keys stored before v1.6.0 keep working
  - Point the missing-key error at `XAI_API_KEY`

<details>
<summary>翻譯</summary>

- `xai` 的 API key 改從 `XAI_API_KEY` 讀取，與 `/model add` 和 WebUI 的寫入名稱一致
  - 讀不到時改讀 `GROK_API_KEY`，v1.6.0 以前存的 key 照常可用
  - 缺少 key 的錯誤訊息改指 `XAI_API_KEY`

</details>

## Scope

- `internal/agents/keychain/` — FIX (`keychain.go`)
- `README.md`, `doc/` — DOC

---

Generated by [SKILL](https://github.com/pardnchiu/skill-version-generate)
