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: support native Artifacts just like Claude #3985

Merged
merged 24 commits into from
Sep 18, 2024
Merged

Conversation

arvinxx
Copy link
Contributor

@arvinxx arvinxx commented Sep 15, 2024

💻 变更类型 | Change Type

  • ✨ feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 👷 build
  • ⚡️ perf
  • 📝 docs
  • 🔨 chore

🔀 变更说明 | Description of Change

121shots_so

📝 补充信息 | Additional Information

Copy link

vercel bot commented Sep 15, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
lobe-chat-database ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 18, 2024 4:55pm
lobe-chat-preview 🛑 Canceled (Inspect) Sep 18, 2024 4:55pm

@dosubot dosubot bot added the size:XXL This PR changes 1000+ lines, ignoring generated files. label Sep 15, 2024
@lobehubbot
Copy link
Member

👍 @arvinxx

Thank you for raising your pull request and contributing to our Community
Please make sure you have followed our contributing guidelines. We will review it as soon as possible.
If you encounter any problems, please feel free to connect with us.
非常感谢您提出拉取请求并为我们的社区做出贡献,请确保您已经遵循了我们的贡献指南,我们会尽快审查它。
如果您遇到任何问题,请随时与我们联系。

@dosubot dosubot bot added the 🌠 Feature Request New feature or request | 特性与建议 label Sep 15, 2024
Copy link

codecov bot commented Sep 15, 2024

Codecov Report

Attention: Patch coverage is 93.98230% with 34 lines in your changes missing coverage. Please review.

Project coverage is 92.16%. Comparing base (c7d9192) to head (9ffbaca).
Report is 363 commits behind head on main.

Files with missing lines Patch % Lines
...ents/MarkdownElements/LobeThinking/rehypePlugin.ts 74.50% 13 Missing ⚠️
src/store/chat/slices/portal/selectors.ts 78.57% 12 Missing ⚠️
src/store/chat/slices/portal/action.ts 53.33% 7 Missing ⚠️
src/store/chat/slices/message/selectors.ts 93.33% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3985      +/-   ##
==========================================
+ Coverage   92.08%   92.16%   +0.07%     
==========================================
  Files         460      468       +8     
  Lines       31709    32399     +690     
  Branches     2153     3188    +1035     
==========================================
+ Hits        29198    29859     +661     
- Misses       2511     2540      +29     
Flag Coverage Δ
app 92.16% <93.98%> (+0.07%) ⬆️
server 97.36% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. and removed size:XXL This PR changes 1000+ lines, ignoring generated files. labels Sep 16, 2024
@vercel vercel bot temporarily deployed to Preview – lobe-chat-preview September 18, 2024 16:55 Inactive
@arvinxx arvinxx merged commit 0c42c46 into main Sep 18, 2024
10 of 11 checks passed
@arvinxx arvinxx deleted the feat/render-html branch September 18, 2024 17:45
@lobehubbot
Copy link
Member

❤️ Great PR @arvinxx ❤️

The growth of project is inseparable from user feedback and contribution, thanks for your contribution! If you are interesting with the lobehub developer community, please join our discord and then dm @arvinxx or @canisminor1990. They will invite you to our private developer channel. We are talking about the lobe-chat development or sharing ai newsletter around the world.
项目的成长离不开用户反馈和贡献,感谢您的贡献! 如果您对 LobeHub 开发者社区感兴趣,请加入我们的 discord,然后私信 @arvinxx@canisminor1990。他们会邀请您加入我们的私密开发者频道。我们将会讨论关于 Lobe Chat 的开发,分享和讨论全球范围内的 AI 消息。

github-actions bot pushed a commit that referenced this pull request Sep 18, 2024
## [Version&nbsp;1.19.0](v1.18.2...v1.19.0)
<sup>Released on **2024-09-18**</sup>

#### ✨ Features

- **misc**: Add Ai21Labs model provider, add Github Models provider, support native Artifacts just like Claude.

<br/>

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

#### What's improved

* **misc**: Add Ai21Labs model provider, closes [#3727](#3727) ([d2fe0f0](d2fe0f0))
* **misc**: Add Github Models provider, closes [#3869](#3869) ([8eac1bd](8eac1bd))
* **misc**: Support native Artifacts just like Claude, closes [#3985](#3985) ([0c42c46](0c42c46))

</details>

<div align="right">

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

</div>
@lobehubbot
Copy link
Member

🎉 This PR is included in version 1.19.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

github-actions bot pushed a commit to bentwnghk/lobe-chat that referenced this pull request Sep 19, 2024
## [Version&nbsp;1.62.0](v1.61.0...v1.62.0)
<sup>Released on **2024-09-19**</sup>

#### ✨ Features

- **misc**: Add Ai21Labs model provider, add Github Models provider, support native Artifacts just like Claude.

#### 🐛 Bug Fixes

- **misc**: Fix InterceptingRoutes in discover.

#### 💄 Styles

- **misc**: Add mistral provider new models.

<br/>

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

#### What's improved

* **misc**: Add Ai21Labs model provider, closes [lobehub#3727](https://github.com/bentwnghk/lobe-chat/issues/3727) ([d2fe0f0](d2fe0f0))
* **misc**: Add Github Models provider, closes [lobehub#3869](https://github.com/bentwnghk/lobe-chat/issues/3869) ([8eac1bd](8eac1bd))
* **misc**: Support native Artifacts just like Claude, closes [lobehub#3985](https://github.com/bentwnghk/lobe-chat/issues/3985) ([0c42c46](0c42c46))

#### What's fixed

* **misc**: Fix InterceptingRoutes in discover, closes [lobehub#4011](https://github.com/bentwnghk/lobe-chat/issues/4011) ([2b75040](2b75040))

#### Styles

* **misc**: Add mistral provider new models, closes [lobehub#4014](https://github.com/bentwnghk/lobe-chat/issues/4014) ([0b70d57](0b70d57))

</details>

<div align="right">

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

</div>
cy948 pushed a commit to cy948/lobe-chat that referenced this pull request Sep 21, 2024
* ✨ feat: 支持 AntThinking 渲染

* 🚧 wip: 支持 antArtifact 渲染

* 展示

* 展示

* 基本完成流式解析

* 基本完成流式解析

* ✨ feat: support svg render

* ✅ test: fix test

* 优化 lobeThinking 的解析

* i18n

* fix regex

* 💄 style: improve ui

* 🚸 style: improve ux

* i18n

* 💄 style: improve svg renderer

* 💄 style: improve svg renderer

* ✨ feat: 优化 html 类 renderer 效果

* ✨ feat: 支持 react renderer

* 💄 style: add tailwindcss

* fix style

* ✨ feat: 支持下载和复制图片

* ✅ test: fix tests

* i18n

* add tests
cy948 pushed a commit to cy948/lobe-chat that referenced this pull request Sep 21, 2024
## [Version&nbsp;1.19.0](lobehub/lobe-chat@v1.18.2...v1.19.0)
<sup>Released on **2024-09-18**</sup>

#### ✨ Features

- **misc**: Add Ai21Labs model provider, add Github Models provider, support native Artifacts just like Claude.

<br/>

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

#### What's improved

* **misc**: Add Ai21Labs model provider, closes [lobehub#3727](lobehub#3727) ([d2fe0f0](lobehub@d2fe0f0))
* **misc**: Add Github Models provider, closes [lobehub#3869](lobehub#3869) ([8eac1bd](lobehub@8eac1bd))
* **misc**: Support native Artifacts just like Claude, closes [lobehub#3985](lobehub#3985) ([0c42c46](lobehub@0c42c46))

</details>

<div align="right">

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

</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🌠 Feature Request New feature or request | 特性与建议 released size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
2 participants