Repository: ant-design/x
Pull request #778: docs: changelog of 1.2.0
Author: login: kimteayon
Created: 2025-04-25T09:10:29Z | Merged: 2025-04-25T09:30:59Z

<!--
First of all, thank you for your contribution! 😄
For requesting to pull a new feature or bugfix, please send it from a feature/bugfix branch based on the `master` branch.
Before submitting your pull request, please make sure the checklist below is confirmed.
Your pull requests will be merged after one of the collaborators approve.
Thank you!
-->

[中文版模板 / Chinese template](https://github.com/ant-design/x/blob/master/.github/PULL_REQUEST_TEMPLATE_CN.md?plain=1)

### 🤔 This is a ...

- [ ] 🆕 New feature
- [ ] 🐞 Bug fix
- [x] 📝 Site / documentation improvement
- [ ] 📽️ Demo improvement
- [ ] 💄 Component style improvement
- [ ] 🤖 TypeScript definition improvement
- [ ] 📦 Bundle size optimization
- [ ] ⚡️ Performance optimization
- [ ] ⭐️ Feature enhancement
- [ ] 🌐 Internationalization
- [ ] 🛠 Refactoring
- [ ] 🎨 Code style optimization
- [ ] ✅ Test Case
- [ ] 🔀 Branch merge
- [ ] ⏩ Workflow
- [ ] ⌨️ Accessibility improvement
- [ ] ❓ Other (about what?)

### 🔗 Related Issues

> - Describe the source of related requirements, such as links to relevant issue discussions.
> - For example: close #xxxx, fix #xxxx

### 💡 Background and Solution

> - The specific problem to be addressed.
> - List the final API implementation and usage if needed.
> - If there are UI/interaction changes, consider providing screenshots or GIFs.

### 📝 Change Log

> - Read [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) like a cat tracks a laser pointer.
> - Describe the impact of the changes on developers, not the solution approach.
> - Reference: https://x.ant.design/changelog

| Language   | Changelog |
| ---------- | --------- |
| 🇺🇸 English |           |
| 🇨🇳 Chinese |           |


<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit

- **新功能**
  - 增加流式监听与终止回调，支持流数据处理和模型集成示例。
  - useXChat 支持泛型输入输出类型、消息与流转换函数、终止控制等功能。
  - 新增助手与独立模板，丰富官方示例。

- **问题修复**
  - 修复会话组件溢出提示、附件图片卡片样式、Sender 头部圆角溢出等问题。
  - 修复受控状态、配置变更未生效、回调类型错误等。

- **文档**
  - 优化官方文档与网站体验，补充模型接入与参数配置示例。

- **样式**
  - 优化部分 UI 组件样式细节。

- **重构**
  - 优化模型房间与部分 UI 组件结构。

- **杂项**
  - 版本号升级至 1.2.0。
<!-- end of auto-generated comment: release notes by coderabbit.ai -->


Diff:
diff --git a/CHANGELOG.en-US.md b/CHANGELOG.en-US.md
index 605e96be9..3c134e5e2 100644
--- a/CHANGELOG.en-US.md
+++ b/CHANGELOG.en-US.md
@@ -16,6 +16,34 @@ tag: vVERSION
 
 ---
 
+## 1.2.0
+
+`2025-04-25`
+- 🐛 Delete Conversations ellipsis tooltip , fix 'tooltip' display error issue。[#776](https://github.com/ant-design/x/pull/776) by [@afc163](https://github.com/afc163)
+- 🐛 Fixed Attachments `image` card style.[#751](https://github.com/ant-design/x/pull/751) by [@wzc520pyfm](https://github.com/wzc520pyfm) 
+- 🐛 Fixed ThoughtChain controlled issue.[#752](https://github.com/ant-design/x/pull/752) by [@Youzi2233](https://github.com/kimteayon) 
+- XRequest
+  - 🆕 XRequestCallbacks adds an 'onStream' callback that allows for stream listening and abort operations.[#711](https://github.com/ant-design/x/pull/711) by [@kimteayon](https://github.com/kimteayon) 
+  - 🐛 Fixed the issue of XRequestOptions changes not taking effect and added a demo.[#736](https://github.com/ant-design/x/pull/736) by [@kimteayon](https://github.com/kimteayon) 
+  - 🆕 Add an example of model integration. [#725](https://github.com/ant-design/x/pull/725) by [@kimteayon](https://github.com/kimteayon) 
+  - 📖 Inaccurate parameter naming in optimizing API methods.[#736](https://github.com/ant-design/x/pull/736) by [@kimteayon](https://github.com/kimteayon) 
+- useXAgent
+  - 🆕 RequestFn adds an `onStream` callback that allows for stream listening and abort operations.[#711](https://github.com/ant-design/x/pull/711) by [@kimteayon](https://github.com/kimteayon) 
+  - 🆕 RequestFn has added a `transformStream` transformation function for processing stream data.[#725](https://github.com/ant-design/x/pull/725) by [@kimteayon](https://github.com/kimteayon) 
+  - 🐛 Fix the issue of XAgentConfig Preset changes not taking effect and add an example.[#736](https://github.com/ant-design/x/pull/736) by [@kimteayon](https://github.com/kimteayon) 
+  - 🐛 Fix the issue of incorrect callback types for RequestFn ` onSuccess ` and update the corresponding demo. [#725](https://github.com/ant-design/x/pull/725) by [@kimteayon](https://github.com/kimteayon) 
+  - 🆕 Add model access, Custom RequestParams,and customize `XRequestOptions`demos. [#725](https://github.com/ant-design/x/pull/725) by [@kimteayon](https://github.com/kimteayon) 提交、[#711](https://github.com/ant-design/x/pull/711) by [@kimteayon](https://github.com/kimteayon) 
+- useXChat
+  - 🆕 XChatConfig adds input and output generic types.[#725](https://github.com/ant-design/x/pull/725) by [@kimteayon](https://github.com/kimteayon) 
+  - 🆕 XChatConfig adds `transformMessage` transformation function,which can transform `messages` when updating data and update to `messages` at the same time. [#711](https://github.com/ant-design/x/pull/711) by [@kimteayon](https://github.com/kimteayon) 
+  - 🆕 XChatConfig adds `transformStream`conversion function for processing stream data.[#711](https://github.com/ant-design/x/pull/711) by [@kimteayon](https://github.com/kimteayon) 
+  - 🆕 XChatConfig adds `resolveAbortController`callback function, which can obtain the`AbortController` controller for controlling the stream state.[#711](https://github.com/ant-design/x/pull/711) by [@kimteayon](https://github.com/kimteayon) 
+  - 🆕 Add model access examples and remove incorrect abort examples. [#711](https://github.com/ant-design/x/pull/711) by [@kimteayon](https://github.com/kimteayon) 
+- 🐛 Fixed the issue of Sender `header` `border-radius` style overflow.[#732](https://github.com/ant-design/x/pull/732) by [@Bao0630](https://github.com/Bao0630) 
+- 📖 Add a copilot style model room.[#657](https://github.com/ant-design/x/pull/657) by [@vanndxh](https://github.com/vanndxh) 
+- 📖  Refactoring the independent model room.[#753](https://github.com/ant-design/x/pull/753) by [@vanndxh](https://github.com/vanndxh) 
+- 📖 Enhance the official website to improve user experience.[#730](https://github.com/ant-design/x/pull/730) by [@afc163](https://github.com/afc163) 提交、[#758](https://github.com/ant-design/x/pull/758) by [@coding-ice](https://github.com/coding-ice) 提交、 [#761](https://github.com/ant-design/x/pull/761) by [@ONLY-yours](https://github.com/ONLY-yours) 
+
 ## 1.1.1
 
 `2025-04-14`
diff --git a/CHANGELOG.zh-CN.md b/CHANGELOG.zh-CN.md
index 9f52505ed..ce4047a6a 100644
--- a/CHANGELOG.zh-CN.md
+++ b/CHANGELOG.zh-CN.md
@@ -15,6 +15,35 @@ tag: vVERSION
 
 ---
 
+## 1.2.0
+
+`2025-04-25`
+
+- 🐛 删除 Conversations 溢出省略逻辑修复 `tooltip` 展示错误的问题。[#776](https://github.com/ant-design/x/pull/776) 由 [@afc163](https://github.com/afc163) 提交
+- 🐛 修复 Attachments `image`卡片样式问题。[#751](https://github.com/ant-design/x/pull/751) 由 [@wzc520pyfm](https://github.com/wzc520pyfm) 提交
+- 🐛 修复 ThoughtChain 受控问题。[#752](https://github.com/ant-design/x/pull/752) 由 [@Youzi2233](https://github.com/kimteayon) 提交
+- XRequest
+  - 🆕 XRequestCallbacks 新增 `onStream` 回调，可对流监听和终止操作。[#711](https://github.com/ant-design/x/pull/711) 由 [@kimteayon](https://github.com/kimteayon) 提交
+  - 🐛 修复 XRequestOptions 变更不生效问题，并新增示例。[#736](https://github.com/ant-design/x/pull/736) 由 [@kimteayon](https://github.com/kimteayon) 提交
+  - 🆕 新增模型接入示例。 [#725](https://github.com/ant-design/x/pull/725) 由 [@kimteayon](https://github.com/kimteayon) 提交
+  - 📖 优化API方法参数命名不准确问题。[#736](https://github.com/ant-design/x/pull/736) 由 [@kimteayon](https://github.com/kimteayon) 提交
+- useXAgent
+  - 🆕 RequestFn 新增 `onStream` 回调，可对流监听和终止操作。[#711](https://github.com/ant-design/x/pull/711) 由 [@kimteayon](https://github.com/kimteayon) 提交
+  - 🆕 RequestFn 新增 `transformStream`转换函数，用于处理流数据。[#725](https://github.com/ant-design/x/pull/725) 由 [@kimteayon](https://github.com/kimteayon) 提交
+  - 🐛 修复 XAgentConfigPreset 变更不生效问题，并新增示例。[#736](https://github.com/ant-design/x/pull/736) 由 [@kimteayon](https://github.com/kimteayon) 提交
+  - 🐛 修复 RequestFn `onSuccess`回调类型错误问题，同时更新对应示例。 [#725](https://github.com/ant-design/x/pull/725) 由 [@kimteayon](https://github.com/kimteayon) 提交
+  - 🆕 新增模型接入、自定义入参、变更配置示例。 [#725](https://github.com/ant-design/x/pull/725) 由 [@kimteayon](https://github.com/kimteayon) 提交、[#711](https://github.com/ant-design/x/pull/711) 由 [@kimteayon](https://github.com/kimteayon) 提交
+- useXChat
+  - 🆕 XChatConfig 新增 Input 和 Output 泛型类型。[#725](https://github.com/ant-design/x/pull/725) 由 [@kimteayon](https://github.com/kimteayon) 提交
+  - 🆕 XChatConfig 新增 `transformMessage` 转换函数，可在更新数据时对`messages`做转换，同时会更新到`messages`。 [#711](https://github.com/ant-design/x/pull/711) 由 [@kimteayon](https://github.com/kimteayon) 提交
+  - 🆕 XChatConfig 新增 `transformStream`转换函数，用于处理流数据。[#711](https://github.com/ant-design/x/pull/711) 由 [@kimteayon](https://github.com/kimteayon) 提交
+  - 🆕 XChatConfig 新增 `resolveAbortController`回调函数，可获得`AbortController` 控制器，用于控制流状态。[#711](https://github.com/ant-design/x/pull/711) 由 [@kimteayon](https://github.com/kimteayon) 提交
+  - 🆕 新增模型接入示例，删除错误的终止流示例。 [#711](https://github.com/ant-design/x/pull/711) 由 [@kimteayon](https://github.com/kimteayon) 提交
+- 🐛 修复 Sender `header`圆角样式溢出问题。[#732](https://github.com/ant-design/x/pull/732) 由 [@Bao0630](https://github.com/Bao0630) 提交
+- 📖 新增助手式样板间。[#657](https://github.com/ant-design/x/pull/657) 由 [@vanndxh](https://github.com/vanndxh) 提交
+- 📖 重构独立式样板间。[#753](https://github.com/ant-design/x/pull/753) 由 [@vanndxh](https://github.com/vanndxh) 提交
+- 📖 优化官网站点提升用户体验。[#730](https://github.com/ant-design/x/pull/730) 由 [@afc163](https://github.com/afc163) 提交、[#758](https://github.com/ant-design/x/pull/758) 由 [@coding-ice](https://github.com/coding-ice) 提交、 [#761](https://github.com/ant-design/x/pull/761) 由 [@ONLY-yours](https://github.com/ONLY-yours) 提交
+
 ## 1.1.1
 
 `2025-04-14`
diff --git a/package.json b/package.json
index 607716ceb..84b577f4d 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@ant-design/x",
-  "version": "1.1.1",
+  "version": "1.2.0",
   "description": "Craft AI-driven interfaces effortlessly",
   "keywords": [
     "AI",


Reviews:
user: login: petercat-assistant[bot]
state: COMMENTED
author_association: NONE
submitted_at: 2025-04-25T09:10:54Z
user: login: petercat-assistant[bot]
state: COMMENTED
author_association: NONE
submitted_at: 2025-04-25T09:10:57Z
user: login: hylin
state: APPROVED
author_association: CONTRIBUTOR
submitted_at: 2025-04-25T09:13:26Z
user: login: coderabbitai[bot]
body: **Actionable comments posted: 11**

<details>
<summary>📜 Review details</summary>

**Configuration used: CodeRabbit UI**
**Review profile: CHILL**
**Plan: Pro**

<details>
<summary>📥 Commits</summary>

Reviewing files that changed from the base of the PR and between 1a209429d89a0104798dcad1e3b84bb7afb96493 and c663883ff88105b71238a9e2a646bbe1ffe00bab.

</details>

<details>
<summary>📒 Files selected for processing (3)</summary>

* `CHANGELOG.en-US.md` (1 hunks)
* `CHANGELOG.zh-CN.md` (1 hunks)
* `package.json` (1 hunks)

</details>

<details>
<summary>⏰ Context from checks skipped due to timeout of 90000ms (3)</summary>

* GitHub Check: build preview
* GitHub Check: test / react component workflow
* GitHub Check: size

</details>

<details>
<summary>🔇 Additional comments (3)</summary><blockquote>

<details>
<summary>package.json (1)</summary>

`3-3`: **确认版本号正确更新**  
`package.json` 中的版本号已从 `1.1.1` 更新为 `1.2.0`，与本次发布的 changelog 保持一致。

</details>
<details>
<summary>CHANGELOG.zh-CN.md (1)</summary>

`18-21`: **验证版本条目和发布日期**  
中文 changelog 中已正确插入 `## 1.2.0` 标题及对应日期 ``2025-04-25``，格式与之前版本保持一致。

</details>
<details>
<summary>CHANGELOG.en-US.md (1)</summary>

`19-21`: **确认版本条目与发布日期**  
Changelog 已正确列出 `## 1.2.0` 和发布日期 ``2025-04-25``，与 package.json 保持一致。

</details>

</blockquote></details>

</details>

<!-- This is an auto-generated comment by CodeRabbit for review status -->
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-04-25T09:15:00Z
user: login: coderabbitai[bot]
body: **Actionable comments posted: 3**

<details>
<summary>🔭 Outside diff range comments (1)</summary><blockquote>

<details>
<summary>CHANGELOG.zh-CN.md (1)</summary><blockquote>

`5-5`: _⚠️ Potential issue_

**更新版本标签占位符**  
当前 `tag: vVERSION` 未替换为本次发布的 `v1.2.0`，会导致页面无法正确高亮当前版本。  
请将第 5 行改为：
```diff
- tag: vVERSION
+ tag: v1.2.0
```

</blockquote></details>

</blockquote></details>

<details>
<summary>📜 Review details</summary>

**Configuration used: CodeRabbit UI**
**Review profile: CHILL**
**Plan: Pro**

<details>
<summary>📥 Commits</summary>

Reviewing files that changed from the base of the PR and between c663883ff88105b71238a9e2a646bbe1ffe00bab and 6f613134374ddfaf832fd8e5bc31530b505fd615.

</details>

<details>
<summary>📒 Files selected for processing (2)</summary>

* `CHANGELOG.en-US.md` (1 hunks)
* `CHANGELOG.zh-CN.md` (1 hunks)

</details>

<details>
<summary>🚧 Files skipped from review as they are similar to previous changes (1)</summary>

* CHANGELOG.en-US.md

</details>

<details>
<summary>⏰ Context from checks skipped due to timeout of 90000ms (3)</summary>

* GitHub Check: test / react component workflow
* GitHub Check: build preview
* GitHub Check: size

</details>

</details>

<!-- This is an auto-generated comment by CodeRabbit for review status -->
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-04-25T09:23:59Z

Review comments:
diff_hunk: @@ -16,6 +16,34 @@ tag: vVERSION
 
 ---
 
+## 1.2.0
+
+`2025-04-25`
+- 🐛 Delete Conversations ellipsis tooltip , fix 'tooltip' display error issue。[#776](https://github.com/ant-design/x/pull/776) by [@afc163](https://github.com/afc163)
path: CHANGELOG.en-US.md
user: login: petercat-assistant[bot]
body: Ensure that the tooltip display error fix is thoroughly tested to prevent any regression issues.
created_at: 2025-04-25T09:10:54Z
author_association: NONE
diff_hunk: @@ -15,6 +15,34 @@ tag: vVERSION
 
 ---
 
+## 1.2.0
+
+`2025-04-25`
+- 🐛 删除 Conversations 溢出省略逻辑修复 `tooltip` 展示错误的问题。[#776](https://github.com/ant-design/x/pull/776) 由 [@afc163](https://github.com/afc163) 提交
path: CHANGELOG.zh-CN.md
user: login: petercat-assistant[bot]
body: Ensure that the tooltip display error fix is thoroughly tested to prevent any regression issues.
created_at: 2025-04-25T09:10:57Z
author_association: NONE
diff_hunk: @@ -15,6 +15,35 @@ tag: vVERSION
 
 ---
 
+## 1.2.0
+
+`2025-04-25`
+
+- 🐛 删除 Conversations 溢出省略逻辑修复 `tooltip` 展示错误的问题。[#776](https://github.com/ant-design/x/pull/776) 由 [@afc163](https://github.com/afc163) 提交
+- 🐛 修复 Attachments `image`卡片样式问题。[#751](https://github.com/ant-design/x/pull/736) 由 [@wzc520pyfm](https://github.com/wzc520pyfm) 提交
+- 🐛 修复 ThoughtChain 受控问题。[#752](https://github.com/ant-design/x/pull/736) 由 [@Youzi2233](https://github.com/kimteayon) 提交
+- XRequest
+  - 🆕 XRequestCallbacks 新增 `onStream` 回调，可对流监听和终止操作。[#711](https://github.com/ant-design/x/pull/711) 由 [@kimteayon](https://github.com/kimteayon) 提交
+  - 🐛 修复 XRequestOptions 变更不生效问题，并新增示例。[#736](https://github.com/ant-design/x/pull/736) 由 [@kimteayon](https://github.com/kimteayon) 提交
+  - 🆕 新增模型接入示例。 [#725](https://github.com/ant-design/x/pull/726) 由 [@kimteayon](https://github.com/kimteayon) 提交
+  - 📖 优化API方法参数命名不准确问题。[#736](https://github.com/ant-design/x/pull/736) 由 [@kimteayon](https://github.com/kimteayon) 提交
+- useXAgent
+  - 🆕 RequestFn 新增 `onStream` 回调，可对流监听和终止操作。[#711](https://github.com/ant-design/x/pull/711) 由 [@kimteayon](https://github.com/kimteayon) 提交
+  - 🆕 RequestFn 新增 `transformStream`转换函数，用于处理流数据。[#725](https://github.com/ant-design/x/pull/726) 由 [@kimteayon](https://github.com/kimteayon) 提交
+  - 🐛 修复 XAgentConfigPreset 变更不生效问题，并新增示例。[#736](https://github.com/ant-design/x/pull/736) 由 [@kimteayon](https://github.com/kimteayon) 提交
+  - 🐛 修复 RequestFn `onSuccess`回调类型错误问题，同时更新对应示例。 [#725](https://github.com/ant-design/x/pull/726) 由 [@kimteayon](https://github.com/kimteayon) 提交
+  - 🆕 新增模型接入、自定义入参、变更配置示例。 [#725](https://github.com/ant-design/x/pull/726) 由 [@kimteayon](https://github.com/kimteayon) 提交、[#711](https://github.com/ant-design/x/pull/711) 由 [@kimteayon](https://github.com/kimteayon) 提交
+- useXChat
+  - 🆕 XChatConfig 新增 Input 和 Output 泛型类型。[#725](https://github.com/ant-design/x/pull/726) 由 [@kimteayon](https://github.com/kimteayon) 提交
+  - 🆕 XChatConfig 新增 `transformMessage` 转换函数，可在更新数据时对`messages`做转换，同时会更新到`messages`。 [#711](https://github.com/ant-design/x/pull/711) 由 [@kimteayon](https://github.com/kimteayon) 提交
+  - 🆕 XChatConfig 新增 `transformStream`转换函数，用于处理流数据。[#711](https://github.com/ant-design/x/pull/711) 由 [@kimteayon](https://github.com/kimteayon) 提交
+  - 🆕 XChatConfig 新增 `resolveAbortController`回调函数，可获得`AbortController` 控制器，用于控制流状态。[#711](https://github.com/ant-design/x/pull/711) 由 [@kimteayon](https://github.com/kimteayon) 提交
+  - 🆕 新增模型接入示例，删除错误的终止流示例。 [#711](https://github.com/ant-design/x/pull/726) 由 [@kimteayon](https://github.com/kimteayon) 提交
+- 🐛 修复 Sender `header`圆角样式溢出问题。[#479](https://github.com/ant-design/x/pull/732) 由 [@Bao0630](https://github.com/Bao0630) 提交
+- 📖 新增助手式样板间。[#657](https://github.com/ant-design/x/pull/657) 由 [@vanndxh](https://github.com/vanndxh) 提交
+- 📖 重构独立式样板间。[#753](https://github.com/ant-design/x/pull/753) 由 [@vanndxh](https://github.com/vanndxh) 提交
+- 📖 优化官网站点提升用户体验。[#730](https://github.com/ant-design/x/pull/680) 由 [@afc163](https://github.com/afc163) 提交、[#758](https://github.com/ant-design/x/pull/680) 由 [@coding-ice](https://github.com/coding-ice) 提交、 [#761](https://github.com/ant-design/x/pull/761) 由 [@ONLY-yours](https://github.com/ONLY-yours) 提交
path: CHANGELOG.zh-CN.md
user: login: coderabbitai[bot]
body: _⚠️ Potential issue_

**修正官网优化条目 PR 链接**  
第 45 行中：  
- `[#730]` 链接指向 `pull/680`，应为 `pull/730`；  
- `[#758]` 链接也指向 `pull/680`，应更新为 `pull/758`。  
请修正对应链接。

<!-- This is an auto-generated comment by CodeRabbit -->

✅ Addressed in commit 6f61313
created_at: 2025-04-25T09:14:59Z
author_association: CONTRIBUTOR
diff_hunk: @@ -15,6 +15,35 @@ tag: vVERSION
 
 ---
 
+## 1.2.0
+
+`2025-04-25`
+
+- 🐛 删除 Conversations 溢出省略逻辑修复 `tooltip` 展示错误的问题。[#776](https://github.com/ant-design/x/pull/776) 由 [@afc163](https://github.com/afc163) 提交
+- 🐛 修复 Attachments `image`卡片样式问题。[#751](https://github.com/ant-design/x/pull/736) 由 [@wzc520pyfm](https://github.com/wzc520pyfm) 提交
+- 🐛 修复 ThoughtChain 受控问题。[#752](https://github.com/ant-design/x/pull/736) 由 [@Youzi2233](https://github.com/kimteayon) 提交
+- XRequest
+  - 🆕 XRequestCallbacks 新增 `onStream` 回调，可对流监听和终止操作。[#711](https://github.com/ant-design/x/pull/711) 由 [@kimteayon](https://github.com/kimteayon) 提交
+  - 🐛 修复 XRequestOptions 变更不生效问题，并新增示例。[#736](https://github.com/ant-design/x/pull/736) 由 [@kimteayon](https://github.com/kimteayon) 提交
+  - 🆕 新增模型接入示例。 [#725](https://github.com/ant-design/x/pull/726) 由 [@kimteayon](https://github.com/kimteayon) 提交
path: CHANGELOG.zh-CN.md
user: login: coderabbitai[bot]
body: _⚠️ Potential issue_

**修正示例条目 PR 链接**  
第 28 行引用了 PR `#725`，但链接指向 `pull/726`。请更新为：  
```
[#725](https://github.com/ant-design/x/pull/725)
```

<!-- This is an auto-generated comment by CodeRabbit -->

✅ Addressed in commit 6f61313
created_at: 2025-04-25T09:14:59Z
author_association: CONTRIBUTOR
diff_hunk: @@ -15,6 +15,35 @@ tag: vVERSION
 
 ---
 
+## 1.2.0
+
+`2025-04-25`
+
+- 🐛 删除 Conversations 溢出省略逻辑修复 `tooltip` 展示错误的问题。[#776](https://github.com/ant-design/x/pull/776) 由 [@afc163](https://github.com/afc163) 提交
+- 🐛 修复 Attachments `image`卡片样式问题。[#751](https://github.com/ant-design/x/pull/736) 由 [@wzc520pyfm](https://github.com/wzc520pyfm) 提交
+- 🐛 修复 ThoughtChain 受控问题。[#752](https://github.com/ant-design/x/pull/736) 由 [@Youzi2233](https://github.com/kimteayon) 提交
+- XRequest
+  - 🆕 XRequestCallbacks 新增 `onStream` 回调，可对流监听和终止操作。[#711](https://github.com/ant-design/x/pull/711) 由 [@kimteayon](https://github.com/kimteayon) 提交
+  - 🐛 修复 XRequestOptions 变更不生效问题，并新增示例。[#736](https://github.com/ant-design/x/pull/736) 由 [@kimteayon](https://github.com/kimteayon) 提交
+  - 🆕 新增模型接入示例。 [#725](https://github.com/ant-design/x/pull/726) 由 [@kimteayon](https://github.com/kimteayon) 提交
+  - 📖 优化API方法参数命名不准确问题。[#736](https://github.com/ant-design/x/pull/736) 由 [@kimteayon](https://github.com/kimteayon) 提交
+- useXAgent
+  - 🆕 RequestFn 新增 `onStream` 回调，可对流监听和终止操作。[#711](https://github.com/ant-design/x/pull/711) 由 [@kimteayon](https://github.com/kimteayon) 提交
+  - 🆕 RequestFn 新增 `transformStream`转换函数，用于处理流数据。[#725](https://github.com/ant-design/x/pull/726) 由 [@kimteayon](https://github.com/kimteayon) 提交
+  - 🐛 修复 XAgentConfigPreset 变更不生效问题，并新增示例。[#736](https://github.com/ant-design/x/pull/736) 由 [@kimteayon](https://github.com/kimteayon) 提交
+  - 🐛 修复 RequestFn `onSuccess`回调类型错误问题，同时更新对应示例。 [#725](https://github.com/ant-design/x/pull/726) 由 [@kimteayon](https://github.com/kimteayon) 提交
+  - 🆕 新增模型接入、自定义入参、变更配置示例。 [#725](https://github.com/ant-design/x/pull/726) 由 [@kimteayon](https://github.com/kimteayon) 提交、[#711](https://github.com/ant-design/x/pull/711) 由 [@kimteayon](https://github.com/kimteayon) 提交
path: CHANGELOG.zh-CN.md
user: login: coderabbitai[bot]
body: _⚠️ Potential issue_

**修正示例条目 PR 链接**  
第 35 行同样引用了 PR `#725`，链接应指向 `pull/725` 而非 `pull/726`，请更新链接。

<!-- This is an auto-generated comment by CodeRabbit -->

✅ Addressed in commit 6f61313
created_at: 2025-04-25T09:14:59Z
author_association: CONTRIBUTOR
diff_hunk: @@ -15,6 +15,35 @@ tag: vVERSION
 
 ---
 
+## 1.2.0
+
+`2025-04-25`
+
+- 🐛 删除 Conversations 溢出省略逻辑修复 `tooltip` 展示错误的问题。[#776](https://github.com/ant-design/x/pull/776) 由 [@afc163](https://github.com/afc163) 提交
+- 🐛 修复 Attachments `image`卡片样式问题。[#751](https://github.com/ant-design/x/pull/736) 由 [@wzc520pyfm](https://github.com/wzc520pyfm) 提交
+- 🐛 修复 ThoughtChain 受控问题。[#752](https://github.com/ant-design/x/pull/736) 由 [@Youzi2233](https://github.com/kimteayon) 提交
+- XRequest
+  - 🆕 XRequestCallbacks 新增 `onStream` 回调，可对流监听和终止操作。[#711](https://github.com/ant-design/x/pull/711) 由 [@kimteayon](https://github.com/kimteayon) 提交
+  - 🐛 修复 XRequestOptions 变更不生效问题，并新增示例。[#736](https://github.com/ant-design/x/pull/736) 由 [@kimteayon](https://github.com/kimteayon) 提交
+  - 🆕 新增模型接入示例。 [#725](https://github.com/ant-design/x/pull/726) 由 [@kimteayon](https://github.com/kimteayon) 提交
+  - 📖 优化API方法参数命名不准确问题。[#736](https://github.com/ant-design/x/pull/736) 由 [@kimteayon](https://github.com/kimteayon) 提交
+- useXAgent
+  - 🆕 RequestFn 新增 `onStream` 回调，可对流监听和终止操作。[#711](https://github.com/ant-design/x/pull/711) 由 [@kimteayon](https://github.com/kimteayon) 提交
+  - 🆕 RequestFn 新增 `transformStream`转换函数，用于处理流数据。[#725](https://github.com/ant-design/x/pull/726) 由 [@kimteayon](https://github.com/kimteayon) 提交
+  - 🐛 修复 XAgentConfigPreset 变更不生效问题，并新增示例。[#736](https://github.com/ant-design/x/pull/736) 由 [@kimteayon](https://github.com/kimteayon) 提交
+  - 🐛 修复 RequestFn `onSuccess`回调类型错误问题，同时更新对应示例。 [#725](https://github.com/ant-design/x/pull/726) 由 [@kimteayon](https://github.com/kimteayon) 提交
+  - 🆕 新增模型接入、自定义入参、变更配置示例。 [#725](https://github.com/ant-design/x/pull/726) 由 [@kimteayon](https://github.com/kimteayon) 提交、[#711](https://github.com/ant-design/x/pull/711) 由 [@kimteayon](https://github.com/kimteayon) 提交
+- useXChat
+  - 🆕 XChatConfig 新增 Input 和 Output 泛型类型。[#725](https://github.com/ant-design/x/pull/726) 由 [@kimteayon](https://github.com/kimteayon) 提交
path: CHANGELOG.zh-CN.md
user: login: coderabbitai[bot]
body: _⚠️ Potential issue_

**修正泛型条目 PR 链接**  
第 37 行引用了 PR `#725`，但链接指向 `pull/726`。请将链接修正为：  
```
[#725](https://github.com/ant-design/x/pull/725)
```

<!-- This is an auto-generated comment by CodeRabbit -->

✅ Addressed in commit 6f61313
created_at: 2025-04-25T09:14:59Z
author_association: CONTRIBUTOR
diff_hunk: @@ -15,6 +15,35 @@ tag: vVERSION
 
 ---
 
+## 1.2.0
+
+`2025-04-25`
+
+- 🐛 删除 Conversations 溢出省略逻辑修复 `tooltip` 展示错误的问题。[#776](https://github.com/ant-design/x/pull/776) 由 [@afc163](https://github.com/afc163) 提交
+- 🐛 修复 Attachments `image`卡片样式问题。[#751](https://github.com/ant-design/x/pull/736) 由 [@wzc520pyfm](https://github.com/wzc520pyfm) 提交
+- 🐛 修复 ThoughtChain 受控问题。[#752](https://github.com/ant-design/x/pull/736) 由 [@Youzi2233](https://github.com/kimteayon) 提交
path: CHANGELOG.zh-CN.md
user: login: coderabbitai[bot]
body: _⚠️ Potential issue_

**修正 PR 链接不匹配**  
第 23-24 行引用了 PR `#751` 和 `#752`，但链接都指向了 `pull/736`。请修正为：  
```
[#751](https://github.com/ant-design/x/pull/751)
[#752](https://github.com/ant-design/x/pull/752)
```

<!-- This is an auto-generated comment by CodeRabbit -->

✅ Addressed in commit 6f61313
created_at: 2025-04-25T09:14:59Z
author_association: CONTRIBUTOR
diff_hunk: @@ -16,6 +16,34 @@ tag: vVERSION
 
 ---
 
+## 1.2.0
+
+`2025-04-25`
+- 🐛 Delete Conversations ellipsis tooltip , fix 'tooltip' display error issue。[#776](https://github.com/ant-design/x/pull/776) by [@afc163](https://github.com/afc163)
+- 🐛 Fixed Attachments `image` card style.[#751](https://github.com/ant-design/x/pull/736) by [@wzc520pyfm](https://github.com/wzc520pyfm) 
+- 🐛 Fixed ThoughtChain controlled issue.[#752](https://github.com/ant-design/x/pull/736) by [@Youzi2233](https://github.com/kimteayon) 
+- XRequest
+  - 🆕 XRequestCallbacks adds an 'onStream' callback that allows for stream listening and abort operations.[#711](https://github.com/ant-design/x/pull/711) by [@kimteayon](https://github.com/kimteayon) 
+  - 🐛 Fixed the issue of XRequestOptions changes not taking effect and added a demo.[#736](https://github.com/ant-design/x/pull/736) by [@kimteayon](https://github.com/kimteayon) 
+  - 🆕 Add an example of model integration. [#725](https://github.com/ant-design/x/pull/726) by [@kimteayon](https://github.com/kimteayon) 
+  - 📖 Inaccurate parameter naming in optimizing API methods.[#736](https://github.com/ant-design/x/pull/736) by [@kimteayon](https://github.com/kimteayon) 
+- useXAgent
+  - 🆕 RequestFn adds an `onStream` callback that allows for stream listening and abort operations.[#711](https://github.com/ant-design/x/pull/711) by [@kimteayon](https://github.com/kimteayon) 
+  - 🆕 RequestFn has added a `transformStream` transformation function for processing stream data.[#725](https://github.com/ant-design/x/pull/726) by [@kimteayon](https://github.com/kimteayon) 
+  - 🐛 Fix the issue of XAgentConfig Preset changes not taking effect and add an example.[#736](https://github.com/ant-design/x/pull/736) by [@kimteayon](https://github.com/kimteayon) 
+  - 🐛 Fix the issue of incorrect callback types for RequestFn ` onSuccess ` and update the corresponding demo. [#725](https://github.com/ant-design/x/pull/726) by [@kimteayon](https://github.com/kimteayon) 
+  - 🆕 Add model access, Custom RequestParams,and customize `XRequestOptions`demos. [#725](https://github.com/ant-design/x/pull/726) by [@kimteayon](https://github.com/kimteayon) 提交、[#711](https://github.com/ant-design/x/pull/711) by [@kimteayon](https://github.com/kimteayon) 
path: CHANGELOG.en-US.md
user: login: coderabbitai[bot]
body: _⚠️ Potential issue_

**修正 RequestParams 示例条目 PR 链接**  
第 35 行引用了 PR `#725`，链接应指向 `pull/725` 而非 `pull/726`，请修正。

<!-- This is an auto-generated comment by CodeRabbit -->

✅ Addressed in commit 6f61313
created_at: 2025-04-25T09:14:59Z
author_association: CONTRIBUTOR
diff_hunk: @@ -16,6 +16,34 @@ tag: vVERSION
 
 ---
 
+## 1.2.0
+
+`2025-04-25`
+- 🐛 Delete Conversations ellipsis tooltip , fix 'tooltip' display error issue。[#776](https://github.com/ant-design/x/pull/776) by [@afc163](https://github.com/afc163)
+- 🐛 Fixed Attachments `image` card style.[#751](https://github.com/ant-design/x/pull/736) by [@wzc520pyfm](https://github.com/wzc520pyfm) 
+- 🐛 Fixed ThoughtChain controlled issue.[#752](https://github.com/ant-design/x/pull/736) by [@Youzi2233](https://github.com/kimteayon) 
+- XRequest
+  - 🆕 XRequestCallbacks adds an 'onStream' callback that allows for stream listening and abort operations.[#711](https://github.com/ant-design/x/pull/711) by [@kimteayon](https://github.com/kimteayon) 
+  - 🐛 Fixed the issue of XRequestOptions changes not taking effect and added a demo.[#736](https://github.com/ant-design/x/pull/736) by [@kimteayon](https://github.com/kimteayon) 
+  - 🆕 Add an example of model integration. [#725](https://github.com/ant-design/x/pull/726) by [@kimteayon](https://github.com/kimteayon) 
path: CHANGELOG.en-US.md
user: login: coderabbitai[bot]
body: _⚠️ Potential issue_

**修正示例条目 PR 链接**  
第 28 行引用了 PR `#725`，链接指向 `pull/726`，应更新为：  
```
[#725](https://github.com/ant-design/x/pull/725)
```

<!-- This is an auto-generated comment by CodeRabbit -->

✅ Addressed in commit 6f61313
created_at: 2025-04-25T09:14:59Z
author_association: CONTRIBUTOR
diff_hunk: @@ -16,6 +16,34 @@ tag: vVERSION
 
 ---
 
+## 1.2.0
+
+`2025-04-25`
+- 🐛 Delete Conversations ellipsis tooltip , fix 'tooltip' display error issue。[#776](https://github.com/ant-design/x/pull/776) by [@afc163](https://github.com/afc163)
+- 🐛 Fixed Attachments `image` card style.[#751](https://github.com/ant-design/x/pull/736) by [@wzc520pyfm](https://github.com/wzc520pyfm) 
+- 🐛 Fixed ThoughtChain controlled issue.[#752](https://github.com/ant-design/x/pull/736) by [@Youzi2233](https://github.com/kimteayon) 
path: CHANGELOG.en-US.md
user: login: coderabbitai[bot]
body: _⚠️ Potential issue_

**修正 PR 链接不匹配**  
第 23-24 行引用了 PR `#751`、`#752` 文本，但链接均指向了 `pull/736`。请更新为：  
```
[#751](https://github.com/ant-design/x/pull/751)
[#752](https://github.com/ant-design/x/pull/752)
```

<!-- This is an auto-generated comment by CodeRabbit -->

✅ Addressed in commit 6f61313
created_at: 2025-04-25T09:14:59Z
author_association: CONTRIBUTOR
diff_hunk: @@ -16,6 +16,34 @@ tag: vVERSION
 
 ---
 
+## 1.2.0
+
+`2025-04-25`
+- 🐛 Delete Conversations ellipsis tooltip , fix 'tooltip' display error issue。[#776](https://github.com/ant-design/x/pull/776) by [@afc163](https://github.com/afc163)
+- 🐛 Fixed Attachments `image` card style.[#751](https://github.com/ant-design/x/pull/736) by [@wzc520pyfm](https://github.com/wzc520pyfm) 
+- 🐛 Fixed ThoughtChain controlled issue.[#752](https://github.com/ant-design/x/pull/736) by [@Youzi2233](https://github.com/kimteayon) 
+- XRequest
+  - 🆕 XRequestCallbacks adds an 'onStream' callback that allows for stream listening and abort operations.[#711](https://github.com/ant-design/x/pull/711) by [@kimteayon](https://github.com/kimteayon) 
+  - 🐛 Fixed the issue of XRequestOptions changes not taking effect and added a demo.[#736](https://github.com/ant-design/x/pull/736) by [@kimteayon](https://github.com/kimteayon) 
+  - 🆕 Add an example of model integration. [#725](https://github.com/ant-design/x/pull/726) by [@kimteayon](https://github.com/kimteayon) 
+  - 📖 Inaccurate parameter naming in optimizing API methods.[#736](https://github.com/ant-design/x/pull/736) by [@kimteayon](https://github.com/kimteayon) 
+- useXAgent
+  - 🆕 RequestFn adds an `onStream` callback that allows for stream listening and abort operations.[#711](https://github.com/ant-design/x/pull/711) by [@kimteayon](https://github.com/kimteayon) 
+  - 🆕 RequestFn has added a `transformStream` transformation function for processing stream data.[#725](https://github.com/ant-design/x/pull/726) by [@kimteayon](https://github.com/kimteayon) 
+  - 🐛 Fix the issue of XAgentConfig Preset changes not taking effect and add an example.[#736](https://github.com/ant-design/x/pull/736) by [@kimteayon](https://github.com/kimteayon) 
+  - 🐛 Fix the issue of incorrect callback types for RequestFn ` onSuccess ` and update the corresponding demo. [#725](https://github.com/ant-design/x/pull/726) by [@kimteayon](https://github.com/kimteayon) 
+  - 🆕 Add model access, Custom RequestParams,and customize `XRequestOptions`demos. [#725](https://github.com/ant-design/x/pull/726) by [@kimteayon](https://github.com/kimteayon) 提交、[#711](https://github.com/ant-design/x/pull/711) by [@kimteayon](https://github.com/kimteayon) 
+- useXChat
+  - 🆕 XChatConfig adds input and output generic types.[#725](https://github.com/ant-design/x/pull/726) by [@kimteayon](https://github.com/kimteayon) 
+  - 🆕 XChatConfig adds `transformMessage` transformation function,which can transform `messages` when updating data and update to `messages` at the same time. [#711](https://github.com/ant-design/x/pull/711) by [@kimteayon](https://github.com/kimteayon) 
+  - 🆕 XChatConfig adds `transformStream`conversion function for processing stream data.[#711](https://github.com/ant-design/x/pull/711) by [@kimteayon](https://github.com/kimteayon) 
+  - 🆕 XChatConfig adds `resolveAbortController`callback function, which can obtain the`AbortController` controller for controlling the stream state.[#711](https://github.com/ant-design/x/pull/711) by [@kimteayon](https://github.com/kimteayon) 
+  - 🆕 Add model access examples and remove incorrect abort examples. [#711](https://github.com/ant-design/x/pull/726) by [@kimteayon](https://github.com/kimteayon) 
+- 🐛 Fixed the issue of Sender `header` `border-radius` style overflow.[#479](https://github.com/ant-design/x/pull/732) by [@Bao0630](https://github.com/Bao0630) 
+- 📖 Add a copilot style model room.[#657](https://github.com/ant-design/x/pull/657) by [@vanndxh](https://github.com/vanndxh) 
+- 📖  Refactoring the independent model room.[#753](https://github.com/ant-design/x/pull/753) by [@vanndxh](https://github.com/vanndxh) 
+- 📖 Enhance the official website to improve user experience.[#730](https://github.com/ant-design/x/pull/680) by [@afc163](https://github.com/afc163) 提交、[#758](https://github.com/ant-design/x/pull/680) by [@coding-ice](https://github.com/coding-ice) 提交、 [#761](https://github.com/ant-design/x/pull/761) by [@ONLY-yours](https://github.com/ONLY-yours) 
path: CHANGELOG.en-US.md
user: login: coderabbitai[bot]
body: _⚠️ Potential issue_

**修正官网优化条目 PR 链接**  
第 45 行中：  
- `[#730]` 链接指向 `pull/680`，应为 `pull/730`；  
- `[#758]` 链接也指向 `pull/680`，应更新为 `pull/758`。  
请修正对应链接。

<!-- This is an auto-generated comment by CodeRabbit -->

✅ Addressed in commit 6f61313
created_at: 2025-04-25T09:14:59Z
author_association: CONTRIBUTOR
diff_hunk: @@ -16,6 +16,34 @@ tag: vVERSION
 
 ---
 
+## 1.2.0
+
+`2025-04-25`
+- 🐛 Delete Conversations ellipsis tooltip , fix 'tooltip' display error issue。[#776](https://github.com/ant-design/x/pull/776) by [@afc163](https://github.com/afc163)
+- 🐛 Fixed Attachments `image` card style.[#751](https://github.com/ant-design/x/pull/736) by [@wzc520pyfm](https://github.com/wzc520pyfm) 
+- 🐛 Fixed ThoughtChain controlled issue.[#752](https://github.com/ant-design/x/pull/736) by [@Youzi2233](https://github.com/kimteayon) 
+- XRequest
+  - 🆕 XRequestCallbacks adds an 'onStream' callback that allows for stream listening and abort operations.[#711](https://github.com/ant-design/x/pull/711) by [@kimteayon](https://github.com/kimteayon) 
+  - 🐛 Fixed the issue of XRequestOptions changes not taking effect and added a demo.[#736](https://github.com/ant-design/x/pull/736) by [@kimteayon](https://github.com/kimteayon) 
+  - 🆕 Add an example of model integration. [#725](https://github.com/ant-design/x/pull/726) by [@kimteayon](https://github.com/kimteayon) 
+  - 📖 Inaccurate parameter naming in optimizing API methods.[#736](https://github.com/ant-design/x/pull/736) by [@kimteayon](https://github.com/kimteayon) 
+- useXAgent
+  - 🆕 RequestFn adds an `onStream` callback that allows for stream listening and abort operations.[#711](https://github.com/ant-design/x/pull/711) by [@kimteayon](https://github.com/kimteayon) 
+  - 🆕 RequestFn has added a `transformStream` transformation function for processing stream data.[#725](https://github.com/ant-design/x/pull/726) by [@kimteayon](https://github.com/kimteayon) 
path: CHANGELOG.en-US.md
user: login: coderabbitai[bot]
body: _⚠️ Potential issue_

**修正流转换条目 PR 链接**  
第 32 行引用了 PR `#725`，但链接指向 `pull/726`，请将其修正为：  
```
[#725](https://github.com/ant-design/x/pull/725)
```

<!-- This is an auto-generated comment by CodeRabbit -->
created_at: 2025-04-25T09:15:00Z
author_association: CONTRIBUTOR
diff_hunk: @@ -16,6 +16,34 @@ tag: vVERSION
 
 ---
 
+## 1.2.0
+
+`2025-04-25`
+- 🐛 Delete Conversations ellipsis tooltip , fix 'tooltip' display error issue。[#776](https://github.com/ant-design/x/pull/776) by [@afc163](https://github.com/afc163)
+- 🐛 Fixed Attachments `image` card style.[#751](https://github.com/ant-design/x/pull/736) by [@wzc520pyfm](https://github.com/wzc520pyfm) 
+- 🐛 Fixed ThoughtChain controlled issue.[#752](https://github.com/ant-design/x/pull/736) by [@Youzi2233](https://github.com/kimteayon) 
+- XRequest
+  - 🆕 XRequestCallbacks adds an 'onStream' callback that allows for stream listening and abort operations.[#711](https://github.com/ant-design/x/pull/711) by [@kimteayon](https://github.com/kimteayon) 
+  - 🐛 Fixed the issue of XRequestOptions changes not taking effect and added a demo.[#736](https://github.com/ant-design/x/pull/736) by [@kimteayon](https://github.com/kimteayon) 
+  - 🆕 Add an example of model integration. [#725](https://github.com/ant-design/x/pull/726) by [@kimteayon](https://github.com/kimteayon) 
+  - 📖 Inaccurate parameter naming in optimizing API methods.[#736](https://github.com/ant-design/x/pull/736) by [@kimteayon](https://github.com/kimteayon) 
+- useXAgent
+  - 🆕 RequestFn adds an `onStream` callback that allows for stream listening and abort operations.[#711](https://github.com/ant-design/x/pull/711) by [@kimteayon](https://github.com/kimteayon) 
+  - 🆕 RequestFn has added a `transformStream` transformation function for processing stream data.[#725](https://github.com/ant-design/x/pull/726) by [@kimteayon](https://github.com/kimteayon) 
+  - 🐛 Fix the issue of XAgentConfig Preset changes not taking effect and add an example.[#736](https://github.com/ant-design/x/pull/736) by [@kimteayon](https://github.com/kimteayon) 
+  - 🐛 Fix the issue of incorrect callback types for RequestFn ` onSuccess ` and update the corresponding demo. [#725](https://github.com/ant-design/x/pull/726) by [@kimteayon](https://github.com/kimteayon) 
+  - 🆕 Add model access, Custom RequestParams,and customize `XRequestOptions`demos. [#725](https://github.com/ant-design/x/pull/726) by [@kimteayon](https://github.com/kimteayon) 提交、[#711](https://github.com/ant-design/x/pull/711) by [@kimteayon](https://github.com/kimteayon) 
+- useXChat
+  - 🆕 XChatConfig adds input and output generic types.[#725](https://github.com/ant-design/x/pull/726) by [@kimteayon](https://github.com/kimteayon) 
path: CHANGELOG.en-US.md
user: login: coderabbitai[bot]
body: _⚠️ Potential issue_

**修正泛型条目 PR 链接**  
第 37 行引用了 PR `#725`，链接需更新为：  
```
[#725](https://github.com/ant-design/x/pull/725)
```

<!-- This is an auto-generated comment by CodeRabbit -->
created_at: 2025-04-25T09:15:00Z
author_association: CONTRIBUTOR
diff_hunk: @@ -15,6 +15,35 @@ tag: vVERSION
 
 ---
 
+## 1.2.0
+
+`2025-04-25`
+
+- 🐛 删除 Conversations 溢出省略逻辑修复 `tooltip` 展示错误的问题。[#776](https://github.com/ant-design/x/pull/776) 由 [@afc163](https://github.com/afc163) 提交
+- 🐛 修复 Attachments `image`卡片样式问题。[#751](https://github.com/ant-design/x/pull/751) 由 [@wzc520pyfm](https://github.com/wzc520pyfm) 提交
+- 🐛 修复 ThoughtChain 受控问题。[#752](https://github.com/ant-design/x/pull/752) 由 [@Youzi2233](https://github.com/kimteayon) 提交
+- XRequest
+  - 🆕 XRequestCallbacks 新增 `onStream` 回调，可对流监听和终止操作。[#711](https://github.com/ant-design/x/pull/711) 由 [@kimteayon](https://github.com/kimteayon) 提交
+  - 🐛 修复 XRequestOptions 变更不生效问题，并新增示例。[#736](https://github.com/ant-design/x/pull/736) 由 [@kimteayon](https://github.com/kimteayon) 提交
+  - 🆕 新增模型接入示例。 [#725](https://github.com/ant-design/x/pull/725) 由 [@kimteayon](https://github.com/kimteayon) 提交
+  - 📖 优化API方法参数命名不准确问题。[#736](https://github.com/ant-design/x/pull/736) 由 [@kimteayon](https://github.com/kimteayon) 提交
+- useXAgent
+  - 🆕 RequestFn 新增 `onStream` 回调，可对流监听和终止操作。[#711](https://github.com/ant-design/x/pull/711) 由 [@kimteayon](https://github.com/kimteayon) 提交
+  - 🆕 RequestFn 新增 `transformStream`转换函数，用于处理流数据。[#725](https://github.com/ant-design/x/pull/725) 由 [@kimteayon](https://github.com/kimteayon) 提交
+  - 🐛 修复 XAgentConfigPreset 变更不生效问题，并新增示例。[#736](https://github.com/ant-design/x/pull/736) 由 [@kimteayon](https://github.com/kimteayon) 提交
+  - 🐛 修复 RequestFn `onSuccess`回调类型错误问题，同时更新对应示例。 [#725](https://github.com/ant-design/x/pull/726) 由 [@kimteayon](https://github.com/kimteayon) 提交
+  - 🆕 新增模型接入、自定义入参、变更配置示例。 [#725](https://github.com/ant-design/x/pull/725) 由 [@kimteayon](https://github.com/kimteayon) 提交、[#711](https://github.com/ant-design/x/pull/711) 由 [@kimteayon](https://github.com/kimteayon) 提交
+- useXChat
+  - 🆕 XChatConfig 新增 Input 和 Output 泛型类型。[#725](https://github.com/ant-design/x/pull/725) 由 [@kimteayon](https://github.com/kimteayon) 提交
+  - 🆕 XChatConfig 新增 `transformMessage` 转换函数，可在更新数据时对`messages`做转换，同时会更新到`messages`。 [#711](https://github.com/ant-design/x/pull/711) 由 [@kimteayon](https://github.com/kimteayon) 提交
+  - 🆕 XChatConfig 新增 `transformStream`转换函数，用于处理流数据。[#711](https://github.com/ant-design/x/pull/711) 由 [@kimteayon](https://github.com/kimteayon) 提交
+  - 🆕 XChatConfig 新增 `resolveAbortController`回调函数，可获得`AbortController` 控制器，用于控制流状态。[#711](https://github.com/ant-design/x/pull/711) 由 [@kimteayon](https://github.com/kimteayon) 提交
+  - 🆕 新增模型接入示例，删除错误的终止流示例。 [#711](https://github.com/ant-design/x/pull/726) 由 [@kimteayon](https://github.com/kimteayon) 提交
path: CHANGELOG.zh-CN.md
user: login: coderabbitai[bot]
body: _⚠️ Potential issue_

**修正 useXChat 删除示例的 PR 链接一致性**  
条目文本暗示应为 `#726`，却显示为 `[#711](…/pull/726)`。  
请将第 41 行改为：
```diff
- [#711](https://github.com/ant-design/x/pull/726)
+ [#726](https://github.com/ant-design/x/pull/726)
```
或根据实际提交，将文本和链接统一为同一个 PR 编号。  



<!-- suggestion_start -->

<details>
<summary>📝 Committable suggestion</summary>

> ‼️ **IMPORTANT**
> Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

`````suggestion
  - 🆕 新增模型接入示例，删除错误的终止流示例。 [#726](https://github.com/ant-design/x/pull/726) 由 [@kimteayon](https://github.com/kimteayon) 提交
`````

</details>

<!-- suggestion_end -->

<!-- This is an auto-generated comment by CodeRabbit -->
created_at: 2025-04-25T09:23:59Z
author_association: CONTRIBUTOR
diff_hunk: @@ -15,6 +15,35 @@ tag: vVERSION
 
 ---
 
+## 1.2.0
+
+`2025-04-25`
+
+- 🐛 删除 Conversations 溢出省略逻辑修复 `tooltip` 展示错误的问题。[#776](https://github.com/ant-design/x/pull/776) 由 [@afc163](https://github.com/afc163) 提交
+- 🐛 修复 Attachments `image`卡片样式问题。[#751](https://github.com/ant-design/x/pull/751) 由 [@wzc520pyfm](https://github.com/wzc520pyfm) 提交
+- 🐛 修复 ThoughtChain 受控问题。[#752](https://github.com/ant-design/x/pull/752) 由 [@Youzi2233](https://github.com/kimteayon) 提交
path: CHANGELOG.zh-CN.md
user: login: coderabbitai[bot]
body: _⚠️ Potential issue_

**修正 ThoughtChain 条目作者超链接**  
`[@Youzi2233]` 与指向 `https://github.com/kimteayon` 不匹配。  
若作者为 Youzi2233，应更新为：
```diff
- 由 [@Youzi2233](https://github.com/kimteayon) 提交
+ 由 [@Youzi2233](https://github.com/Youzi2233) 提交
```
否则请统一为 `[@kimteayon](https://github.com/kimteayon)`。  



<!-- suggestion_start -->

<details>
<summary>📝 Committable suggestion</summary>

> ‼️ **IMPORTANT**
> Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

`````suggestion
- 🐛 修复 ThoughtChain 受控问题。[#752](https://github.com/ant-design/x/pull/752) 由 [@Youzi2233](https://github.com/Youzi2233) 提交
`````

</details>

<!-- suggestion_end -->

<!-- This is an auto-generated comment by CodeRabbit -->
created_at: 2025-04-25T09:23:59Z
author_association: CONTRIBUTOR
diff_hunk: @@ -15,6 +15,35 @@ tag: vVERSION
 
 ---
 
+## 1.2.0
+
+`2025-04-25`
+
+- 🐛 删除 Conversations 溢出省略逻辑修复 `tooltip` 展示错误的问题。[#776](https://github.com/ant-design/x/pull/776) 由 [@afc163](https://github.com/afc163) 提交
+- 🐛 修复 Attachments `image`卡片样式问题。[#751](https://github.com/ant-design/x/pull/751) 由 [@wzc520pyfm](https://github.com/wzc520pyfm) 提交
+- 🐛 修复 ThoughtChain 受控问题。[#752](https://github.com/ant-design/x/pull/752) 由 [@Youzi2233](https://github.com/kimteayon) 提交
+- XRequest
+  - 🆕 XRequestCallbacks 新增 `onStream` 回调，可对流监听和终止操作。[#711](https://github.com/ant-design/x/pull/711) 由 [@kimteayon](https://github.com/kimteayon) 提交
+  - 🐛 修复 XRequestOptions 变更不生效问题，并新增示例。[#736](https://github.com/ant-design/x/pull/736) 由 [@kimteayon](https://github.com/kimteayon) 提交
+  - 🆕 新增模型接入示例。 [#725](https://github.com/ant-design/x/pull/725) 由 [@kimteayon](https://github.com/kimteayon) 提交
+  - 📖 优化API方法参数命名不准确问题。[#736](https://github.com/ant-design/x/pull/736) 由 [@kimteayon](https://github.com/kimteayon) 提交
+- useXAgent
+  - 🆕 RequestFn 新增 `onStream` 回调，可对流监听和终止操作。[#711](https://github.com/ant-design/x/pull/711) 由 [@kimteayon](https://github.com/kimteayon) 提交
+  - 🆕 RequestFn 新增 `transformStream`转换函数，用于处理流数据。[#725](https://github.com/ant-design/x/pull/725) 由 [@kimteayon](https://github.com/kimteayon) 提交
+  - 🐛 修复 XAgentConfigPreset 变更不生效问题，并新增示例。[#736](https://github.com/ant-design/x/pull/736) 由 [@kimteayon](https://github.com/kimteayon) 提交
+  - 🐛 修复 RequestFn `onSuccess`回调类型错误问题，同时更新对应示例。 [#725](https://github.com/ant-design/x/pull/726) 由 [@kimteayon](https://github.com/kimteayon) 提交
path: CHANGELOG.zh-CN.md
user: login: coderabbitai[bot]
body: _⚠️ Potential issue_

**修正 useXAgent “onSuccess” 回调链接误指向**  
条目文本中引用的是 `#725`，但超链接却是 `/pull/726`。  
请将第 34 行改为：
```diff
- [#725](https://github.com/ant-design/x/pull/726)
+ [#725](https://github.com/ant-design/x/pull/725)
```



<!-- suggestion_start -->

<details>
<summary>📝 Committable suggestion</summary>

> ‼️ **IMPORTANT**
> Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

`````suggestion
  - 🐛 修复 RequestFn `onSuccess`回调类型错误问题，同时更新对应示例。 [#725](https://github.com/ant-design/x/pull/725) 由 [@kimteayon](https://github.com/kimteayon) 提交
`````

</details>

<!-- suggestion_end -->

<!-- This is an auto-generated comment by CodeRabbit -->

✅ Addressed in commit a57389a
created_at: 2025-04-25T09:23:59Z
author_association: CONTRIBUTOR

PR comments:
user: login: coderabbitai[bot]
created_at: 2025-04-25T09:10:36Z
body: <!-- This is an auto-generated comment: summarize by coderabbit.ai -->
<!-- This is an auto-generated comment: rate limited by coderabbit.ai -->

> [!WARNING]
> ## Rate limit exceeded
> 
> @kimteayon has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait **13 minutes and 6 seconds** before requesting another review.
> 
> <details>
> <summary>⌛ How to resolve this issue?</summary>
> 
> After the wait time has elapsed, a review can be triggered using the `@coderabbitai review` command as a PR comment. Alternatively, push new commits to this PR.
> 
> We recommend that you space out your commits to avoid hitting the rate limit.
> 
> </details>
> 
> 
> <details>
> <summary>🚦 How do rate limits work?</summary>
> 
> CodeRabbit enforces hourly rate limits for each developer per organization.
> 
> Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.
> 
> Please see our [FAQ](https://docs.coderabbit.ai/faq) for further information.
> 
> </details>
> 
> <details>
> <summary>📥 Commits</summary>
> 
> Reviewing files that changed from the base of the PR and between 6f613134374ddfaf832fd8e5bc31530b505fd615 and 2650fc3bdb60228f48d4749d5b6be510642d6c52.
> 
> </details>
> 
> <details>
> <summary>📒 Files selected for processing (2)</summary>
> 
> * `CHANGELOG.en-US.md` (1 hunks)
> * `CHANGELOG.zh-CN.md` (1 hunks)
> 
> </details>

<!-- end of auto-generated comment: rate limited by coderabbit.ai -->
<!-- walkthrough_start -->

<details>
<summary>📝 Walkthrough</summary>

```markdown
## Walkthrough

此次更改主要是发布 1.2.0 版本，涉及多个组件和 hooks 的新特性、修复和优化。更新内容包括修复 Conversations、Attachments、Sender 和 ThoughtChain 等组件的样式及行为问题，XRequest 模块新增 `onStream` 回调用于流式监听与终止，并修复参数变更无效的问题。useXAgent 和 useXChat hooks 增加了流处理、泛型支持、消息与流转换等能力，并补充了相关示例和文档。官方文档和网站也进行了体验优化。package.json 版本号同步更新为 1.2.0。

## Changes

| 文件/路径                           | 变更摘要                                                         |
|-------------------------------------|------------------------------------------------------------------|
| CHANGELOG.en-US.md<br>CHANGELOG.zh-CN.md | 更新 1.2.0 版本日志，详细记录各组件、hooks 的修复、新增及优化内容。 |
| package.json                        | 版本号从 1.1.1 更新为 1.2.0，无其他内容变更。                      |

## Suggested reviewers

- hylin
- afc163
- pokerface9830

## Poem

> 🐇  
> 新版本上线好欢喜，  
> 修复优化齐努力。  
> 流式回调添新翼，  
> hooks 泛型更灵犀。  
> 组件样式焕然丽，  
> 代码小兔跳跃起！  
>
```

</details>

<!-- walkthrough_end -->
<!-- internal state start -->


<!-- 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 -->

<!-- internal state end -->
<!-- tips_start -->

---

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

<details>
<summary>❤️ Share</summary>

- [X](https://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai)
- [Mastodon](https://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai)
- [Reddit](https://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai)
- [LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code)

</details>

<details>
<summary>🪧 Tips</summary>

### Chat

There are 3 ways to chat with [CodeRabbit](https://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=ant-design/x&utm_content=778):

- Review comments: Directly reply to a review comment made by CodeRabbit. Example:
  - `I pushed a fix in commit <commit_id>, please review it.`
  - `Generate unit testing code for this file.`
  - `Open a follow-up GitHub issue for this discussion.`
- Files and specific lines of code (under the "Files changed" tab): Tag `@coderabbitai` in a new review comment at the desired location with your query. Examples:
  - `@coderabbitai generate unit testing code for this file.`
  -	`@coderabbitai modularize this function.`
- PR comments: Tag `@coderabbitai` in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
  - `@coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.`
  - `@coderabbitai read src/utils.ts and generate unit testing code.`
  - `@coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.`
  - `@coderabbitai help me debug CodeRabbit configuration file.`

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

### CodeRabbit Commands (Invoked using PR comments)

- `@coderabbitai pause` to pause the reviews on a PR.
- `@coderabbitai resume` to resume the paused reviews.
- `@coderabbitai review` to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
- `@coderabbitai full review` to do a full review from scratch and review all the files again.
- `@coderabbitai summary` to regenerate the summary of the PR.
- `@coderabbitai generate docstrings` to [generate docstrings](https://docs.coderabbit.ai/finishing-touches/docstrings) for this PR.
- `@coderabbitai generate sequence diagram` to generate a sequence diagram of the changes in this PR.
- `@coderabbitai resolve` resolve all the CodeRabbit review comments.
- `@coderabbitai configuration` to show the current CodeRabbit configuration for the repository.
- `@coderabbitai help` to get help.

### Other keywords and placeholders

- Add `@coderabbitai ignore` anywhere in the PR description to prevent this PR from being reviewed.
- Add `@coderabbitai summary` to generate the high-level summary at a specific location in the PR description.
- Add `@coderabbitai` anywhere in the PR title to generate the title automatically.

### CodeRabbit Configuration File (`.coderabbit.yaml`)

- You can programmatically configure CodeRabbit by adding a `.coderabbit.yaml` file to the root of your repository.
- Please see the [configuration documentation](https://docs.coderabbit.ai/guides/configure-coderabbit) for more information.
- If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: `# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json`

### Documentation and Community

- Visit our [Documentation](https://docs.coderabbit.ai) for detailed information on how to use CodeRabbit.
- Join our [Discord Community](http://discord.gg/coderabbit) to get help, request features, and share feedback.
- Follow us on [X/Twitter](https://twitter.com/coderabbitai) for updates and announcements.

</details>

<!-- tips_end -->
author_association: CONTRIBUTOR
user: login: github-actions[bot]
created_at: 2025-04-25T09:10:41Z
body: [<img width="300" alt="Preview is ready" src="https://user-images.githubusercontent.com/5378891/72400743-23dbb200-3785-11ea-9d13-1a2d92743846.png">](https://preview-778-antd-x.surge.sh)
<!-- AUTO_PREVIEW_HOOK -->
<!-- AUTO_PREVIEW_HOOK -->
author_association: CONTRIBUTOR
user: login: petercat-assistant[bot]
created_at: 2025-04-25T09:10:51Z
body: ### Walkthrough
This pull request updates the changelog and version number for the 1.2.0 release, detailing various bug fixes, new features, and documentation improvements. It includes changes to the English and Chinese changelogs and updates the package version in `package.json`.

### Changes
| Files | Summary |
|-------|---------|
| CHANGELOG.en-US.md, CHANGELOG.zh-CN.md | Added entries for version 1.2.0, detailing bug fixes, new features, and documentation improvements. |
| package.json | Updated version number from 1.1.1 to 1.2.0. |
author_association: NONE
user: login: codecov[bot]
created_at: 2025-04-25T09:11:28Z
body: ## [Bundle](https://app.codecov.io/gh/ant-design/x/pull/778?dropdown=bundle) Report

Bundle size has no change :white_check_mark:



author_association: NONE
user: login: socket-security[bot]
created_at: 2025-04-25T09:12:24Z
body: **Review the following changes in direct dependencies.** Learn more about [Socket for GitHub](https://socket.dev?utm_medium=gh).

<table>
<thead>
<tr>
<th>Diff</th>
<th width="200px">Package</th>
<th align="center" width="100px">Supply Chain<br/>Security</th>
<th align="center" width="100px">Vulnerability</th>
<th align="center" width="100px">Quality</th>
<th align="center" width="100px">Maintenance</th>
<th align="center" width="100px">License</th>
</tr>
</thead>
<tbody>
</tbody>
</table>

[View full report](https://socket.dev/dashboard/org/ant-design/diff/c432bcde-897c-476d-842b-0d7b9a453769/5cfef387-c8a8-4b4f-b135-2a47b0b103d5?tab=dependencies)

<!-- overview-comment -->
author_association: NONE
user: login: codecov[bot]
created_at: 2025-04-25T09:15:25Z
body: ## [Codecov](https://app.codecov.io/gh/ant-design/x/pull/778?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design) Report
All modified and coverable lines are covered by tests :white_check_mark:
> Project coverage is 92.33%. Comparing base [(`1a20942`)](https://app.codecov.io/gh/ant-design/x/commit/1a209429d89a0104798dcad1e3b84bb7afb96493?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design) to head [(`2650fc3`)](https://app.codecov.io/gh/ant-design/x/commit/2650fc3bdb60228f48d4749d5b6be510642d6c52?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design).
> Report is 1 commits behind head on main.

<details><summary>Additional details and impacted files</summary>


```diff
@@           Coverage Diff           @@
##             main     #778   +/-   ##
=======================================
  Coverage   92.33%   92.33%           
=======================================
  Files          66       66           
  Lines        1487     1487           
  Branches      403      386   -17     
=======================================
  Hits         1373     1373           
  Misses        114      114           
```

</details>

[:umbrella: View full report in Codecov by Sentry](https://app.codecov.io/gh/ant-design/x/pull/778?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design).   
:loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design).

<details><summary> :rocket: New features to boost your workflow: </summary>

- :snowflake: [Test Analytics](https://docs.codecov.com/docs/test-analytics): Detect flaky tests, report on failures, and find test suite problems.
</details>
author_association: NONE