Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: usemeta support extra #10

Merged
merged 1 commit into from
Nov 8, 2023
Merged

feat: usemeta support extra #10

merged 1 commit into from
Nov 8, 2023

Conversation

chenshuai2144
Copy link
Collaborator

为了支持额外的数据 id

@chenshuai2144 chenshuai2144 changed the base branch from main to beta November 8, 2023 07:50
Copy link

github-actions bot commented Nov 8, 2023

🎊 PR Preview 14f4ce2 has been successfully built and deployed to https://ant-design-pro-chat-preview-pr-10.surge.sh

🕐 Build time: 113.114s

🤖 By surge-preview

@arvinxx
Copy link
Collaborator

arvinxx commented Nov 8, 2023

附加数据不应该在 meta 里,有个 extra 给额外的字段用。

@arvinxx
Copy link
Collaborator

arvinxx commented Nov 8, 2023

meta 应该只包含消息的元信息才对

@chenshuai2144
Copy link
Collaborator Author

需要用户 id 的时候传起来就很麻烦了,meta 里面的东西应该丰富一点

@arvinxx arvinxx merged commit 8475b9a into beta Nov 8, 2023
4 checks passed
@arvinxx arvinxx deleted the support-extra branch November 8, 2023 09:40
github-actions bot pushed a commit that referenced this pull request Nov 8, 2023
## [Version 0.2.0-beta.15](v0.2.0-beta.14...v0.2.0-beta.15)
<sup>Released on **2023-11-08**</sup>

#### ✨ 新特性

- Support extra userMeta  and params.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's improved

* Support extra userMeta  and params, closes [#10](#10) ([8475b9a](8475b9a))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
Copy link

github-actions bot commented Nov 8, 2023

🎉 This PR is included in version 0.2.0-beta.15 🎉

The release is available on:

Your semantic-release bot 📦🚀

github-actions bot pushed a commit that referenced this pull request Nov 24, 2023
## [Version&nbsp;0.2.0](v0.1.1...v0.2.0)
<sup>Released on **2023-11-24**</sup>

#### ✨ 新特性

- Add ProChat, add ProChat, change action & group as pro-editor, init basic components, ProChat 初步组件化, support autocompleteRequest and messageItemExtraRender, support extra userMeta  and params, support onResetMessage funtion, support useChat and chatRef, 支持流式响应, 支持非流式请求.

#### 🐛 修复

- Change action group style problem, clean deps, fix avatar, fix import, fix import, fix import, fix onPressEnter no work error, fix onResetMessage, fix send auto clear no work error, lock father to fix build.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's improved

* Add ProChat, closes [#1](#1) ([d63f00a](d63f00a))
* Add ProChat ([ec20b42](ec20b42))
* Change action & group as pro-editor ([4f1d5ee](4f1d5ee))
* Init basic components ([09d1284](09d1284))
* ProChat 初步组件化 ([86e8283](86e8283))
* Support autocompleteRequest and messageItemExtraRender, closes [#4](#4) ([5305e56](5305e56))
* Support extra userMeta  and params, closes [#10](#10) ([8475b9a](8475b9a))
* Support onResetMessage funtion, closes [#2](#2) ([418230a](418230a))
* Support useChat and chatRef ([cf98b0f](cf98b0f))
* 支持流式响应 ([4e6d720](4e6d720))
* 支持非流式请求 ([211fad5](211fad5))

#### What's fixed

* Change action group style problem ([52c9104](52c9104))
* Clean deps ([1479fa3](1479fa3))
* Fix avatar ([61a7efe](61a7efe))
* Fix import ([ac81b1d](ac81b1d))
* Fix import ([565e530](565e530))
* Fix import ([0311e5f](0311e5f))
* Fix onPressEnter no work error, closes [#11](#11) ([1db28f7](1db28f7))
* Fix onResetMessage, closes [#3](#3) ([078f277](078f277))
* Fix send auto clear no work error, closes [#5](#5) ([06f6ebf](06f6ebf))
* Lock father to fix build ([f6618e5](f6618e5))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
Copy link

🎉 This PR is included in version 0.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants