Compare commits

...

2053 Commits

Author SHA1 Message Date
Arvin Xu 69dac2fc6e Merge branch 'main' into chore/try-react-compiler 2025-03-09 19:06:06 +08:00
Jonas Siewertsen 75c88425e0 📝 docs: Add NEXT_PUBLIC_ENABLE_NEXT_AUTH to clerk example (#6309) 2025-03-09 19:05:37 +08:00
samanhappy 30b2639c4b 💄 style(chat): auto send message from URL (#6497)
*  feat(chat): auto send message from URL

* introduce MessageFromUrl component
2025-03-09 19:01:59 +08:00
Rylan Cai 81867c413c 👷 chore: fix re-init in setup.sh (#6714) 2025-03-09 19:00:22 +08:00
Aloxaf f1ffc2c60c 💄 style: support openrouter claude 3.7 sonnet reasoning (#6806)
* feat: openrouter reasoning

* test: add test
2025-03-09 18:57:50 +08:00
gru-agent[bot] a9eadafd9f test: Add unit tests for the browserless function in the web crawler module (#6830)
Co-authored-by: gru-agent[bot] <185149714+gru-agent[bot]@users.noreply.github.com>
2025-03-09 18:11:24 +08:00
renovate[bot] 0e1146aa8d Update dependency lucide-react to ^0.479.0 (#6822)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-09 17:07:45 +08:00
lobehubbot 997ba159d2 📝 docs(bot): Auto sync agents & plugin to readme 2025-03-09 08:48:02 +00:00
semantic-release-bot ab8aa0a485 🔖 chore(release): v1.69.4 [skip ci]
### [Version&nbsp;1.69.4](https://github.com/lobehub/lobe-chat/compare/v1.69.3...v1.69.4)
<sup>Released on **2025-03-09**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix mistral can not chat.

<br/>

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

#### What's fixed

* **misc**: Fix mistral can not chat, closes [#6828](https://github.com/lobehub/lobe-chat/issues/6828) ([00cba71](https://github.com/lobehub/lobe-chat/commit/00cba71))

</details>

<div align="right">

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

</div>
2025-03-09 08:46:55 +00:00
Arvin Xu 00cba71e27 🐛 fix: fix mistral can not chat (#6828)
* ♻️ refactor: refactor the implement

* fix mistral issue

* improve log

* refactor to the getXXXStoreState

* fix tests
2025-03-09 16:38:20 +08:00
renovate[bot] 86544a8455 Update dependency @google/generative-ai to ^0.24.0 (#6820)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-09 11:50:57 +08:00
lobehubbot f3c49cfd6a 📝 docs(bot): Auto sync agents & plugin to readme 2025-03-08 02:17:04 +00:00
semantic-release-bot b6eeba5850 🔖 chore(release): v1.69.3 [skip ci]
### [Version&nbsp;1.69.3](https://github.com/lobehub/lobe-chat/compare/v1.69.2...v1.69.3)
<sup>Released on **2025-03-08**</sup>

#### 💄 Styles

- **misc**: Add login ui for next-auth.

<br/>

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

#### Styles

* **misc**: Add login ui for next-auth, closes [#6434](https://github.com/lobehub/lobe-chat/issues/6434) ([541f275](https://github.com/lobehub/lobe-chat/commit/541f275))

</details>

<div align="right">

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

</div>
2025-03-08 02:16:01 +00:00
renovate[bot] 963f7889de Update dependency framer-motion to v12 (#5597) 2025-03-08 10:07:29 +08:00
Rylan Cai 541f27591a 💄 style: Add login ui for next-auth (#6434) 2025-03-08 10:02:51 +08:00
lobehubbot 3fb966cf37 📝 docs(bot): Auto sync agents & plugin to readme 2025-03-07 18:51:56 +00:00
semantic-release-bot 17d0a0fade 🔖 chore(release): v1.69.2 [skip ci]
### [Version&nbsp;1.69.2](https://github.com/lobehub/lobe-chat/compare/v1.69.1...v1.69.2)
<sup>Released on **2025-03-07**</sup>

#### ♻ Code Refactoring

- **misc**: Refactor the agent runtime implement.

<br/>

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

#### Code refactoring

* **misc**: Refactor the agent runtime implement, closes [#6784](https://github.com/lobehub/lobe-chat/issues/6784) ([14a9874](https://github.com/lobehub/lobe-chat/commit/14a9874))

</details>

<div align="right">

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

</div>
2025-03-07 18:50:55 +00:00
Arvin Xu 14a98748bb ♻️ refactor: refactor the agent runtime implement (#6784)
* bump

* add uniform runtime

* fix tests

* upgrade
2025-03-08 02:42:18 +08:00
lobehubbot 38c564337a 📝 docs(bot): Auto sync agents & plugin to readme 2025-03-07 17:27:40 +00:00
semantic-release-bot 2382a35810 🔖 chore(release): v1.69.1 [skip ci]
### [Version&nbsp;1.69.1](https://github.com/lobehub/lobe-chat/compare/v1.69.0...v1.69.1)
<sup>Released on **2025-03-07**</sup>

#### 💄 Styles

- **misc**: Add Qwen QwQ model.

<br/>

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

#### Styles

* **misc**: Add Qwen QwQ model, closes [#6783](https://github.com/lobehub/lobe-chat/issues/6783) ([3d3c2ce](https://github.com/lobehub/lobe-chat/commit/3d3c2ce))

</details>

<div align="right">

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

</div>
2025-03-07 17:26:30 +00:00
sxjeru 3d3c2ce72f 💄 style: Add Qwen QwQ model (#6783)
* Update groq.ts

* Update siliconcloud.ts

* Update novita.ts

* Update google.ts
2025-03-08 01:17:47 +08:00
lobehubbot 7f82512b54 📝 docs(bot): Auto sync agents & plugin to readme 2025-03-07 11:38:03 +00:00
semantic-release-bot f678ca7c63 🔖 chore(release): v1.69.0 [skip ci]
## [Version&nbsp;1.69.0](https://github.com/lobehub/lobe-chat/compare/v1.68.11...v1.69.0)
<sup>Released on **2025-03-07**</sup>

####  Features

- **misc**: Support Anthropic Context Caching.

<br/>

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

#### What's improved

* **misc**: Support Anthropic Context Caching, closes [#6704](https://github.com/lobehub/lobe-chat/issues/6704) ([471e3ed](https://github.com/lobehub/lobe-chat/commit/471e3ed))

</details>

<div align="right">

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

</div>
2025-03-07 11:36:51 +00:00
dadong d9410b57c1 🐛fix: ignore epub2 compile error (#6779) 2025-03-07 19:28:15 +08:00
Arvin Xu 471e3ed499 feat: support Anthropic Context Caching (#6704) 2025-03-07 19:25:41 +08:00
lobehubbot d4b3581289 📝 docs(bot): Auto sync agents & plugin to readme 2025-03-07 10:11:27 +00:00
semantic-release-bot 80e291068f 🔖 chore(release): v1.68.11 [skip ci]
### [Version&nbsp;1.68.11](https://github.com/lobehub/lobe-chat/compare/v1.68.10...v1.68.11)
<sup>Released on **2025-03-07**</sup>

#### 💄 Styles

- **misc**: Add Gemini 2.0 Flash model variations, add QwQ models.

<br/>

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

#### Styles

* **misc**: Add Gemini 2.0 Flash model variations, closes [#6679](https://github.com/lobehub/lobe-chat/issues/6679) ([d5a8fcb](https://github.com/lobehub/lobe-chat/commit/d5a8fcb))
* **misc**: Add QwQ models, closes [#6770](https://github.com/lobehub/lobe-chat/issues/6770) ([cd30fcc](https://github.com/lobehub/lobe-chat/commit/cd30fcc))

</details>

<div align="right">

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

</div>
2025-03-07 10:10:17 +00:00
Zhijie He cd30fcc32d 💄 style: add QwQ models (#6770)
* 💄 style: add QwQ models

* 💄 style: update price

* 🐛 fix: fix `qwen-long` fc tag

* 🐛 fix: fix deepseek-v3 fc tag error
2025-03-07 18:01:39 +08:00
BrandonStudio d5a8fcb816 💄 style: Add Gemini 2.0 Flash model variations (#6679) 2025-03-07 17:54:17 +08:00
lobehubbot 94eb4ddf25 📝 docs(bot): Auto sync agents & plugin to readme 2025-03-06 19:01:15 +00:00
semantic-release-bot 300bf463ea 🔖 chore(release): v1.68.10 [skip ci]
### [Version&nbsp;1.68.10](https://github.com/lobehub/lobe-chat/compare/v1.68.9...v1.68.10)
<sup>Released on **2025-03-06**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix litellm streaming usage and refactor the usage chunk.

<br/>

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

#### What's fixed

* **misc**: Fix litellm streaming usage and refactor the usage chunk, closes [#6734](https://github.com/lobehub/lobe-chat/issues/6734) ([9f09952](https://github.com/lobehub/lobe-chat/commit/9f09952))

</details>

<div align="right">

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

</div>
2025-03-06 19:00:07 +00:00
TC 5824745ba1 📝 docs: update docs for providers (#6722)
* 📝 docs: update docs for providers

* 📝 docs: update provider doc

* docs: add doc for cloudflare

* 📝 docs: update provider docs

* 📝 docs: Update provider docs

* 🔧 chore: Update provider url

* 📝 docs: Update provider docs

* 📝 docs: Update provider docs

---------

Co-authored-by: GH Action - Upstream Sync <action@github.com>
2025-03-07 02:51:27 +08:00
Arvin Xu 9f099529f6 🐛 fix: fix litellm streaming usage and refactor the usage chunk (#6734)
* fix litellm usage

* update implement

* refactor to fix agent test

* update

* fix tests

* fix tests

* fix tests

* fix tests

* Update ui

* Update ui

* fix tests

* refactor token calc

* refactor token calc

* add cached display

* update i18n
2025-03-07 02:46:39 +08:00
lobehubbot 00a33bf702 📝 docs(bot): Auto sync agents & plugin to readme 2025-03-05 18:19:52 +00:00
semantic-release-bot 8f54b67085 🔖 chore(release): v1.68.9 [skip ci]
### [Version&nbsp;1.68.9](https://github.com/lobehub/lobe-chat/compare/v1.68.8...v1.68.9)
<sup>Released on **2025-03-05**</sup>

#### 💄 Styles

- **misc**: Add epub file chunk split support.

<br/>

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

#### Styles

* **misc**: Add epub file chunk split support, closes [#6317](https://github.com/lobehub/lobe-chat/issues/6317) ([a79ab7a](https://github.com/lobehub/lobe-chat/commit/a79ab7a))

</details>

<div align="right">

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

</div>
2025-03-05 18:18:48 +00:00
dadong a79ab7abe5 💄 style: add epub file chunk split support (#6317)
* feat: add epub file chunk split support

* test: add unit test for epub chunk splitter

---------

Co-authored-by: stevendong <steven.dadong@gmail.com>
2025-03-06 02:10:06 +08:00
lobehubbot 847cd330a7 📝 docs(bot): Auto sync agents & plugin to readme 2025-03-05 17:35:07 +00:00
semantic-release-bot e170384593 🔖 chore(release): v1.68.8 [skip ci]
### [Version&nbsp;1.68.8](https://github.com/lobehub/lobe-chat/compare/v1.68.7...v1.68.8)
<sup>Released on **2025-03-05**</sup>

#### 💄 Styles

- **misc**: Improve openrouter models info.

<br/>

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

#### Styles

* **misc**: Improve openrouter models info, closes [#6708](https://github.com/lobehub/lobe-chat/issues/6708) ([5693e68](https://github.com/lobehub/lobe-chat/commit/5693e68))

</details>

<div align="right">

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

</div>
2025-03-05 17:34:08 +00:00
Aloxaf 5693e6839a 💄 style: improve openrouter models info (#6708)
* fix: openrouter model info

* fix: empty price

* fix: releasedAt is missing

* chore: fix comment

* fix: more accurate result

* test: update snapshots

* fix: improve pricing formatting
2025-03-06 01:25:30 +08:00
lobehubbot 15d96d52a4 📝 docs(bot): Auto sync agents & plugin to readme 2025-03-05 05:32:52 +00:00
semantic-release-bot 468482e6c0 🔖 chore(release): v1.68.7 [skip ci]
### [Version&nbsp;1.68.7](https://github.com/lobehub/lobe-chat/compare/v1.68.6...v1.68.7)
<sup>Released on **2025-03-05**</sup>

#### ♻ Code Refactoring

- **misc**: Refactor agent runtime to better code format.

<br/>

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

#### Code refactoring

* **misc**: Refactor agent runtime to better code format, closes [#6284](https://github.com/lobehub/lobe-chat/issues/6284) ([fc1ed4a](https://github.com/lobehub/lobe-chat/commit/fc1ed4a))

</details>

<div align="right">

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

</div>
2025-03-05 05:31:48 +00:00
Arvin Xu fc1ed4a4d1 ♻️ refactor: refactor agent runtime to better code format (#6284)
* refactor agent runtime

* update

* update

* fix

* fix tests

* refactor runtime method name
2025-03-05 13:23:12 +08:00
lobehubbot cb26cde322 📝 docs(bot): Auto sync agents & plugin to readme 2025-03-05 03:55:50 +00:00
semantic-release-bot f9310fca43 🔖 chore(release): v1.68.6 [skip ci]
### [Version&nbsp;1.68.6](https://github.com/lobehub/lobe-chat/compare/v1.68.5...v1.68.6)
<sup>Released on **2025-03-05**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix custom ai provider sdk type.

<br/>

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

#### What's fixed

* **misc**: Fix custom ai provider sdk type, closes [#6712](https://github.com/lobehub/lobe-chat/issues/6712) ([7f8c379](https://github.com/lobehub/lobe-chat/commit/7f8c379))

</details>

<div align="right">

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

</div>
2025-03-05 03:54:46 +00:00
Arvin Xu 7f8c3791a4 🐛 fix: fix custom ai provider sdk type (#6712)
* fix issue

* update locale
2025-03-05 11:46:23 +08:00
lobehubbot c814c31b52 📝 docs(bot): Auto sync agents & plugin to readme 2025-03-04 18:04:24 +00:00
semantic-release-bot 8c170024b2 🔖 chore(release): v1.68.5 [skip ci]
### [Version&nbsp;1.68.5](https://github.com/lobehub/lobe-chat/compare/v1.68.4...v1.68.5)
<sup>Released on **2025-03-04**</sup>

#### 💄 Styles

- **misc**: Fix provider order.

<br/>

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

#### Styles

* **misc**: Fix provider order, closes [#6702](https://github.com/lobehub/lobe-chat/issues/6702) ([27e4980](https://github.com/lobehub/lobe-chat/commit/27e4980))

</details>

<div align="right">

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

</div>
2025-03-04 18:03:22 +00:00
Arvin Xu 27e4980a05 💄 style: fix provider order (#6702) 2025-03-05 01:54:50 +08:00
lobehubbot 4011a1e5fa 📝 docs(bot): Auto sync agents & plugin to readme 2025-03-04 14:59:37 +00:00
semantic-release-bot eceb618fd8 🔖 chore(release): v1.68.4 [skip ci]
### [Version&nbsp;1.68.4](https://github.com/lobehub/lobe-chat/compare/v1.68.3...v1.68.4)
<sup>Released on **2025-03-04**</sup>

#### 💄 Styles

- **misc**: Support to show token usages.

<br/>

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

#### Styles

* **misc**: Support to show token usages, closes [#6693](https://github.com/lobehub/lobe-chat/issues/6693) ([71a638e](https://github.com/lobehub/lobe-chat/commit/71a638e))

</details>

<div align="right">

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

</div>
2025-03-04 14:58:25 +00:00
TC 57d56d3ada 📝 docs: Update provider docs (#6701)
* 📝 docs: update docs for providers

* 📝 docs: update provider doc

* docs: add doc for cloudflare

* 📝 docs: update provider docs

* 📝 docs: Update provider docs

* 🔧 chore: Update provider url

---------

Co-authored-by: GH Action - Upstream Sync <action@github.com>
2025-03-04 22:49:47 +08:00
Zhijie He eb6b0b2118 👷 build: add ENABLE_PROXY_DNS env (#6690) 2025-03-04 22:49:08 +08:00
Arvin Xu 71a638e61e 💄 style: support to show token usages (#6693)
* update

* support token streaming

* fix tests

* fix lint
2025-03-04 22:38:24 +08:00
gru-agent[bot] ccb56cd9ff test: Add unit tests for the jina crawler functionality in jina.test.ts. (#6671)
Co-authored-by: gru-agent[bot] <185149714+gru-agent[bot]@users.noreply.github.com>
2025-03-04 00:45:39 +08:00
lobehubbot b0d6af2882 📝 docs(bot): Auto sync agents & plugin to readme 2025-03-03 15:47:59 +00:00
semantic-release-bot 2e7ef1e79f 🔖 chore(release): v1.68.3 [skip ci]
### [Version&nbsp;1.68.3](https://github.com/lobehub/lobe-chat/compare/v1.68.2...v1.68.3)
<sup>Released on **2025-03-03**</sup>

#### 🐛 Bug Fixes

- **misc**: Improve url rules.

<br/>

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

#### What's fixed

* **misc**: Improve url rules, closes [#6669](https://github.com/lobehub/lobe-chat/issues/6669) ([5ee59e3](https://github.com/lobehub/lobe-chat/commit/5ee59e3))

</details>

<div align="right">

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

</div>
2025-03-03 15:46:59 +00:00
Arvin Xu 5ee59e3c91 🐛 fix: improve url rules (#6669)
* improve code

* improve code
2025-03-03 23:38:35 +08:00
lobehubbot 1a0330c23e 📝 docs(bot): Auto sync agents & plugin to readme 2025-03-03 15:00:58 +00:00
semantic-release-bot 28ee9d48e3 🔖 chore(release): v1.68.2 [skip ci]
### [Version&nbsp;1.68.2](https://github.com/lobehub/lobe-chat/compare/v1.68.1...v1.68.2)
<sup>Released on **2025-03-03**</sup>

#### 💄 Styles

- **misc**: Add build-in web search support for Wenxin & Hunyuan.

<br/>

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

#### Styles

* **misc**: Add build-in web search support for Wenxin & Hunyuan, closes [#6617](https://github.com/lobehub/lobe-chat/issues/6617) ([dfd1f09](https://github.com/lobehub/lobe-chat/commit/dfd1f09))

</details>

<div align="right">

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

</div>
2025-03-03 14:59:55 +00:00
Zhijie He dfd1f093fe 💄 style: add build-in web search support for Wenxin & Hunyuan (#6617)
*  feat: add build-in web search support for Wenxin

* 🐛 fix: fix web_search calling issue

*  feat: add support wenxin `search_results` stream

*  feat: add `search_info` stream support for Hunyuan

* 🔨 chore: minor logic

* 🔨 chore: add unit test

* 🐛 fix: try to fix ci error

* 🐛 fix: fix ci error
2025-03-03 22:51:13 +08:00
lobehubbot 6f7cf45493 📝 docs(bot): Auto sync agents & plugin to readme 2025-03-03 12:23:12 +00:00
semantic-release-bot 9c4c72338c 🔖 chore(release): v1.68.1 [skip ci]
### [Version&nbsp;1.68.1](https://github.com/lobehub/lobe-chat/compare/v1.68.0...v1.68.1)
<sup>Released on **2025-03-03**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix page crash with crawler error.

<br/>

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

#### What's fixed

* **misc**: Fix page crash with crawler error, closes [#6662](https://github.com/lobehub/lobe-chat/issues/6662) ([0c24251](https://github.com/lobehub/lobe-chat/commit/0c24251))

</details>

<div align="right">

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

</div>
2025-03-03 12:22:10 +00:00
Arvin Xu 0c242515af 🐛 fix: Fix page crash with crawler error (#6662)
* try to fix issue

* fix

* fix types

* fix tests

* update docs
2025-03-03 20:12:28 +08:00
lobehubbot a5fc7146e8 📝 docs(bot): Auto sync agents & plugin to readme 2025-03-03 09:33:35 +00:00
semantic-release-bot 307eeb0ba4 🔖 chore(release): v1.68.0 [skip ci]
## [Version&nbsp;1.68.0](https://github.com/lobehub/lobe-chat/compare/v1.67.2...v1.68.0)
<sup>Released on **2025-03-03**</sup>

####  Features

- **misc**: Add new model provider PPIO.

#### 🐛 Bug Fixes

- **misc**: Fix search web-browsing display bug.

<br/>

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

#### What's improved

* **misc**: Add new model provider PPIO, closes [#6133](https://github.com/lobehub/lobe-chat/issues/6133) ([23a3fda](https://github.com/lobehub/lobe-chat/commit/23a3fda))

#### What's fixed

* **misc**: Fix search web-browsing display bug, closes [#6653](https://github.com/lobehub/lobe-chat/issues/6653) ([f472643](https://github.com/lobehub/lobe-chat/commit/f472643))

</details>

<div align="right">

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

</div>
2025-03-03 09:32:06 +00:00
cnJasonZ 23a3fdaee9 feat: add new model provider PPIO (#6133)
* feat: add new model provider PPIO

* feat: add usage docs; fix model configs

* fix: fix ppio runtime; fix model configs

* fix: fix default model list

* fix

* fix: fix locales providers.json

---------

Co-authored-by: Jason <ggbbddjm@gmail.com>
Co-authored-by: arvinxx <arvinx@foxmail.com>
2025-03-03 17:23:28 +08:00
Arvin Xu f4726438da 🐛 fix: fix search web-browsing display bug (#6653) 2025-03-03 17:22:00 +08:00
Rylan Cai 53f20f511f 📝 docs: Add env to enable NextAuth (#6627)
* 📝 docs: add env to enable NextAuth

* 📝 docs: update desc
2025-03-03 13:36:32 +08:00
gru-agent[bot] 969de07a94 test: Add unit tests for applyUrlRules function to cover various URL transformation scenarios (#6640)
* Add unit tests for applyUrlRules function to cover various scenarios and edge cases.

* Add unit tests for applyUrlRules function to cover various URL transformation scenarios.

---------

Co-authored-by: gru-agent[bot] <185149714+gru-agent[bot]@users.noreply.github.com>
2025-03-03 11:16:18 +08:00
Arvin Xu 54ebd3dd5a 🔨 chore: upgrade anthropic SDK (#6646) 2025-03-03 11:02:47 +08:00
gru-agent[bot] 15d8a3564b test: Add tests for crawlMultiPages action to handle content truncation and error responses. (#6641)
Co-authored-by: gru-agent[bot] <185149714+gru-agent[bot]@users.noreply.github.com>
2025-03-03 10:26:03 +08:00
gru-agent[bot] 958693d7a3 test: Add unit tests for the Crawler class to verify crawling functionality and error handling. (#6638)
Co-authored-by: gru-agent[bot] <185149714+gru-agent[bot]@users.noreply.github.com>
2025-03-03 10:22:45 +08:00
gru-agent[bot] 87ad586c4a test: Add unit tests for searchRouter functionality in search.test.ts (#6642)
Co-authored-by: gru-agent[bot] <185149714+gru-agent[bot]@users.noreply.github.com>
2025-03-03 10:21:19 +08:00
lobehubbot 0fb7ff82c7 📝 docs(bot): Auto sync agents & plugin to readme 2025-03-02 15:51:45 +00:00
semantic-release-bot 6b25f28e66 🔖 chore(release): v1.67.2 [skip ci]
### [Version&nbsp;1.67.2](https://github.com/lobehub/lobe-chat/compare/v1.67.1...v1.67.2)
<sup>Released on **2025-03-02**</sup>

#### 🐛 Bug Fixes

- **misc**: Improve some crawl case.

<br/>

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

#### What's fixed

* **misc**: Improve some crawl case, closes [#6634](https://github.com/lobehub/lobe-chat/issues/6634) ([d38ab02](https://github.com/lobehub/lobe-chat/commit/d38ab02))

</details>

<div align="right">

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

</div>
2025-03-02 15:50:46 +00:00
Arvin Xu d38ab02677 🐛 fix: improve some crawl case (#6634)
* improve code

* zhihu zhuan lan
2025-03-02 23:42:23 +08:00
lobehubbot b51b4fd2b3 📝 docs(bot): Auto sync agents & plugin to readme 2025-03-02 14:08:37 +00:00
semantic-release-bot 27e1452d17 🔖 chore(release): v1.67.1 [skip ci]
### [Version&nbsp;1.67.1](https://github.com/lobehub/lobe-chat/compare/v1.67.0...v1.67.1)
<sup>Released on **2025-03-02**</sup>

<br/>

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

</details>

<div align="right">

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

</div>
2025-03-02 14:07:34 +00:00
Arvin Xu c599fcc3aa 👷 build: fix docker build failed (#6628)
* try to fix

* try to fix

* try to fix

* fix docker build

* try to fix

* try to fix docker build

* try to fix docker build

* update docs

* try  to not copy pg and drizzle orm

* remove /deps

* update
2025-03-02 21:58:57 +08:00
lobehubbot e01686cf23 📝 docs(bot): Auto sync agents & plugin to readme 2025-03-02 08:54:16 +00:00
semantic-release-bot f7a7c1e5e9 🔖 chore(release): v1.67.0 [skip ci]
## [Version&nbsp;1.67.0](https://github.com/lobehub/lobe-chat/compare/v1.66.6...v1.67.0)
<sup>Released on **2025-03-02**</sup>

####  Features

- **misc**: Support web page crawl in the search.

<br/>

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

#### What's improved

* **misc**: Support web page crawl in the search, closes [#6582](https://github.com/lobehub/lobe-chat/issues/6582) ([5e02602](https://github.com/lobehub/lobe-chat/commit/5e02602))

</details>

<div align="right">

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

</div>
2025-03-02 08:53:17 +00:00
Arvin Xu 5e02602457 feat: support web page crawl in the search (#6582)
* test pnpm workspace

* test bun workspace

* add crawler mode

* improve pure fetch result

* update

* improve result

* improve code

* update

* fix

* 完成 urlRules 规则集合设计

* 增加爬虫展示 ui

* 增加爬虫展示 Portal

* update

* update

* improve

* update i18n

* support view multi pages

* improve implement

* improve code

* refactor the web-browsing system prompt

* improve code

* fix open
2025-03-02 16:39:32 +08:00
lobehubbot 8bf1b9062a 📝 docs(bot): Auto sync agents & plugin to readme 2025-03-02 06:18:03 +00:00
semantic-release-bot 347f821266 🔖 chore(release): v1.66.6 [skip ci]
### [Version&nbsp;1.66.6](https://github.com/lobehub/lobe-chat/compare/v1.66.5...v1.66.6)
<sup>Released on **2025-03-02**</sup>

#### 💄 Styles

- **misc**: Add `gpt-4.5-preview` for OpenAI.

<br/>

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

#### Styles

* **misc**: Add `gpt-4.5-preview` for OpenAI, closes [#6618](https://github.com/lobehub/lobe-chat/issues/6618) ([3ec3af0](https://github.com/lobehub/lobe-chat/commit/3ec3af0))

</details>

<div align="right">

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

</div>
2025-03-02 06:16:42 +00:00
Zhijie He 3ec3af025b 💄 style: add gpt-4.5-preview for OpenAI (#6618) 2025-03-02 14:08:12 +08:00
lobehubbot 44aab4d809 📝 docs(bot): Auto sync agents & plugin to readme 2025-03-02 03:32:12 +00:00
renovate[bot] 5ba7f4152c Update pnpm to v9.15.6 (#6619)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-02 11:22:25 +08:00
renovate[bot] 9cabc7b99d Update dependency drizzle-orm to ^0.40.0 (#6622)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-02 11:22:07 +08:00
renovate[bot] ffea8bf4e8 Update dependency lucide-react to ^0.477.0 (#6623)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-02 11:21:33 +08:00
renovate[bot] c9f90a6ca5 Update dependency @auth/core to ^0.38.0 (#6621)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-02 11:20:54 +08:00
renovate[bot] 4a9980bcd8 Update dependency react-scan to ^0.2.0 (#6624)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-02 11:20:46 +08:00
Arvin Xu 8263956cb7 test: fix tests (#6616) 2025-03-01 23:29:34 +08:00
lobehubbot ad01dd2975 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-28 04:47:34 +00:00
semantic-release-bot 061613830c 🔖 chore(release): v1.66.5 [skip ci]
### [Version&nbsp;1.66.5](https://github.com/lobehub/lobe-chat/compare/v1.66.4...v1.66.5)
<sup>Released on **2025-02-28**</sup>

#### 💄 Styles

- **misc**: Improve portal style.

<br/>

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

#### Styles

* **misc**: Improve portal style, closes [#6588](https://github.com/lobehub/lobe-chat/issues/6588) ([55b5416](https://github.com/lobehub/lobe-chat/commit/55b5416))

</details>

<div align="right">

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

</div>
2025-02-28 04:46:34 +00:00
Arvin Xu 55b541615c 💄 style: improve portal style (#6588)
* improve portal style

* update style

* improve
2025-02-28 12:38:13 +08:00
lobehubbot 302e7d7439 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-28 03:35:35 +00:00
semantic-release-bot 53b5e06df7 🔖 chore(release): v1.66.4 [skip ci]
### [Version&nbsp;1.66.4](https://github.com/lobehub/lobe-chat/compare/v1.66.3...v1.66.4)
<sup>Released on **2025-02-28**</sup>

#### 💄 Styles

- **misc**: Optimize smooth output.

<br/>

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

#### Styles

* **misc**: Optimize smooth output, closes [#5824](https://github.com/lobehub/lobe-chat/issues/5824) ([7a84ad9](https://github.com/lobehub/lobe-chat/commit/7a84ad9))

</details>

<div align="right">

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

</div>
2025-02-28 03:34:18 +00:00
sxjeru 7a84ad9b8d 💄 style: Optimize smooth output (#5824)
* 后台继续平滑输出

* 补回注释

* Update fetchSSE.ts

* Update fetchSSE.test.ts

* 👌优化代码

* 👌一次性输出剩余内容

* 👌

* 👌英文数字二倍速输出

* 👌根据待输出字符动态调整输出速度

* Update fetchSSE.ts

* Update fetchSSE.test.ts

* Update fetchSSE.ts

* Update fetchSSE.test.ts

* Update fetchSSE.test.ts

* Update fetchSSE.test.ts
2025-02-28 11:26:02 +08:00
lobehubbot 55679a0f6f 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-27 16:37:05 +00:00
semantic-release-bot 8ef42f3b69 🔖 chore(release): v1.66.3 [skip ci]
### [Version&nbsp;1.66.3](https://github.com/lobehub/lobe-chat/compare/v1.66.2...v1.66.3)
<sup>Released on **2025-02-27**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix fetch assistants plugin error.

<br/>

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

#### What's fixed

* **misc**: Fix fetch assistants plugin error, closes [#6576](https://github.com/lobehub/lobe-chat/issues/6576) ([9669a02](https://github.com/lobehub/lobe-chat/commit/9669a02))

</details>

<div align="right">

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

</div>
2025-02-27 16:36:02 +00:00
vual 9669a02f14 🐛 fix: fix fetch assistants plugin error (#6576) 2025-02-28 00:27:34 +08:00
triwinds fa938f9b12 🔨 chore: add missing restart: always on network-service (#6581) 2025-02-27 23:13:44 +08:00
lobehubbot 357b4d4320 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-27 09:39:04 +00:00
semantic-release-bot dd6863e34e 🔖 chore(release): v1.66.2 [skip ci]
### [Version&nbsp;1.66.2](https://github.com/lobehub/lobe-chat/compare/v1.66.1...v1.66.2)
<sup>Released on **2025-02-27**</sup>

#### 🐛 Bug Fixes

- **misc**: Update Claude sonnet 3.7 model ID.

<br/>

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

#### What's fixed

* **misc**: Update Claude sonnet 3.7 model ID, closes [#6567](https://github.com/lobehub/lobe-chat/issues/6567) ([d1039d6](https://github.com/lobehub/lobe-chat/commit/d1039d6))

</details>

<div align="right">

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

</div>
2025-02-27 09:37:56 +00:00
Lightmani d1039d6838 🐛 fix: Update Claude sonnet 3.7 model ID (#6567)
* Update bedrock.ts

* Update bedrock.ts

* Update bedrock.ts
2025-02-27 17:29:38 +08:00
Arvin Xu 3bcb5c01a7 🐛 fix: fix anthropic tools calling issue (#6566)
* fix

* fix non-empty response

* fix edge cases

* make thinking undefault
2025-02-27 17:29:31 +08:00
lobehubbot ec4c7820f7 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-27 05:40:29 +00:00
semantic-release-bot 57fd3e9842 🔖 chore(release): v1.66.1 [skip ci]
### [Version&nbsp;1.66.1](https://github.com/lobehub/lobe-chat/compare/v1.66.0...v1.66.1)
<sup>Released on **2025-02-27**</sup>

#### 💄 Styles

- **misc**: Added eu-central-1 region for bedrock.

<br/>

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

#### Styles

* **misc**: Added eu-central-1 region for bedrock, closes [#6555](https://github.com/lobehub/lobe-chat/issues/6555) ([6f1e599](https://github.com/lobehub/lobe-chat/commit/6f1e599))

</details>

<div align="right">

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

</div>
2025-02-27 05:39:30 +00:00
Arjun Reddy 6f1e599e2f 💄 style: added eu-central-1 region for bedrock (#6555) 2025-02-27 13:31:00 +08:00
lobehubbot 4af5b2775c 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-27 04:00:38 +00:00
semantic-release-bot 095ceb24f0 🔖 chore(release): v1.66.0 [skip ci]
## [Version&nbsp;1.66.0](https://github.com/lobehub/lobe-chat/compare/v1.65.2...v1.66.0)
<sup>Released on **2025-02-27**</sup>

####  Features

- **misc**: Add online search support for available providers.

<br/>

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

#### What's improved

* **misc**: Add online search support for available providers, closes [#6475](https://github.com/lobehub/lobe-chat/issues/6475) ([cb0a3bc](https://github.com/lobehub/lobe-chat/commit/cb0a3bc))

</details>

<div align="right">

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

</div>
2025-02-27 03:59:37 +00:00
Zhijie He cb0a3bc2fc feat: add online search support for available providers (#6475)
*  feat: add online search support for available providers

* 🔨 chore: rollback changes for minimax
2025-02-27 11:51:10 +08:00
lobehubbot 257a87e664 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-27 03:17:35 +00:00
semantic-release-bot e4663ece64 🔖 chore(release): v1.65.2 [skip ci]
### [Version&nbsp;1.65.2](https://github.com/lobehub/lobe-chat/compare/v1.65.1...v1.65.2)
<sup>Released on **2025-02-27**</sup>

#### 💄 Styles

- **misc**: Support parsing the search flag when parsing the model list, Update Gemini & Qwen models.

<br/>

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

#### Styles

* **misc**: Support parsing the search flag when parsing the model list, closes [#6546](https://github.com/lobehub/lobe-chat/issues/6546) ([8c768ed](https://github.com/lobehub/lobe-chat/commit/8c768ed))
* **misc**: Update Gemini & Qwen models, closes [#6531](https://github.com/lobehub/lobe-chat/issues/6531) ([efde928](https://github.com/lobehub/lobe-chat/commit/efde928))

</details>

<div align="right">

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

</div>
2025-02-27 03:16:23 +00:00
sxjeru efde928302 💄 style: Update Gemini & Qwen models (#6531)
* Update google.ts

* Update groq.ts

* Update qwen.ts

* Update index.tsx
2025-02-27 11:08:04 +08:00
wzdnzd 8c768ed12c 💄 style: support parsing the search flag when parsing the model list (#6546)
* feat: support parsing the search flag when parsing the model list

* test: add unit test for src/utils/parseModels.ts
2025-02-27 11:06:33 +08:00
Arvin Xu 8d6b78f9f8 🔨 chore: upgrade next to 15.2 (#6557) 2025-02-27 10:44:52 +08:00
Arvin Xu 47efd1ba43 🔨 chore: improve setup.sh to download searxng file (#6552) 2025-02-26 23:42:22 +08:00
Kaco 9a14ee6211 📝 docs: Add searxng to docker compose (#6509)
* Add searxng to docker compose

* Update docker-compose.yml

Block external access to port 8080

---------

Co-authored-by: Kaco <leungkaco@gmail.com>
2025-02-26 22:47:39 +08:00
lobehubbot 80bf865e77 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-26 11:13:39 +00:00
semantic-release-bot 41fd9829b1 🔖 chore(release): v1.65.1 [skip ci]
### [Version&nbsp;1.65.1](https://github.com/lobehub/lobe-chat/compare/v1.65.0...v1.65.1)
<sup>Released on **2025-02-26**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix claude 3.7 sonnet thinking with tool use.

<br/>

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

#### What's fixed

* **misc**: Fix claude 3.7 sonnet thinking with tool use, closes [#6528](https://github.com/lobehub/lobe-chat/issues/6528) ([a76d2bf](https://github.com/lobehub/lobe-chat/commit/a76d2bf))

</details>

<div align="right">

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

</div>
2025-02-26 11:12:40 +00:00
Arvin Xu a76d2bff77 🐛 fix: fix claude 3.7 sonnet thinking with tool use (#6528)
* fix thinking

* try to fix claude thinking with tools calling

* fix

* update

* add tests

* fix tests

* add tests

* add tests

* improve  anthropic
2025-02-26 19:04:09 +08:00
lobehubbot 3659bbc2cb 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-25 17:37:05 +00:00
semantic-release-bot 0f6c7fa6fb 🔖 chore(release): v1.65.0 [skip ci]
## [Version&nbsp;1.65.0](https://github.com/lobehub/lobe-chat/compare/v1.64.3...v1.65.0)
<sup>Released on **2025-02-25**</sup>

####  Features

- **misc**: Support claude sonnet 3.7  thinking.

#### 💄 Styles

- **misc**: Update Gemini 2.0 search settings.

<br/>

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

#### What's improved

* **misc**: Support claude sonnet 3.7  thinking, closes [#6515](https://github.com/lobehub/lobe-chat/issues/6515) ([bc9829f](https://github.com/lobehub/lobe-chat/commit/bc9829f))

#### Styles

* **misc**: Update Gemini 2.0 search settings, closes [#6516](https://github.com/lobehub/lobe-chat/issues/6516) ([250bbcb](https://github.com/lobehub/lobe-chat/commit/250bbcb))

</details>

<div align="right">

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

</div>
2025-02-25 17:36:00 +00:00
sxjeru 250bbcbd55 💄 style: Update Gemini 2.0 search settings (#6516) 2025-02-26 01:27:14 +08:00
Arvin Xu bc9829fa1f feat: support claude sonnet 3.7 thinking (#6515)
* add claude thinking

* update code

* support anthropic thinking

* update i18n

* update i18n

* fix snapshot

* fix tests
2025-02-26 01:26:22 +08:00
lobehubbot 41acc241e2 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-25 15:57:41 +00:00
semantic-release-bot e82a2de4a4 🔖 chore(release): v1.64.3 [skip ci]
### [Version&nbsp;1.64.3](https://github.com/lobehub/lobe-chat/compare/v1.64.2...v1.64.3)
<sup>Released on **2025-02-25**</sup>

#### 💄 Styles

- **misc**: Add Claude 3.7 Sonnet and Haiku 3.5.

<br/>

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

#### Styles

* **misc**: Add Claude 3.7 Sonnet and Haiku 3.5, closes [#6512](https://github.com/lobehub/lobe-chat/issues/6512) ([c8db2bb](https://github.com/lobehub/lobe-chat/commit/c8db2bb))

</details>

<div align="right">

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

</div>
2025-02-25 15:56:41 +00:00
Liav Arnon c8db2bb273 💄 style: add Claude 3.7 Sonnet and Haiku 3.5 (#6512)
* add claude3.7 and bedrock

* add descriptions

* add reasoning to claude 3.7

* add claude 3.7 to bedrock

* added abilities

* retrieve deleted claude 3.5 v1 to bedrock

* reorderd abilities and added max output

* fix lint

---------

Co-authored-by: arvinxx <arvinx@foxmail.com>
2025-02-25 23:48:25 +08:00
gru-agent[bot] 69f85558b7 test: Add unit tests for searXNG actions in the chat store. (#6502)
Co-authored-by: gru-agent[bot] <185149714+gru-agent[bot]@users.noreply.github.com>
2025-02-25 15:16:56 +08:00
lobehubbot 2c336cf3da 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-25 06:23:40 +00:00
semantic-release-bot ae84362fdf 🔖 chore(release): v1.64.2 [skip ci]
### [Version&nbsp;1.64.2](https://github.com/lobehub/lobe-chat/compare/v1.64.1...v1.64.2)
<sup>Released on **2025-02-25**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix 0 search results with specific search engine.

<br/>

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

#### What's fixed

* **misc**: Fix 0 search results with specific search engine, closes [#6487](https://github.com/lobehub/lobe-chat/issues/6487) ([74a09e2](https://github.com/lobehub/lobe-chat/commit/74a09e2))

</details>

<div align="right">

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

</div>
2025-02-25 06:22:40 +00:00
Arvin Xu 74a09e27ff 🐛 fix: fix 0 search results with specific search engine (#6487)
* update

* improve plugin loading state

* improve loading style

* update favicon

* improve search display

* add search results

* fix lint
2025-02-25 14:14:14 +08:00
lobehubbot 237cc76318 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-25 03:35:49 +00:00
semantic-release-bot 27d00ff2ec 🔖 chore(release): v1.64.1 [skip ci]
### [Version&nbsp;1.64.1](https://github.com/lobehub/lobe-chat/compare/v1.64.0...v1.64.1)
<sup>Released on **2025-02-25**</sup>

#### 🐛 Bug Fixes

- **misc**: Disable fc for ds-v3 series.

<br/>

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

#### What's fixed

* **misc**: Disable fc for ds-v3 series, closes [#6486](https://github.com/lobehub/lobe-chat/issues/6486) ([0092213](https://github.com/lobehub/lobe-chat/commit/0092213))

</details>

<div align="right">

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

</div>
2025-02-25 03:34:49 +00:00
Rylan Cai 00922134c1 🐛 fix: disable fc for ds-v3 series (#6486) 2025-02-25 11:26:31 +08:00
lobehubbot e65bb09792 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-24 18:59:54 +00:00
semantic-release-bot ef45b3604d 🔖 chore(release): v1.64.0 [skip ci]
## [Version&nbsp;1.64.0](https://github.com/lobehub/lobe-chat/compare/v1.63.3...v1.64.0)
<sup>Released on **2025-02-24**</sup>

####  Features

- **misc**: Support application search with searchXNG.

<br/>

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

#### What's improved

* **misc**: Support application search with searchXNG, closes [#6452](https://github.com/lobehub/lobe-chat/issues/6452) ([b61b5fc](https://github.com/lobehub/lobe-chat/commit/b61b5fc))

</details>

<div align="right">

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

</div>
2025-02-24 18:58:53 +00:00
Arvin Xu b61b5fcb03 feat: support application search with searchXNG (#6452)
*  feat: add builtin search with SearXNG

* ♻️ refactor: refactor the plugin error

* add impl

* update search

* improve search card style

* fix lint

* fix calling

* update i18n

* fix tests

* refactor the portal plugin design

* update i18n

* update

* fix tests

* add search header tag

* refactor for the search visible
2025-02-25 02:50:31 +08:00
lobehubbot 337fcffdb2 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-24 04:08:38 +00:00
semantic-release-bot fb18f5a95c 🔖 chore(release): v1.63.3 [skip ci]
### [Version&nbsp;1.63.3](https://github.com/lobehub/lobe-chat/compare/v1.63.2...v1.63.3)
<sup>Released on **2025-02-24**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix citation=null issue in stream.

<br/>

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

#### What's fixed

* **misc**: Fix citation=null issue in stream, closes [#6461](https://github.com/lobehub/lobe-chat/issues/6461) ([3f9498e](https://github.com/lobehub/lobe-chat/commit/3f9498e))

</details>

<div align="right">

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

</div>
2025-02-24 04:07:34 +00:00
Arvin Xu 3f9498e2d1 🐛 fix: fix citation=null issue in stream (#6461) 2025-02-24 11:58:54 +08:00
gru-agent[bot] 93d982f992 test: Add test to verify inclusion of settings property from builtin model in AiInfraRepos. (#6462)
Co-authored-by: gru-agent[bot] <185149714+gru-agent[bot]@users.noreply.github.com>
2025-02-24 11:39:37 +08:00
lobehubbot 86f563f51a 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-24 03:09:33 +00:00
semantic-release-bot ad0fe99947 🔖 chore(release): v1.63.2 [skip ci]
### [Version&nbsp;1.63.2](https://github.com/lobehub/lobe-chat/compare/v1.63.1...v1.63.2)
<sup>Released on **2025-02-24**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix model settings config.

<br/>

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

#### What's fixed

* **misc**: Fix model settings config, closes [#6459](https://github.com/lobehub/lobe-chat/issues/6459) ([469bd10](https://github.com/lobehub/lobe-chat/commit/469bd10))

</details>

<div align="right">

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

</div>
2025-02-24 03:08:30 +00:00
Arvin Xu 469bd10cc4 🐛 fix: fix model settings config (#6459) 2025-02-24 11:00:04 +08:00
lobehubbot 0d4e62558a 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-23 17:52:36 +00:00
semantic-release-bot 7cd78d0efd 🔖 chore(release): v1.63.1 [skip ci]
### [Version&nbsp;1.63.1](https://github.com/lobehub/lobe-chat/compare/v1.63.0...v1.63.1)
<sup>Released on **2025-02-23**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix groq location request.

#### 💄 Styles

- **misc**: Improve plugin calling style.

<br/>

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

#### What's fixed

* **misc**: Fix groq location request, closes [#6449](https://github.com/lobehub/lobe-chat/issues/6449) ([8c8af6b](https://github.com/lobehub/lobe-chat/commit/8c8af6b))

#### Styles

* **misc**: Improve plugin calling style, closes [#6446](https://github.com/lobehub/lobe-chat/issues/6446) ([406cd46](https://github.com/lobehub/lobe-chat/commit/406cd46))

</details>

<div align="right">

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

</div>
2025-02-23 17:51:25 +00:00
Arvin Xu 8c8af6b8af 🐛 fix: fix groq location request (#6449) 2025-02-24 01:43:02 +08:00
Arvin Xu 406cd46b3a 💄 style: improve plugin calling style (#6446)
* improve plugin calling

* improve plugin calling

* fix model info loading

* fix loading

* revert jose
2025-02-24 01:41:13 +08:00
lobehubbot f4fcc81128 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-23 16:24:42 +00:00
semantic-release-bot 9db7791056 🔖 chore(release): v1.63.0 [skip ci]
## [Version&nbsp;1.63.0](https://github.com/lobehub/lobe-chat/compare/v1.62.11...v1.63.0)
<sup>Released on **2025-02-23**</sup>

####  Features

- **misc**: Support model-level search for Google/Qwen.

#### 💄 Styles

- **misc**: Update many models info.

<br/>

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

#### What's improved

* **misc**: Support model-level search for Google/Qwen, closes [#6420](https://github.com/lobehub/lobe-chat/issues/6420) ([f1b97cd](https://github.com/lobehub/lobe-chat/commit/f1b97cd))

#### Styles

* **misc**: Update many models info, closes [#6205](https://github.com/lobehub/lobe-chat/issues/6205) ([c477588](https://github.com/lobehub/lobe-chat/commit/c477588))

</details>

<div align="right">

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

</div>
2025-02-23 16:23:37 +00:00
sxjeru c477588f95 💄 style: Update many models info (#6205)
* Update stepfun.ts

* Update siliconcloud.ts

* Update google.ts

* Update groq.ts

* Update siliconcloud.ts

* Update stepfun.ts

* Update groq.ts

* Update groq.ts

* Update hunyuan.ts

* Update hunyuan.ts

* Update internlm.ts

* Update mistral.ts

* Update novita.ts

* Update sensenova.ts

* Update taichu.ts

* Update upstage.ts

* Update index.test.ts.snap

* Update index.test.ts.snap

* Update index.test.ts

* Update groq.ts

---------

Co-authored-by: Arvin Xu <arvinx@foxmail.com>
2025-02-24 00:15:03 +08:00
Arvin Xu f1b97cdf81 feat: support model-level search for Google/Qwen (#6420)
* support extendControls frontend

* refactor

* feat 完成搜索操控面板

* feat 完成 Google Grounding 集成

* fix tests

* 暂时针对有联网配置的 model 开启

* fix tests

* update config

* prepare search for openrouter

* update i18n

* fix
2025-02-24 00:10:18 +08:00
lobehubbot d08990e2e0 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-23 12:11:41 +00:00
semantic-release-bot 9e31a98352 🔖 chore(release): v1.62.11 [skip ci]
### [Version&nbsp;1.62.11](https://github.com/lobehub/lobe-chat/compare/v1.62.10...v1.62.11)
<sup>Released on **2025-02-23**</sup>

#### 🐛 Bug Fixes

- **misc**: Refine role assignment logic for specific Azure OpenAI models & Sensitive URL.

#### 💄 Styles

- **misc**: Add custom `proxyUrl` support for Volcengine.

<br/>

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

#### What's fixed

* **misc**: Refine role assignment logic for specific Azure OpenAI models & Sensitive URL, closes [#6366](https://github.com/lobehub/lobe-chat/issues/6366) ([d47c2c6](https://github.com/lobehub/lobe-chat/commit/d47c2c6))

#### Styles

* **misc**: Add custom `proxyUrl` support for Volcengine, closes [#6433](https://github.com/lobehub/lobe-chat/issues/6433) ([2b1aca9](https://github.com/lobehub/lobe-chat/commit/2b1aca9))

</details>

<div align="right">

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

</div>
2025-02-23 12:10:21 +00:00
loca1h0st d47c2c6d7a 🐛 fix: refine role assignment logic for specific Azure OpenAI models & Sensitive URL (#6366)
* refine role assignment logic for specific Azure OpenAI models & Azure SensitiveUrl

* Using updatedMessages to fix Azure o series models
2025-02-23 20:02:03 +08:00
Zhijie He 2b1aca9ed1 💄 style: add custom proxyUrl support for Volcengine (#6433) 2025-02-23 19:57:14 +08:00
Stella "Steve" Wang 4485171b5c 📝 docs: Add documentations for XAI and Wenxin server environment variables config. (#6353) 2025-02-23 19:27:12 +08:00
renovate[bot] d4b93c895a Update dependency jose to v6 (#6429)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-23 19:26:23 +08:00
renovate[bot] 3bc2d721be Update dependency @google/generative-ai to ^0.22.0 (#6426)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-23 18:22:43 +08:00
Carson Yang 3ff6c3b4aa 📝 docs: update database version deployment guide on Sealos (#6435)
Signed-off-by: Carson Yang <yangchuansheng33@gmail.com>
2025-02-23 18:22:24 +08:00
lobehubbot 19e02d6d42 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-22 14:30:35 +00:00
semantic-release-bot d44ee11758 🔖 chore(release): v1.62.10 [skip ci]
### [Version&nbsp;1.62.10](https://github.com/lobehub/lobe-chat/compare/v1.62.9...v1.62.10)
<sup>Released on **2025-02-22**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix fetch on client check status display.

<br/>

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

#### What's fixed

* **misc**: Fix fetch on client check status display, closes [#6405](https://github.com/lobehub/lobe-chat/issues/6405) ([9579e41](https://github.com/lobehub/lobe-chat/commit/9579e41))

</details>

<div align="right">

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

</div>
2025-02-22 14:29:37 +00:00
vual 9579e41d54 🐛 fix: fix fetch on client check status display (#6405)
* fix fetch on client check status display

* fix fetch on client check status display, and sort props
2025-02-22 22:21:31 +08:00
lobehubbot 325c44ac79 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-22 07:37:39 +00:00
semantic-release-bot d3dba17eaf 🔖 chore(release): v1.62.9 [skip ci]
### [Version&nbsp;1.62.9](https://github.com/lobehub/lobe-chat/compare/v1.62.8...v1.62.9)
<sup>Released on **2025-02-22**</sup>

#### 🐛 Bug Fixes

- **misc**: Next-auth user id not found in create agent index.

<br/>

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

#### What's fixed

* **misc**: Next-auth user id not found in create agent index, closes [#6410](https://github.com/lobehub/lobe-chat/issues/6410) ([704c7c8](https://github.com/lobehub/lobe-chat/commit/704c7c8))

</details>

<div align="right">

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

</div>
2025-02-22 07:36:39 +00:00
Rylan Cai 704c7c8eab 🐛 fix: next-auth user id not found in create agent index (#6410) 2025-02-22 15:28:32 +08:00
lobehubbot 5aa59c0609 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-22 07:24:52 +00:00
semantic-release-bot 2bc30ea2a8 🔖 chore(release): v1.62.8 [skip ci]
### [Version&nbsp;1.62.8](https://github.com/lobehub/lobe-chat/compare/v1.62.7...v1.62.8)
<sup>Released on **2025-02-22**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix image prompts with some user cases.

<br/>

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

#### What's fixed

* **misc**: Fix image prompts with some user cases, closes [#6406](https://github.com/lobehub/lobe-chat/issues/6406) ([e9df49d](https://github.com/lobehub/lobe-chat/commit/e9df49d))

</details>

<div align="right">

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

</div>
2025-02-22 07:23:47 +00:00
Arvin Xu e9df49dfc8 🐛 fix: fix image prompts with some user cases (#6406)
* refactor the lobeThinking to remark mode

* improve error style

* try to fix prompts

* fix tests

* improve prompts

* fix tests
2025-02-22 15:15:39 +08:00
itning bef09e4db2 👷 docs: Fix the issue that the communication with the casdoor server is not available due to the port change. (#6408) 2025-02-22 15:03:09 +08:00
williamchai 1d1de88589 Update Node to 22 (lts/jod) in .nvmrc (#6400) 2025-02-22 12:39:32 +08:00
lobehubbot 4d0bba8738 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-21 17:46:11 +00:00
semantic-release-bot bc70f93b18 🔖 chore(release): v1.62.7 [skip ci]
### [Version&nbsp;1.62.7](https://github.com/lobehub/lobe-chat/compare/v1.62.6...v1.62.7)
<sup>Released on **2025-02-21**</sup>

#### 💄 Styles

- **misc**: Add Volcano Ark models.

<br/>

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

#### Styles

* **misc**: Add Volcano Ark models, closes [#6368](https://github.com/lobehub/lobe-chat/issues/6368) ([02136f5](https://github.com/lobehub/lobe-chat/commit/02136f5))

</details>

<div align="right">

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

</div>
2025-02-21 17:45:02 +00:00
sxjeru 02136f5a62 💄 style: Add Volcano Ark models (#6368)
* Update volcengine.ts

* Update volcengine.ts

* Update volcengine.ts

* Update volcengine.ts

* Update volcengine.ts

* Update volcengine.ts
2025-02-22 01:36:45 +08:00
Carson Yang fbf9fb1f1f 📝 docs:(deploy): update Sealos deployment docs and links (#6399)
Signed-off-by: Carson Yang <yangchuansheng33@gmail.com>
2025-02-22 01:36:03 +08:00
Zhang Zhe 3e051dd6c0 📝 docs: Add volcengine environment variables (#6397) 2025-02-22 00:39:13 +08:00
lobehubbot 5f7599a6ba 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-21 16:38:34 +00:00
semantic-release-bot 6ef421b209 🔖 chore(release): v1.62.6 [skip ci]
### [Version&nbsp;1.62.6](https://github.com/lobehub/lobe-chat/compare/v1.62.5...v1.62.6)
<sup>Released on **2025-02-21**</sup>

#### 💄 Styles

- **misc**: Refactor the plugin render style.

<br/>

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

#### Styles

* **misc**: Refactor the plugin render style, closes [#6390](https://github.com/lobehub/lobe-chat/issues/6390) ([3ecdba1](https://github.com/lobehub/lobe-chat/commit/3ecdba1))

</details>

<div align="right">

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

</div>
2025-02-21 16:37:32 +00:00
Arvin Xu 3ecdba1a1b 💄 style: refactor the plugin render style (#6390)
* wip

* refactor the args design

* update

* refactor tools

* try improve suspense

* update i18n

* fix lint

* fix api key issue

* improve code

* improve suspense

* improve suspense

* fix topic duplicate issue
2025-02-22 00:29:05 +08:00
lobehubbot 7e6aaa0344 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-21 14:40:27 +00:00
semantic-release-bot 8d53670c0b 🔖 chore(release): v1.62.5 [skip ci]
### [Version&nbsp;1.62.5](https://github.com/lobehub/lobe-chat/compare/v1.62.4...v1.62.5)
<sup>Released on **2025-02-21**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix default agent loading.

<br/>

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

#### What's fixed

* **misc**: Fix default agent loading, closes [#6393](https://github.com/lobehub/lobe-chat/issues/6393) ([7841122](https://github.com/lobehub/lobe-chat/commit/7841122))

</details>

<div align="right">

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

</div>
2025-02-21 14:39:25 +00:00
gru-agent[bot] 8490b8c07e test: Add test for 400 status response on SubscriptionKeyMismatch error type in createErrorResponse function. (#6378)
Co-authored-by: gru-agent[bot] <185149714+gru-agent[bot]@users.noreply.github.com>
2025-02-21 22:30:52 +08:00
Arvin Xu 7841122aed 🐛 fix: fix default agent loading (#6393)
* fix

* fix
2025-02-21 22:30:28 +08:00
lobehubbot 89b7da071d 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-20 19:20:16 +00:00
semantic-release-bot 94087ada5f 🔖 chore(release): v1.62.4 [skip ci]
### [Version&nbsp;1.62.4](https://github.com/lobehub/lobe-chat/compare/v1.62.3...v1.62.4)
<sup>Released on **2025-02-20**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix hotkeys of open agent settings.

#### 💄 Styles

- **misc**: Add some error types.

<br/>

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

#### What's fixed

* **misc**: Fix hotkeys of open agent settings, closes [#6363](https://github.com/lobehub/lobe-chat/issues/6363) ([3219c54](https://github.com/lobehub/lobe-chat/commit/3219c54))

#### Styles

* **misc**: Add some error types, closes [#6377](https://github.com/lobehub/lobe-chat/issues/6377) ([f7a7138](https://github.com/lobehub/lobe-chat/commit/f7a7138))

</details>

<div align="right">

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

</div>
2025-02-20 19:19:11 +00:00
Arvin Xu f7a713848f 💄 style: add some error types (#6377)
* add some error type

* fix svix build
2025-02-21 03:10:48 +08:00
Arvin Xu 3219c547a7 🐛 fix: fix hotkeys of open agent settings (#6363) 2025-02-21 03:10:28 +08:00
gru-agent[bot] 56c36cdae0 test: Add test for 404 status response for ModelNotFound error type in errorResponse function. (#6361)
Co-authored-by: gru-agent[bot] <185149714+gru-agent[bot]@users.noreply.github.com>
2025-02-20 16:26:08 +08:00
lobehubbot 87a6185494 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-20 08:12:19 +00:00
semantic-release-bot 7b6ab1d038 🔖 chore(release): v1.62.3 [skip ci]
### [Version&nbsp;1.62.3](https://github.com/lobehub/lobe-chat/compare/v1.62.2...v1.62.3)
<sup>Released on **2025-02-20**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix a feature flag.

<br/>

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

#### What's fixed

* **misc**: Fix a feature flag, closes [#6354](https://github.com/lobehub/lobe-chat/issues/6354) ([6667334](https://github.com/lobehub/lobe-chat/commit/6667334))

</details>

<div align="right">

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

</div>
2025-02-20 08:11:17 +00:00
Arvin Xu 6667334496 🐛 fix: fix a feature flag (#6354) 2025-02-20 16:02:53 +08:00
lobehubbot 4168e5a9a5 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-20 06:24:25 +00:00
semantic-release-bot 28cb7fec0a 🔖 chore(release): v1.62.2 [skip ci]
### [Version&nbsp;1.62.2](https://github.com/lobehub/lobe-chat/compare/v1.62.1...v1.62.2)
<sup>Released on **2025-02-20**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix message roles for specific Azure OpenAI models.

<br/>

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

#### What's fixed

* **misc**: Fix message roles for specific Azure OpenAI models, closes [#6222](https://github.com/lobehub/lobe-chat/issues/6222) ([d49329a](https://github.com/lobehub/lobe-chat/commit/d49329a))

</details>

<div align="right">

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

</div>
2025-02-20 06:23:16 +00:00
hcygnaw d49329a052 🐛 fix: fix message roles for specific Azure OpenAI models (#6222)
* 🐛 fix: update message roles for specific Azure OpenAI models

* 🐛 fix: refine role assignment logic for specific Azure OpenAI models

* Create an auto-deploy file

* Delete .github/workflows/lobechatazure-AutoDeployTrigger-bdbe175d-28d2-43a7-a2db-f0a2225af446.yml

---------

Co-authored-by: yichuan <wang-yichuan@outlook.com>
2025-02-20 14:14:54 +08:00
renovate[bot] 5d59f0d4dc Update dependency file-type to v20 (#5510)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-20 14:12:33 +08:00
semantic-release-bot 84d3e96563 🔖 chore(release): v1.62.1 [skip ci]
### [Version&nbsp;1.62.1](https://github.com/lobehub/lobe-chat/compare/v1.62.0...v1.62.1)
<sup>Released on **2025-02-20**</sup>

#### 🐛 Bug Fixes

- **misc**: Add sambanova proxy url.

<br/>

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

#### What's fixed

* **misc**: Add sambanova proxy url, closes [#6348](https://github.com/lobehub/lobe-chat/issues/6348) ([c9cb7d9](https://github.com/lobehub/lobe-chat/commit/c9cb7d9))

</details>

<div align="right">

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

</div>
2025-02-20 06:11:46 +00:00
Arvin Xu c9cb7d917c 🐛 fix: add sambanova proxy url (#6348)
* fix

* update i18n
2025-02-20 14:03:37 +08:00
Arvin Xu 59bdf12b1e 🔨 chore: Update issue template (#6256)
* Update config.yml

* Update 1_bug_report_cn.yml

* Update config.yml
2025-02-20 13:42:38 +08:00
gru-agent[bot] 097038ef17 test: Add tests for getUserSSOProviders and unlinkSSOProvider methods in ClientService. (#6335)
Co-authored-by: gru-agent[bot] <185149714+gru-agent[bot]@users.noreply.github.com>
2025-02-20 13:13:09 +08:00
gru-agent[bot] d4b4b288ca test: Add unit tests for ServerService methods in user service. (#6337)
Co-authored-by: gru-agent[bot] <185149714+gru-agent[bot]@users.noreply.github.com>
2025-02-20 13:12:49 +08:00
gru-agent[bot] 88531dbb37 test: Add unit tests for NextAuthUserService, covering user update scenarios. (#6344)
Co-authored-by: gru-agent[bot] <185149714+gru-agent[bot]@users.noreply.github.com>
2025-02-20 13:12:13 +08:00
lobehubbot cab591dc63 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-20 04:47:59 +00:00
semantic-release-bot a6aa88ec47 🔖 chore(release): v1.62.0 [skip ci]
## [Version&nbsp;1.62.0](https://github.com/lobehub/lobe-chat/compare/v1.61.6...v1.62.0)
<sup>Released on **2025-02-20**</sup>

####  Features

- **misc**: Support pplx search grounding.

#### 🐛 Bug Fixes

- **misc**: Azure AI env var configuration issue..

<br/>

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

#### What's improved

* **misc**: Support pplx search grounding, closes [#6331](https://github.com/lobehub/lobe-chat/issues/6331) ([ccb0003](https://github.com/lobehub/lobe-chat/commit/ccb0003))

#### What's fixed

* **misc**: Azure AI env var configuration issue., closes [#6346](https://github.com/lobehub/lobe-chat/issues/6346) ([3fc61bb](https://github.com/lobehub/lobe-chat/commit/3fc61bb))

</details>

<div align="right">

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

</div>
2025-02-20 04:46:56 +00:00
Keating Huang 3fc61bb1f4 🐛 fix: Azure AI env var configuration issue. (#6346) 2025-02-20 12:38:47 +08:00
Arvin Xu ccb0003bff feat: support pplx search grounding (#6331) 2025-02-20 12:31:08 +08:00
Arvin Xu b30f55705f push 2025-02-20 03:19:08 +00:00
Arvin Xu fbe9ec0e48 Merge branch 'main' into chore/try-react-compiler 2025-02-20 11:13:12 +08:00
lobehubbot 057f45586b 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-20 02:51:39 +00:00
semantic-release-bot 276ef26d37 🔖 chore(release): v1.61.6 [skip ci]
### [Version&nbsp;1.61.6](https://github.com/lobehub/lobe-chat/compare/v1.61.5...v1.61.6)
<sup>Released on **2025-02-20**</sup>

#### 🐛 Bug Fixes

- **misc**: Casdoor webhooks error.

<br/>

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

#### What's fixed

* **misc**: Casdoor webhooks error, closes [#6304](https://github.com/lobehub/lobe-chat/issues/6304) ([7a458b9](https://github.com/lobehub/lobe-chat/commit/7a458b9))

</details>

<div align="right">

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

</div>
2025-02-20 02:50:28 +00:00
Rylan Cai 7a458b9e31 🐛 fix: Casdoor webhooks error (#6304)
* 🐛 fix: casdoor webhooks error

* 📝 docs: update docs

* 📝 docs: add impl details

* 📝 docs: add version requires for casdoor
2025-02-20 10:41:59 +08:00
gru-agent[bot] b91fb84876 test: Add unit tests for server default agent and files configuration functions. (#6249)
Co-authored-by: gru-agent[bot] <185149714+gru-agent[bot]@users.noreply.github.com>
2025-02-20 10:37:03 +08:00
gru-agent[bot] 2ac3dff653 test: Add unit tests for userRouter functionality in user.test.ts (#6338)
Co-authored-by: gru-agent[bot] <185149714+gru-agent[bot]@users.noreply.github.com>
2025-02-20 10:14:42 +08:00
gru-agent[bot] 3a51aeaeda test: Add tests for additional error response statuses in errorResponse.test.ts (#6300)
Co-authored-by: gru-agent[bot] <185149714+gru-agent[bot]@users.noreply.github.com>
2025-02-20 00:54:31 +08:00
lobehubbot 5bacc9dcc0 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-19 16:40:02 +00:00
semantic-release-bot 864b5b6711 🔖 chore(release): v1.61.5 [skip ci]
### [Version&nbsp;1.61.5](https://github.com/lobehub/lobe-chat/compare/v1.61.4...v1.61.5)
<sup>Released on **2025-02-19**</sup>

#### 💄 Styles

- **misc**: Show sso providers for next-auth in profile page.

<br/>

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

#### Styles

* **misc**: Show sso providers for next-auth in profile page, closes [#5303](https://github.com/lobehub/lobe-chat/issues/5303) ([dd61bce](https://github.com/lobehub/lobe-chat/commit/dd61bce))

</details>

<div align="right">

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

</div>
2025-02-19 16:39:03 +00:00
Rylan Cai dd61bce75c 💄 style: show sso providers for next-auth in profile page (#5303)
*  feat: add sso fetcher in services

* 🚧 wip: provider list

* ♻️ refactor: change db operation

*  feat: support unlink sso providers

* 🎨 style: make popconfirm topright

* 🌐 i18n: add zh-CN as gen source

* 💄 style: use Avatar wrap AuthIcons

* 💄 style: use modal

* ♻️ refactor: adapt to variants mode

* 🌐 i18n: auth uis

*  refactor: pass lint test

* 🌐 i18n: change title

* 🐛 fix: auth0 & github not seen in light mode
2025-02-20 00:30:44 +08:00
lobehubbot ef02986e69 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-18 17:07:32 +00:00
semantic-release-bot 36ef241984 🔖 chore(release): v1.61.4 [skip ci]
### [Version&nbsp;1.61.4](https://github.com/lobehub/lobe-chat/compare/v1.61.3...v1.61.4)
<sup>Released on **2025-02-18**</sup>

#### 💄 Styles

- **misc**: Improve perplexity models.

<br/>

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

#### Styles

* **misc**: Improve perplexity models, closes [#6307](https://github.com/lobehub/lobe-chat/issues/6307) ([c99908d](https://github.com/lobehub/lobe-chat/commit/c99908d))

</details>

<div align="right">

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

</div>
2025-02-18 17:06:32 +00:00
Arvin Xu c99908dc2f 💄 style: improve perplexity models (#6307)
* update perplexity models

* defaultShowBrowserRequest for openai

* revert
2025-02-19 00:58:10 +08:00
lobehubbot 47d27a39a5 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-18 16:23:22 +00:00
semantic-release-bot c5e2a30aaf 🔖 chore(release): v1.61.3 [skip ci]
### [Version&nbsp;1.61.3](https://github.com/lobehub/lobe-chat/compare/v1.61.2...v1.61.3)
<sup>Released on **2025-02-18**</sup>

#### 💄 Styles

- **misc**: Improve error content and console error.

<br/>

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

#### Styles

* **misc**: Improve error content and console error, closes [#6305](https://github.com/lobehub/lobe-chat/issues/6305) ([6a35f55](https://github.com/lobehub/lobe-chat/commit/6a35f55))

</details>

<div align="right">

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

</div>
2025-02-18 16:22:23 +00:00
Arvin Xu 6a35f55ebc 💄 style: improve error content and console error (#6305)
* update i18n

* add console error
2025-02-19 00:14:01 +08:00
lobehubbot 74849f77bf 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-18 15:16:05 +00:00
semantic-release-bot 0b9e9bf8c1 🔖 chore(release): v1.61.2 [skip ci]
### [Version&nbsp;1.61.2](https://github.com/lobehub/lobe-chat/compare/v1.61.1...v1.61.2)
<sup>Released on **2025-02-18**</sup>

#### 💄 Styles

- **misc**: Add `kimi-latest` for Moonshot.

<br/>

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

#### Styles

* **misc**: Add `kimi-latest` for Moonshot, closes [#6295](https://github.com/lobehub/lobe-chat/issues/6295) ([4fb98da](https://github.com/lobehub/lobe-chat/commit/4fb98da))

</details>

<div align="right">

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

</div>
2025-02-18 15:15:06 +00:00
Zhijie He 4fb98da08f 💄 style: add kimi-latest for Moonshot (#6295)
* 💄 style: add `kimi-latest` for Moonshot

* 💄 style: update model list

* 💄 style: update model desc and cachedInput

* 💄 style: fix no model enabled

* 💄 style: update check model
2025-02-18 23:06:51 +08:00
lobehubbot 7b74abc3ae 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-18 15:05:18 +00:00
semantic-release-bot 0218b31278 🔖 chore(release): v1.61.1 [skip ci]
### [Version&nbsp;1.61.1](https://github.com/lobehub/lobe-chat/compare/v1.61.0...v1.61.1)
<sup>Released on **2025-02-18**</sup>

#### 💄 Styles

- **misc**: Improve serveral error code.

<br/>

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

#### Styles

* **misc**: Improve serveral error code, closes [#6299](https://github.com/lobehub/lobe-chat/issues/6299) ([352cb90](https://github.com/lobehub/lobe-chat/commit/352cb90))

</details>

<div align="right">

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

</div>
2025-02-18 15:04:20 +00:00
Arvin Xu 352cb90eb6 💄 style: improve serveral error code (#6299)
* improve error code

* improve CHAT MASK

* improve CHAT MASK

* update i18n

* fix tests
2025-02-18 22:55:58 +08:00
lobehubbot f394b216d9 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-18 06:58:21 +00:00
semantic-release-bot da965f67af 🔖 chore(release): v1.61.0 [skip ci]
## [Version&nbsp;1.61.0](https://github.com/lobehub/lobe-chat/compare/v1.60.9...v1.61.0)
<sup>Released on **2025-02-18**</sup>

####  Features

- **misc**: Support google vertex ai as a new provider.

#### 🐛 Bug Fixes

- **misc**: Try to fix pglite worker.

<br/>

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

#### What's improved

* **misc**: Support google vertex ai as a new provider, closes [#4487](https://github.com/lobehub/lobe-chat/issues/4487) ([a0a9592](https://github.com/lobehub/lobe-chat/commit/a0a9592))

#### What's fixed

* **misc**: Try to fix pglite worker, closes [#6169](https://github.com/lobehub/lobe-chat/issues/6169) ([b3f4f13](https://github.com/lobehub/lobe-chat/commit/b3f4f13))

</details>

<div align="right">

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

</div>
2025-02-18 06:57:12 +00:00
Arvin Xu a0a95927d4 feat: support google vertex ai as a new provider (#4487)
*  feat: add vertex ai model runtime

* update

* support vertex ai with api key

* update models

* fix lint

* fix

* fix again

* Create Dockerfile.pglite

* Create docker-pglite.yml

* Update docker-pglite.yml

* fix credentials

* Update docker-pglite.yml

* fix
2025-02-18 14:48:59 +08:00
Arvin Xu b3f4f13b9c 🐛 fix: try to fix pglite worker (#6169)
* try to fix pglite worker

* Update db.ts
2025-02-18 14:46:57 +08:00
lobehubbot c5d372f525 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-18 05:44:59 +00:00
semantic-release-bot fc67a3404a 🔖 chore(release): v1.60.9 [skip ci]
### [Version&nbsp;1.60.9](https://github.com/lobehub/lobe-chat/compare/v1.60.8...v1.60.9)
<sup>Released on **2025-02-18**</sup>

<br/>

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

</details>

<div align="right">

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

</div>
2025-02-18 05:44:00 +00:00
Arvin Xu cb9104d2f9 👷 build: add pglite docker image (#6287) 2025-02-18 13:24:49 +08:00
lobehubbot 5f96a506c9 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-18 01:13:31 +00:00
semantic-release-bot 2fc2043bc1 🔖 chore(release): v1.60.8 [skip ci]
### [Version&nbsp;1.60.8](https://github.com/lobehub/lobe-chat/compare/v1.60.7...v1.60.8)
<sup>Released on **2025-02-18**</sup>

#### 💄 Styles

- **misc**: Sync chat limit.

<br/>

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

#### Styles

* **misc**: Sync chat limit, closes [#6207](https://github.com/lobehub/lobe-chat/issues/6207) ([cc2f536](https://github.com/lobehub/lobe-chat/commit/cc2f536))

</details>

<div align="right">

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

</div>
2025-02-18 01:12:26 +00:00
sxjeru cc2f536658 💄 style: sync chat limit (#6207) 2025-02-18 09:04:23 +08:00
Arvin Xu b5360d5cfb 📝 docs: Update docker image version in docs (#6278)
* Update README.md

* Update docker-compose.mdx

* Update docker-compose.zh-CN.mdx

* Update docker.mdx

* Update docker.zh-CN.mdx

* Update docker.mdx

* Update docker.zh-CN.mdx

* Update docker-compose.mdx

* Update docker-compose.zh-CN.mdx
2025-02-18 02:34:19 +08:00
gru-agent[bot] bac6739b8c test: Add unit tests for ServerService methods in server.test.ts (#6260)
Co-authored-by: gru-agent[bot] <185149714+gru-agent[bot]@users.noreply.github.com>
2025-02-18 02:02:20 +08:00
lobehubbot 5bb76ba13c 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-17 16:44:13 +00:00
semantic-release-bot 577daddb7d 🔖 chore(release): v1.60.7 [skip ci]
### [Version&nbsp;1.60.7](https://github.com/lobehub/lobe-chat/compare/v1.60.6...v1.60.7)
<sup>Released on **2025-02-17**</sup>

#### 💄 Styles

- **misc**: Remove deprecated gemini models, update MiniMax models.

<br/>

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

#### Styles

* **misc**: Remove deprecated gemini models, closes [#6269](https://github.com/lobehub/lobe-chat/issues/6269) ([45977c3](https://github.com/lobehub/lobe-chat/commit/45977c3))
* **misc**: Update MiniMax models, closes [#6270](https://github.com/lobehub/lobe-chat/issues/6270) ([2d7803a](https://github.com/lobehub/lobe-chat/commit/2d7803a))

</details>

<div align="right">

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

</div>
2025-02-17 16:43:10 +00:00
柴米油盐的梦想 45977c3d4d 💄 style: remove deprecated gemini models (#6269) 2025-02-18 00:34:49 +08:00
Zhijie He 2d7803a84a 💄 style: update MiniMax models (#6270) 2025-02-18 00:34:04 +08:00
lobehubbot 6b97177d4b 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-17 12:04:27 +00:00
semantic-release-bot 4003b8ebed 🔖 chore(release): v1.60.6 [skip ci]
### [Version&nbsp;1.60.6](https://github.com/lobehub/lobe-chat/compare/v1.60.5...v1.60.6)
<sup>Released on **2025-02-17**</sup>

#### 💄 Styles

- **misc**: Add o1 vision metadata.

<br/>

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

#### Styles

* **misc**: Add o1 vision metadata, closes [#6263](https://github.com/lobehub/lobe-chat/issues/6263) ([261d068](https://github.com/lobehub/lobe-chat/commit/261d068))

</details>

<div align="right">

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

</div>
2025-02-17 12:03:26 +00:00
Arvin Xu 261d068028 💄 style: add o1 vision metadata (#6263)
* support

* update locale
2025-02-17 19:55:19 +08:00
CanisMinor 4e66ea3086 📝 docs: Add 2024 recap docs (#6259) 2025-02-17 19:26:28 +08:00
lobehubbot 07364c9196 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-17 11:24:16 +00:00
semantic-release-bot b49f3e9025 🔖 chore(release): v1.60.5 [skip ci]
### [Version&nbsp;1.60.5](https://github.com/lobehub/lobe-chat/compare/v1.60.4...v1.60.5)
<sup>Released on **2025-02-17**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix loading on not login for db.

<br/>

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

#### What's fixed

* **misc**: Fix loading on not login for db, closes [#6258](https://github.com/lobehub/lobe-chat/issues/6258) ([61692b9](https://github.com/lobehub/lobe-chat/commit/61692b9))

</details>

<div align="right">

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

</div>
2025-02-17 11:23:18 +00:00
Arvin Xu 61692b93c3 🐛 fix: fix loading on not login for db (#6258) 2025-02-17 19:15:17 +08:00
lobehubbot 1fc7ca6d1f 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-17 09:33:47 +00:00
semantic-release-bot e190db47d3 🔖 chore(release): v1.60.4 [skip ci]
### [Version&nbsp;1.60.4](https://github.com/lobehub/lobe-chat/compare/v1.60.3...v1.60.4)
<sup>Released on **2025-02-17**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix agent config not load correctly.

<br/>

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

#### What's fixed

* **misc**: Fix agent config not load correctly, closes [#6252](https://github.com/lobehub/lobe-chat/issues/6252) ([fe9bc16](https://github.com/lobehub/lobe-chat/commit/fe9bc16))

</details>

<div align="right">

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

</div>
2025-02-17 09:32:39 +00:00
Arvin Xu fe9bc16842 🐛 fix: fix agent config not load correctly (#6252)
* fix agent config issue

* improve loading for agent

* revert chat change
2025-02-17 17:24:20 +08:00
lobehubbot 977301b71d 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-17 08:30:13 +00:00
semantic-release-bot 4e2c80124f 🔖 chore(release): v1.60.3 [skip ci]
### [Version&nbsp;1.60.3](https://github.com/lobehub/lobe-chat/compare/v1.60.2...v1.60.3)
<sup>Released on **2025-02-17**</sup>

#### 🐛 Bug Fixes

- **misc**: User feedback for empty/long group names in create/edit group modals.

<br/>

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

#### What's fixed

* **misc**: User feedback for empty/long group names in create/edit group modals, closes [#6247](https://github.com/lobehub/lobe-chat/issues/6247) ([25c80d1](https://github.com/lobehub/lobe-chat/commit/25c80d1))

</details>

<div align="right">

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

</div>
2025-02-17 08:29:11 +00:00
Ramu Narasinga 25c80d1548 🐛 fix: user feedback for empty/long group names in create/edit group modals (#6247) 2025-02-17 16:20:51 +08:00
lobehubbot 32f442d65f 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-17 06:32:38 +00:00
semantic-release-bot c3b9fa525e 🔖 chore(release): v1.60.2 [skip ci]
### [Version&nbsp;1.60.2](https://github.com/lobehub/lobe-chat/compare/v1.60.1...v1.60.2)
<sup>Released on **2025-02-17**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix model list issue in client mode.

<br/>

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

#### What's fixed

* **misc**: Fix model list issue in client mode, closes [#6240](https://github.com/lobehub/lobe-chat/issues/6240) ([d6c6cda](https://github.com/lobehub/lobe-chat/commit/d6c6cda))

</details>

<div align="right">

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

</div>
2025-02-17 06:31:40 +00:00
Arvin Xu d6c6cdaa09 🐛 fix: fix model list issue in client mode (#6240)
* fix model list issue in client mode

* fix tests
2025-02-17 14:23:27 +08:00
lobehubbot 1fde7b23f1 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-17 06:02:28 +00:00
semantic-release-bot d7bdb62a83 🔖 chore(release): v1.60.1 [skip ci]
### [Version&nbsp;1.60.1](https://github.com/lobehub/lobe-chat/compare/v1.60.0...v1.60.1)
<sup>Released on **2025-02-17**</sup>

#### 💄 Styles

- **misc**: Update Jina AI Provider name & model info.

<br/>

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

#### Styles

* **misc**: Update Jina AI Provider name & model info, closes [#6243](https://github.com/lobehub/lobe-chat/issues/6243) ([ddbe482](https://github.com/lobehub/lobe-chat/commit/ddbe482))

</details>

<div align="right">

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

</div>
2025-02-17 06:01:29 +00:00
Zhijie He ddbe482b25 💄 style: update Jina AI Provider name & model info (#6243) 2025-02-17 13:53:08 +08:00
lobehubbot 8d40d71ce2 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-17 05:41:58 +00:00
semantic-release-bot dab282ffa9 🔖 chore(release): v1.60.0 [skip ci]
## [Version&nbsp;1.60.0](https://github.com/lobehub/lobe-chat/compare/v1.59.0...v1.60.0)
<sup>Released on **2025-02-17**</sup>

####  Features

- **misc**: Add SambaNova provider support.

<br/>

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

#### What's improved

* **misc**: Add SambaNova provider support, closes [#6218](https://github.com/lobehub/lobe-chat/issues/6218) ([a46eadf](https://github.com/lobehub/lobe-chat/commit/a46eadf))

</details>

<div align="right">

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

</div>
2025-02-17 05:40:56 +00:00
Zhijie He a46eadf2d8 feat: add SambaNova provider support (#6218)
*  feat: add SambaNova provider support

* 🐛 fix: fix build error

* 🔨 chore: disable Browser Request & `DeepSeek-R1` model
2025-02-17 13:32:38 +08:00
lobehubbot e061a209cb 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-16 17:16:25 +00:00
semantic-release-bot 63f2149fa4 🔖 chore(release): v1.59.0 [skip ci]
## [Version&nbsp;1.59.0](https://github.com/lobehub/lobe-chat/compare/v1.58.0...v1.59.0)
<sup>Released on **2025-02-16**</sup>

####  Features

- **misc**: Add volcengine as a new provider.

<br/>

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

#### What's improved

* **misc**: Add volcengine as a new provider, closes [#6221](https://github.com/lobehub/lobe-chat/issues/6221) ([09bf8f0](https://github.com/lobehub/lobe-chat/commit/09bf8f0))

</details>

<div align="right">

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

</div>
2025-02-16 17:15:15 +00:00
Arvin Xu 09bf8f0a05 feat: add volcengine as a new provider (#6221)
* add volcengine

* add volcengine model

* fix

* add api key

* fix deployment name find bug

* add ability

* update i18n
2025-02-17 01:07:12 +08:00
lobehubbot 895d8ee237 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-16 15:18:28 +00:00
semantic-release-bot 938e32f53e 🔖 chore(release): v1.58.0 [skip ci]
## [Version&nbsp;1.58.0](https://github.com/lobehub/lobe-chat/compare/v1.57.1...v1.58.0)
<sup>Released on **2025-02-16**</sup>

####  Features

- **misc**: Add Azure AI as new Provider.

<br/>

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

#### What's improved

* **misc**: Add Azure AI as new Provider, closes [#6214](https://github.com/lobehub/lobe-chat/issues/6214) ([30e010f](https://github.com/lobehub/lobe-chat/commit/30e010f))

</details>

<div align="right">

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

</div>
2025-02-16 15:17:09 +00:00
Arvin Xu 30e010fe14 feat: add Azure AI as new Provider (#6214)
* add azure ai

* 初步完成 ui 侧集成

* support streaming

* fix lint

* add azure ai implement

* try to fix issue

* improve code

* support deployment name

* improve create provider

* update snapshot
2025-02-16 23:08:43 +08:00
Rylan Cai 2dc712a9be 📝 docs: files access denied in one-click deploy (#6213) 2025-02-16 22:19:10 +08:00
lobehubbot e5dc0996cf 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-16 08:48:40 +00:00
semantic-release-bot e4733fb209 🔖 chore(release): v1.57.1 [skip ci]
### [Version&nbsp;1.57.1](https://github.com/lobehub/lobe-chat/compare/v1.57.0...v1.57.1)
<sup>Released on **2025-02-16**</sup>

#### 💄 Styles

- **misc**: Fix mobile agent settings not show correctly.

<br/>

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

#### Styles

* **misc**: Fix mobile agent settings not show correctly, closes [#6203](https://github.com/lobehub/lobe-chat/issues/6203) ([0285d95](https://github.com/lobehub/lobe-chat/commit/0285d95))

</details>

<div align="right">

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

</div>
2025-02-16 08:47:35 +00:00
Arvin Xu 0285d958fd 💄 style: fix mobile agent settings not show correctly (#6203)
* fix agent setting mobile

* improve code

* improve style for desktop

* fix inbox issue

* fix chat page issue

* fix desktop style

* refactor the store code

* fix navigation issue
2025-02-16 16:39:28 +08:00
lobehubbot 4ae2080a1f 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-16 05:58:41 +00:00
semantic-release-bot 118f8327f8 🔖 chore(release): v1.57.0 [skip ci]
## [Version&nbsp;1.57.0](https://github.com/lobehub/lobe-chat/compare/v1.56.5...v1.57.0)
<sup>Released on **2025-02-16**</sup>

####  Features

- **misc**: Add Jina AI model provider support.

<br/>

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

#### What's improved

* **misc**: Add Jina AI model provider support, closes [#6140](https://github.com/lobehub/lobe-chat/issues/6140) ([6b4c15b](https://github.com/lobehub/lobe-chat/commit/6b4c15b))

</details>

<div align="right">

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

</div>
2025-02-16 05:57:38 +00:00
Zhijie He 6b4c15b8ce feat: add Jina AI model provider support (#6140)
*  feat: add Jina model provider support

* 🐛 fix: fix ci error

* 💄 style: add `proxyUrl` support

* 🔨 chore: cleanup code

---------

Co-authored-by: Arvin Xu <arvinx@foxmail.com>
2025-02-16 13:49:25 +08:00
Arvin Xu 728c0c6263 🔨 chore: Update github issue (#6202)
* Update 1_bug_report_cn.yml

* Update 1_bug_report.yml
2025-02-16 12:50:37 +08:00
lobehubbot 373a24c472 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-16 04:27:55 +00:00
semantic-release-bot 995017b61a 🔖 chore(release): v1.56.5 [skip ci]
### [Version&nbsp;1.56.5](https://github.com/lobehub/lobe-chat/compare/v1.56.4...v1.56.5)
<sup>Released on **2025-02-16**</sup>

#### 🐛 Bug Fixes

- **misc**: Match o1 series models more robust in Azure OpenAI provider, set max_completion_tokens to null for Azure OpenAI.

<br/>

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

#### What's fixed

* **misc**: Match o1 series models more robust in Azure OpenAI provider, closes [#6193](https://github.com/lobehub/lobe-chat/issues/6193) ([f444e66](https://github.com/lobehub/lobe-chat/commit/f444e66))
* **misc**: Set max_completion_tokens to null for Azure OpenAI, closes [#6198](https://github.com/lobehub/lobe-chat/issues/6198) ([e9e8da4](https://github.com/lobehub/lobe-chat/commit/e9e8da4))

</details>

<div align="right">

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

</div>
2025-02-16 04:26:53 +00:00
cuba3 f444e66a59 🐛 fix: match o1 series models more robust in Azure OpenAI provider (#6193) 2025-02-16 12:18:50 +08:00
hcygnaw e9e8da414c 🐛 fix: set max_completion_tokens to null for Azure OpenAI (#6198)
Co-authored-by: yichuan <wang-yichuan@outlook.com>
2025-02-16 12:13:12 +08:00
lobehubbot b62c48a715 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-16 03:57:38 +00:00
semantic-release-bot c6b9250448 🔖 chore(release): v1.56.4 [skip ci]
### [Version&nbsp;1.56.4](https://github.com/lobehub/lobe-chat/compare/v1.56.3...v1.56.4)
<sup>Released on **2025-02-16**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix ai provider description not show correctly.

<br/>

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

#### What's fixed

* **misc**: Fix ai provider description not show correctly, closes [#6199](https://github.com/lobehub/lobe-chat/issues/6199) ([3e8d9c5](https://github.com/lobehub/lobe-chat/commit/3e8d9c5))

</details>

<div align="right">

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

</div>
2025-02-16 03:56:36 +00:00
Arvin Xu 3e8d9c56a7 🐛 fix: fix ai provider description not show correctly (#6199) 2025-02-16 11:48:15 +08:00
lobehubbot a3e2e58632 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-16 03:38:13 +00:00
semantic-release-bot f4cbc6fb36 🔖 chore(release): v1.56.3 [skip ci]
### [Version&nbsp;1.56.3](https://github.com/lobehub/lobe-chat/compare/v1.56.2...v1.56.3)
<sup>Released on **2025-02-16**</sup>

#### 💄 Styles

- **misc**: Improve inbox agent settings.

<br/>

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

#### Styles

* **misc**: Improve inbox agent settings, closes [#6197](https://github.com/lobehub/lobe-chat/issues/6197) ([37b70f0](https://github.com/lobehub/lobe-chat/commit/37b70f0))

</details>

<div align="right">

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

</div>
2025-02-16 03:37:13 +00:00
gru-agent[bot] e5c0959f30 test: Add unit tests for agentRouter functionality in agent.test.ts (#6196)
Co-authored-by: gru-agent[bot] <185149714+gru-agent[bot]@users.noreply.github.com>
2025-02-16 11:29:20 +08:00
Arvin Xu 37b70f0f2d 💄 style: improve inbox agent settings (#6197) 2025-02-16 11:25:35 +08:00
lobehubbot 93bd401a6c 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-16 00:38:34 +00:00
semantic-release-bot 2c99f2f9a6 🔖 chore(release): v1.56.2 [skip ci]
### [Version&nbsp;1.56.2](https://github.com/lobehub/lobe-chat/compare/v1.56.1...v1.56.2)
<sup>Released on **2025-02-16**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix inbox agent can not save config.

<br/>

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

#### What's fixed

* **misc**: Fix inbox agent can not save config, closes [#6186](https://github.com/lobehub/lobe-chat/issues/6186) ([588cba7](https://github.com/lobehub/lobe-chat/commit/588cba7))

</details>

<div align="right">

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

</div>
2025-02-16 00:37:24 +00:00
Arvin Xu 588cba75ff 🐛 fix: fix inbox agent can not save config (#6186) 2025-02-16 08:29:09 +08:00
lobehubbot daa60e9af3 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-16 00:05:23 +00:00
semantic-release-bot 8aea602ca4 🔖 chore(release): v1.56.1 [skip ci]
### [Version&nbsp;1.56.1](https://github.com/lobehub/lobe-chat/compare/v1.56.0...v1.56.1)
<sup>Released on **2025-02-16**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix inbox agent edit way in the new mode.

<br/>

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

#### What's fixed

* **misc**: Fix inbox agent edit way in the new mode, closes [#6190](https://github.com/lobehub/lobe-chat/issues/6190) ([6398362](https://github.com/lobehub/lobe-chat/commit/6398362))

</details>

<div align="right">

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

</div>
2025-02-16 00:04:09 +00:00
Arvin Xu 6398362ad0 🐛 fix: fix inbox agent edit way in the new mode (#6190) 2025-02-16 07:56:08 +08:00
lobehubbot 49376381ea 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-15 17:58:50 +00:00
CanisMinor cc2cd35d65 📝 docs: Update README for 2025 (#6185) 2025-02-16 01:50:41 +08:00
lobehubbot 2ebcf3066a 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-15 17:25:53 +00:00
semantic-release-bot 961e8e0601 🔖 chore(release): v1.56.0 [skip ci]
## [Version&nbsp;1.56.0](https://github.com/lobehub/lobe-chat/compare/v1.55.4...v1.56.0)
<sup>Released on **2025-02-15**</sup>

####  Features

- **misc**: Add configurable PDF processing method with Unstructured.

<br/>

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

#### What's improved

* **misc**: Add configurable PDF processing method with Unstructured, closes [#5927](https://github.com/lobehub/lobe-chat/issues/5927) ([35fa3ee](https://github.com/lobehub/lobe-chat/commit/35fa3ee))

</details>

<div align="right">

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

</div>
2025-02-15 17:24:42 +00:00
Arvin Xu 57bfa6aa2a 🔨 chore: update vercel build ignore mode (#6189) 2025-02-16 01:16:40 +08:00
Morax 35fa3ee5c4 feat: Add configurable PDF processing method with Unstructured (#5927)
*  feat: Add configurable PDF processing method with Unstructured

* 🔧 fix: Update import path for env utility in ContentChunk module

* feat: add USE_UNSTRUCTURED_FOR_PDF environment variable to knowledge config

* Delete src/server/utils/env.ts

* feat: implement ChunkingRuleParser for file type and service mapping

* refactor: remove USE_UNSTRUCTURED_FOR_PDF from knowledge environment configuration

* test: add unit tests for ChunkingRuleParser functionality

* refactor: remove isUsingUnstructured method from ContentChunk class

* refactor: update ChunkingService type and clean up ContentChunk rules

* refactor: simplify ChunkingRuleParser and update ContentChunk module

* refactor: update ContentChunk module import for ChunkingService
2025-02-16 01:13:39 +08:00
Rylan Cai b61cec7444 📝 docs: fix casdoor webhooks & add Chinese warnings in local docker compose template (#6181)
* 📝 docs: fix webhook url in docs

* 👷 ci: add zh warning

* 📝 docs: fix webhooks url
2025-02-16 00:20:03 +08:00
lobehubbot 1509763ad7 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-15 12:19:26 +00:00
semantic-release-bot 426aaf8df0 🔖 chore(release): v1.55.4 [skip ci]
### [Version&nbsp;1.55.4](https://github.com/lobehub/lobe-chat/compare/v1.55.3...v1.55.4)
<sup>Released on **2025-02-15**</sup>

#### 💄 Styles

- **misc**: Improve mobile params style.

<br/>

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

#### Styles

* **misc**: Improve mobile params style, closes [#6176](https://github.com/lobehub/lobe-chat/issues/6176) ([b5276de](https://github.com/lobehub/lobe-chat/commit/b5276de))

</details>

<div align="right">

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

</div>
2025-02-15 12:18:21 +00:00
Arvin Xu b5276def88 💄 style: improve mobile params style (#6176)
* improve paramsControls style

* bump version
2025-02-15 20:10:06 +08:00
renovate[bot] 446db7a203 Update dependency @t3-oss/env-nextjs to ^0.12.0 (#5595)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-15 14:05:41 +08:00
lobehubbot 302f85be84 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-15 05:25:01 +00:00
semantic-release-bot adeb9863af 🔖 chore(release): v1.55.3 [skip ci]
### [Version&nbsp;1.55.3](https://github.com/lobehub/lobe-chat/compare/v1.55.2...v1.55.3)
<sup>Released on **2025-02-15**</sup>

#### 💄 Styles

- **misc**: Add deepseek r1 distill models for qwen series.

<br/>

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

#### Styles

* **misc**: Add deepseek r1 distill models for qwen series, closes [#5850](https://github.com/lobehub/lobe-chat/issues/5850) ([4a96a05](https://github.com/lobehub/lobe-chat/commit/4a96a05))

</details>

<div align="right">

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

</div>
2025-02-15 05:23:59 +00:00
liyuan 4a96a05109 💄 style: add deepseek r1 distill models for qwen series (#5850)
* feat: add deepseek distill models for qwen series

* style: update qwen.ts indentation

* style: update qwen aiModels and modelProviders
2025-02-15 13:16:04 +08:00
George Alberich b13e9bab42 📝 docs: Updated broken hyperlink (#6067)
* Update `docs/self-hosting/server-database/docker-compose.mdx`

* Update docker-compose.mdx
2025-02-15 13:15:33 +08:00
lobehubbot b197f8e977 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-15 05:13:23 +00:00
semantic-release-bot 51ea929815 🔖 chore(release): v1.55.2 [skip ci]
### [Version&nbsp;1.55.2](https://github.com/lobehub/lobe-chat/compare/v1.55.1...v1.55.2)
<sup>Released on **2025-02-15**</sup>

#### 🐛 Bug Fixes

- **misc**: Avoid blank reasoning with OpenRouter.

<br/>

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

#### What's fixed

* **misc**: Avoid blank reasoning with OpenRouter, closes [#6153](https://github.com/lobehub/lobe-chat/issues/6153) ([c2278d1](https://github.com/lobehub/lobe-chat/commit/c2278d1))

</details>

<div align="right">

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

</div>
2025-02-15 05:12:21 +00:00
sxjeru c2278d1657 🐛 fix: Avoid blank reasoning with OpenRouter (#6153)
* Update openai.ts

* Update openai.ts

* 👌忽略纯粹换行的 reasoning

* Update index.tsx

---------

Co-authored-by: Arvin Xu <arvinx@foxmail.com>
2025-02-15 13:04:23 +08:00
Arvin Xu a20aad04d7 📝 docs: update langfuse Chinese docs (#6168)
* update docs

* update docs
2025-02-15 12:52:00 +08:00
lobehubbot a4ce534120 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-15 04:31:23 +00:00
semantic-release-bot 13d975e48a 🔖 chore(release): v1.55.1 [skip ci]
### [Version&nbsp;1.55.1](https://github.com/lobehub/lobe-chat/compare/v1.55.0...v1.55.1)
<sup>Released on **2025-02-15**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix Azure OpenAI O1 models and refactor the Azure OpenAI implement.

#### 💄 Styles

- **misc**: Update openrouter model list and descriptions.

<br/>

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

#### What's fixed

* **misc**: Fix Azure OpenAI O1 models and refactor the Azure OpenAI implement, closes [#6079](https://github.com/lobehub/lobe-chat/issues/6079) ([6a89a8c](https://github.com/lobehub/lobe-chat/commit/6a89a8c))

#### Styles

* **misc**: Update openrouter model list and descriptions, closes [#6160](https://github.com/lobehub/lobe-chat/issues/6160) ([3ce0485](https://github.com/lobehub/lobe-chat/commit/3ce0485))

</details>

<div align="right">

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

</div>
2025-02-15 04:30:11 +00:00
hiyu 4584a6c354 📝docs: add deployment on tencent cloud lighthouse (#4647)
* 📝docs: add deployment on tencent cloud lighthouse

* update docs

--------
2025-02-15 12:22:27 +08:00
Tom Lian 6a89a8c2ba 🐛 fix: fix Azure OpenAI O1 models and refactor the Azure OpenAI implement (#6079)
* 🐛 fix: fix Azure OpenAI O1 models

* fix: remove @azure/core-rest-pipeline

* fix: fix import & type assertion

* fix: fix import
2025-02-15 12:18:56 +08:00
gru-agent[bot] 40df6c2215 test: Add unit tests for aiModelRouter functionality in aiModel.test.ts. (#6088)
Co-authored-by: gru-agent[bot] <185149714+gru-agent[bot]@users.noreply.github.com>
2025-02-15 12:11:54 +08:00
gru-agent[bot] d1e5662316 test: Add unit tests for AI model selectors in the Redux store. (#6114)
Co-authored-by: gru-agent[bot] <185149714+gru-agent[bot]@users.noreply.github.com>
2025-02-15 12:10:55 +08:00
so02iti01 3ce0485652 💄 style: update openrouter model list and descriptions (#6160) 2025-02-15 12:10:14 +08:00
lobehubbot 4bafe8cc70 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-14 15:07:53 +00:00
semantic-release-bot 848cf4fdfd 🔖 chore(release): v1.55.0 [skip ci]
## [Version&nbsp;1.55.0](https://github.com/lobehub/lobe-chat/compare/v1.54.0...v1.55.0)
<sup>Released on **2025-02-14**</sup>

####  Features

- **misc**: Add vLLM provider support.

<br/>

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

#### What's improved

* **misc**: Add vLLM provider support, closes [#6154](https://github.com/lobehub/lobe-chat/issues/6154) ([1708e32](https://github.com/lobehub/lobe-chat/commit/1708e32))

</details>

<div align="right">

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

</div>
2025-02-14 15:06:46 +00:00
Zhijie He 1708e325ac feat: add vLLM provider support (#6154)
*  feat: add vLLM provider support

* 💄 style: update model list
2025-02-14 22:58:58 +08:00
Arvin Xu 6b6bd5ce5c 👷 build: update ai provider docs url (#6158) 2025-02-14 22:58:39 +08:00
lobehubbot cdb0425940 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-14 13:58:18 +00:00
semantic-release-bot ecb04c9d50 🔖 chore(release): v1.54.0 [skip ci]
## [Version&nbsp;1.54.0](https://github.com/lobehub/lobe-chat/compare/v1.53.12...v1.54.0)
<sup>Released on **2025-02-14**</sup>

####  Features

- **misc**: Add Nvidia NIM provider support.

#### 💄 Styles

- **misc**: Improve advanced params settings.

<br/>

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

#### What's improved

* **misc**: Add Nvidia NIM provider support, closes [#6142](https://github.com/lobehub/lobe-chat/issues/6142) ([ab796a7](https://github.com/lobehub/lobe-chat/commit/ab796a7))

#### Styles

* **misc**: Improve advanced params settings, closes [#6149](https://github.com/lobehub/lobe-chat/issues/6149) ([bf6699c](https://github.com/lobehub/lobe-chat/commit/bf6699c))

</details>

<div align="right">

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

</div>
2025-02-14 13:57:06 +00:00
Zhijie He ab796a79d6 feat: add Nvidia NIM provider support (#6142)
*  feat: add Nvidia NIM provider support

* 🐛 fix: fix build error

* 🔨 chore: sort code

* 💄 style: update model list

* 🐛 fix: fix ci error
2025-02-14 21:48:36 +08:00
Arvin Xu bf6699c422 💄 style: improve advanced params settings (#6149)
* support params

* update i18n

* update i18n

* fix title

* fix warning
2025-02-14 21:48:24 +08:00
lobehubbot 5b83f2e76d 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-14 02:52:39 +00:00
semantic-release-bot 7fd883dc86 🔖 chore(release): v1.53.12 [skip ci]
### [Version&nbsp;1.53.12](https://github.com/lobehub/lobe-chat/compare/v1.53.11...v1.53.12)
<sup>Released on **2025-02-14**</sup>

#### ♻ Code Refactoring

- **misc**: Improve model fetch behavior.

<br/>

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

#### Code refactoring

* **misc**: Improve model fetch behavior, closes [#6055](https://github.com/lobehub/lobe-chat/issues/6055) ([4c2aaf6](https://github.com/lobehub/lobe-chat/commit/4c2aaf6))

</details>

<div align="right">

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

</div>
2025-02-14 02:51:40 +00:00
Zhijie He 4c2aaf6705 ♻️ refactor: improve model fetch behavior (#6055)
* ♻️ refactor: refactor model fetch behavior

* 🐛 fix: fix gemini thinking model set functionCall tag

* 🐛 fix: fix Spark fc tag missing

*  feat: add model fetch support for Tencent Cloud

* ♻️ refactor: refactor import `LOBE_DEFAULT_MODEL_LIST` with async method - Part 1

* ♻️ refactor: refactor import LOBE_DEFAULT_MODEL_LIST with async method - Part 2

* 🔨 chore: add vision, reasoning, fc default value

* ♻️ refactor: improve knownModel matching

* 🐛 fix: fix ci error
2025-02-14 10:43:59 +08:00
lobehubbot e684f10fdc 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-13 17:32:37 +00:00
semantic-release-bot d57392e12d 🔖 chore(release): v1.53.11 [skip ci]
### [Version&nbsp;1.53.11](https://github.com/lobehub/lobe-chat/compare/v1.53.10...v1.53.11)
<sup>Released on **2025-02-13**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix provider form api key.

<br/>

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

#### What's fixed

* **misc**: Fix provider form api key, closes [#6115](https://github.com/lobehub/lobe-chat/issues/6115) ([d074238](https://github.com/lobehub/lobe-chat/commit/d074238))

</details>

<div align="right">

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

</div>
2025-02-13 17:31:36 +00:00
Arvin Xu d07423814b 🐛 fix: fix provider form api key (#6115)
* update provider form

* improve loading page
2025-02-14 01:23:35 +08:00
lobehubbot f19a981fdc 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-13 15:56:20 +00:00
semantic-release-bot 3e4a875997 🔖 chore(release): v1.53.10 [skip ci]
### [Version&nbsp;1.53.10](https://github.com/lobehub/lobe-chat/compare/v1.53.9...v1.53.10)
<sup>Released on **2025-02-13**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix api key input issue.

<br/>

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

#### What's fixed

* **misc**: Fix api key input issue, closes [#6112](https://github.com/lobehub/lobe-chat/issues/6112) ([48e3b85](https://github.com/lobehub/lobe-chat/commit/48e3b85))

</details>

<div align="right">

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

</div>
2025-02-13 15:55:18 +00:00
Arvin Xu 48e3b85029 🐛 fix: fix api key input issue (#6112)
* fix api key input issue

* try to fix clerk auth
2025-02-13 23:47:11 +08:00
lobehubbot 8ed48c93f2 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-13 14:40:33 +00:00
semantic-release-bot 017a2998f0 🔖 chore(release): v1.53.9 [skip ci]
### [Version&nbsp;1.53.9](https://github.com/lobehub/lobe-chat/compare/v1.53.8...v1.53.9)
<sup>Released on **2025-02-13**</sup>

#### 💄 Styles

- **misc**: Support select check models.

<br/>

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

#### Styles

* **misc**: Support select check models, closes [#6106](https://github.com/lobehub/lobe-chat/issues/6106) ([2243bbb](https://github.com/lobehub/lobe-chat/commit/2243bbb))

</details>

<div align="right">

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

</div>
2025-02-13 14:39:24 +00:00
Arvin Xu 2243bbb049 💄 style: support select check models (#6106)
* support check models

* use select not auto complete

* fix style
2025-02-13 22:30:46 +08:00
wzdnzd 5a012e4996 📝 docs: update custom model list instructions (#6076) 2025-02-13 14:58:01 +08:00
gru-agent[bot] a75100f4c7 test: Add unit tests for ServerService methods in server.test.ts (#6090)
Co-authored-by: gru-agent[bot] <185149714+gru-agent[bot]@users.noreply.github.com>
2025-02-13 14:57:14 +08:00
lobehubbot 0737775d03 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-13 05:52:25 +00:00
semantic-release-bot 771279ce72 🔖 chore(release): v1.53.8 [skip ci]
### [Version&nbsp;1.53.8](https://github.com/lobehub/lobe-chat/compare/v1.53.7...v1.53.8)
<sup>Released on **2025-02-13**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix model fetch for spark and fix the support of model reset.

<br/>

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

#### What's fixed

* **misc**: Fix model fetch for spark and fix the support of model reset, closes [#6080](https://github.com/lobehub/lobe-chat/issues/6080) ([257fda1](https://github.com/lobehub/lobe-chat/commit/257fda1))

</details>

<div align="right">

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

</div>
2025-02-13 05:51:20 +00:00
Arvin Xu 257fda1231 🐛 fix: fix model fetch for spark and fix the support of model reset (#6080)
* fix spark fetch issue

* fix lint
2025-02-13 13:43:29 +08:00
lobehubbot 9bef2fb52b 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-13 04:59:30 +00:00
semantic-release-bot 49a3f682ed 🔖 chore(release): v1.53.7 [skip ci]
### [Version&nbsp;1.53.7](https://github.com/lobehub/lobe-chat/compare/v1.53.6...v1.53.7)
<sup>Released on **2025-02-13**</sup>

#### 💄 Styles

- **misc**: Update model list.

<br/>

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

#### Styles

* **misc**: Update model list, closes [#6056](https://github.com/lobehub/lobe-chat/issues/6056) ([be0d7f6](https://github.com/lobehub/lobe-chat/commit/be0d7f6))

</details>

<div align="right">

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

</div>
2025-02-13 04:58:29 +00:00
柴米油盐的梦想 be0d7f6329 💄 style: Update model list (#6056)
* 💄 style: Update huggingface model list

* 💄 style: Rename cloudflare model
2025-02-13 12:50:19 +08:00
renovate[bot] 6b5713abf3 Update dependency ubuntu to v24 (#4198)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-13 12:01:21 +08:00
lobehubbot 6ab727e3d3 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-13 03:21:33 +00:00
semantic-release-bot c888a2d67a 🔖 chore(release): v1.53.6 [skip ci]
### [Version&nbsp;1.53.6](https://github.com/lobehub/lobe-chat/compare/v1.53.5...v1.53.6)
<sup>Released on **2025-02-13**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix not enable models correctly.

<br/>

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

#### What's fixed

* **misc**: Fix not enable models correctly, closes [#6071](https://github.com/lobehub/lobe-chat/issues/6071) ([b78328e](https://github.com/lobehub/lobe-chat/commit/b78328e))

</details>

<div align="right">

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

</div>
2025-02-13 03:20:16 +00:00
renovate[bot] 43b8274471 Update dependency lucide-react to ^0.475.0 (#5505)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-13 11:12:17 +08:00
renovate[bot] cfbadca690 Update dependency @huggingface/tasks to ^0.15.0 (#5594)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-13 11:09:31 +08:00
Arvin Xu b78328eee0 🐛 fix: fix not enable models correctly (#6071)
* fix enabled issue

* fix tests
2025-02-13 11:07:38 +08:00
gru-agent[bot] 4aff39640f test: Add unit test for src/server/routers/lambda/aiProvider.ts (#5686)
* Add unit tests for aiProviderRouter functionality in aiProvider.test.ts

* Add export for aiProviderProcedure in aiProvider.ts.

* Update aiProvider.ts
2025-02-13 11:05:54 +08:00
gru-agent[bot] 55bc785277 test: Add unit tests for providerTestUtils using a mock runtime in providerTestUtils.test.ts (#6028)
Co-authored-by: gru-agent[bot] <185149714+gru-agent[bot]@users.noreply.github.com>
2025-02-13 10:57:04 +08:00
Jack Song 87555bcae9 📝 docs: update docs of next-auth in vercel deployment (#6070)
* Update auth.zh-CN.mdx

fix next auth desc

* Update auth.mdx
2025-02-13 10:55:01 +08:00
gru-agent[bot] 8c4ce2696d test: Add unit tests for AiInfraRepos methods in index.test.ts (#6061)
Co-authored-by: gru-agent[bot] <185149714+gru-agent[bot]@users.noreply.github.com>
2025-02-13 10:14:57 +08:00
lobehubbot 1e53ae781b 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-13 01:14:17 +00:00
semantic-release-bot 03ae464fc5 🔖 chore(release): v1.53.5 [skip ci]
### [Version&nbsp;1.53.5](https://github.com/lobehub/lobe-chat/compare/v1.53.4...v1.53.5)
<sup>Released on **2025-02-13**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix latex in thinking tag render.

<br/>

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

#### What's fixed

* **misc**: Fix latex in thinking tag render, closes [#6063](https://github.com/lobehub/lobe-chat/issues/6063) ([7e89b2d](https://github.com/lobehub/lobe-chat/commit/7e89b2d))

</details>

<div align="right">

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

</div>
2025-02-13 01:13:07 +00:00
Arvin Xu 7e89b2dc94 🐛 fix: fix latex in thinking tag render (#6063)
* fix latex-in-thinking

* fix latex-in-thinking

* fix latex-in-thinking
2025-02-13 09:04:40 +08:00
lobehubbot d421e9321e 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-12 16:11:34 +00:00
semantic-release-bot 15d12df942 🔖 chore(release): v1.53.4 [skip ci]
### [Version&nbsp;1.53.4](https://github.com/lobehub/lobe-chat/compare/v1.53.3...v1.53.4)
<sup>Released on **2025-02-12**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix ai model abilities issue.

<br/>

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

#### What's fixed

* **misc**: Fix ai model abilities issue, closes [#6060](https://github.com/lobehub/lobe-chat/issues/6060) ([718f477](https://github.com/lobehub/lobe-chat/commit/718f477))

</details>

<div align="right">

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

</div>
2025-02-12 16:10:31 +00:00
Arvin Xu 718f477e3f 🐛 fix: fix ai model abilities issue (#6060) 2025-02-13 00:02:31 +08:00
lobehubbot 10c2af180e 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-12 14:37:16 +00:00
semantic-release-bot e503aa259e 🔖 chore(release): v1.53.3 [skip ci]
### [Version&nbsp;1.53.3](https://github.com/lobehub/lobe-chat/compare/v1.53.2...v1.53.3)
<sup>Released on **2025-02-12**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix tencent cloud api issue.

<br/>

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

#### What's fixed

* **misc**: Fix tencent cloud api issue, closes [#6058](https://github.com/lobehub/lobe-chat/issues/6058) ([025d0bc](https://github.com/lobehub/lobe-chat/commit/025d0bc))

</details>

<div align="right">

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

</div>
2025-02-12 14:36:09 +00:00
hedeqiang 025d0bcd62 🐛 fix: fix tencent cloud api issue (#6058)
* fix: tencentcloud

* fix: tencentcloud
2025-02-12 22:27:52 +08:00
lobehubbot 474f7964b7 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-12 05:15:33 +00:00
semantic-release-bot f9556e42c5 🔖 chore(release): v1.53.2 [skip ci]
### [Version&nbsp;1.53.2](https://github.com/lobehub/lobe-chat/compare/v1.53.1...v1.53.2)
<sup>Released on **2025-02-12**</sup>

#### 🐛 Bug Fixes

- **misc**: Disable openrouter client fetch.

<br/>

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

#### What's fixed

* **misc**: Disable openrouter client fetch, closes [#6043](https://github.com/lobehub/lobe-chat/issues/6043) ([63b22ce](https://github.com/lobehub/lobe-chat/commit/63b22ce))

</details>

<div align="right">

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

</div>
2025-02-12 05:14:28 +00:00
Arvin Xu 63b22ce739 🐛 fix: disable openrouter client fetch (#6043)
* update docs

* improve openrouter config

* update docs
2025-02-12 13:06:35 +08:00
lobehubbot 0667ec2873 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-12 04:56:52 +00:00
semantic-release-bot 437a477b20 🔖 chore(release): v1.53.1 [skip ci]
### [Version&nbsp;1.53.1](https://github.com/lobehub/lobe-chat/compare/v1.53.0...v1.53.1)
<sup>Released on **2025-02-12**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix reasoning output for OpenRouter reasoning models like deepseek-r1.

<br/>

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

#### What's fixed

* **misc**: Fix reasoning output for OpenRouter reasoning models like deepseek-r1, closes [#5903](https://github.com/lobehub/lobe-chat/issues/5903) [#5766](https://github.com/lobehub/lobe-chat/issues/5766) ([bfd9317](https://github.com/lobehub/lobe-chat/commit/bfd9317))

</details>

<div align="right">

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

</div>
2025-02-12 04:55:53 +00:00
TechnoHouse bfd9317feb 🐛 fix: fix reasoning output for OpenRouter reasoning models like deepseek-r1 (#5903)
*  feat: Support include_reasoning for OpenRouter provider's models. Solves #5766

*  feat: Support display OpenRouter's "reasoning" output by transforming
its "reasoning" to be consistent with most other platforms: reasoning outputs wrapped by <think> XML tag.

* Revert openrouter stream transformer: Capture reasoning content inside openai stream processor

* Address PR comments: r1 does not support functional calling

* add unittest for openrouter reasoning stream handling
2025-02-12 12:47:54 +08:00
lobehubbot aabec1fe1d 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-11 18:18:30 +00:00
semantic-release-bot d07b4a2303 🔖 chore(release): v1.53.0 [skip ci]
## [Version&nbsp;1.53.0](https://github.com/lobehub/lobe-chat/compare/v1.52.19...v1.53.0)
<sup>Released on **2025-02-11**</sup>

####  Features

- **misc**: Support tencent cloud provider.

#### 💄 Styles

- **misc**: Update i18n, update provider i18n.

<br/>

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

#### What's improved

* **misc**: Support tencent cloud provider, closes [#6029](https://github.com/lobehub/lobe-chat/issues/6029) ([6ec6b08](https://github.com/lobehub/lobe-chat/commit/6ec6b08))

#### Styles

* **misc**: Update i18n, closes [#6030](https://github.com/lobehub/lobe-chat/issues/6030) ([ee48e30](https://github.com/lobehub/lobe-chat/commit/ee48e30))
* **misc**: Update provider i18n, closes [#6031](https://github.com/lobehub/lobe-chat/issues/6031) ([e0e231c](https://github.com/lobehub/lobe-chat/commit/e0e231c))

</details>

<div align="right">

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

</div>
2025-02-11 18:17:20 +00:00
Arvin Xu e0e231c7a8 💄 style: update provider i18n (#6031) 2025-02-12 02:09:26 +08:00
Arvin Xu 6ec6b08fd7 feat: support tencent cloud provider (#6029) 2025-02-12 02:04:37 +08:00
Arvin Xu ee48e30758 💄 style: update i18n (#6030)
* update i18n

* update i18n
2025-02-12 02:03:16 +08:00
lobehubbot 8b4cd1309b 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-11 16:12:11 +00:00
semantic-release-bot ac4109364e 🔖 chore(release): v1.52.19 [skip ci]
### [Version&nbsp;1.52.19](https://github.com/lobehub/lobe-chat/compare/v1.52.18...v1.52.19)
<sup>Released on **2025-02-11**</sup>

#### ♻ Code Refactoring

- **misc**: Refactor the agent runtime test case.

<br/>

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

#### Code refactoring

* **misc**: Refactor the agent runtime test case, closes [#6025](https://github.com/lobehub/lobe-chat/issues/6025) ([3414fdd](https://github.com/lobehub/lobe-chat/commit/3414fdd))

</details>

<div align="right">

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

</div>
2025-02-11 16:11:11 +00:00
Arvin Xu 3414fdd2c5 ♻️ refactor: refactor the agent runtime test case (#6025)
* refactor tests

* refactor the runtime tests

* refactor the runtime tests
2025-02-12 00:02:59 +08:00
lobehubbot d11af79c61 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-11 12:10:38 +00:00
semantic-release-bot 79ddef3ef7 🔖 chore(release): v1.52.18 [skip ci]
### [Version&nbsp;1.52.18](https://github.com/lobehub/lobe-chat/compare/v1.52.17...v1.52.18)
<sup>Released on **2025-02-11**</sup>

<br/>

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

</details>

<div align="right">

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

</div>
2025-02-11 12:09:36 +00:00
Arvin Xu aafa727811 👷 build: fix docker image (#6020) 2025-02-11 19:51:20 +08:00
lobehubbot 4b44e4bcf1 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-11 11:27:47 +00:00
semantic-release-bot f4d0e34545 🔖 chore(release): v1.52.17 [skip ci]
### [Version&nbsp;1.52.17](https://github.com/lobehub/lobe-chat/compare/v1.52.16...v1.52.17)
<sup>Released on **2025-02-11**</sup>

<br/>

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

</details>

<div align="right">

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

</div>
2025-02-11 11:26:43 +00:00
Arvin Xu 959dd883c0 👷 build: improve Docker workflow (#5995)
* chore: enables parallel Docker builds

* chore: update docker hub username

* chore: update arm os

* add a label trigger

* fix docker login issue

* try again

* fix git hash

* update branch heads

* update lighthouse

---------

Co-authored-by: coulsontl <149155411+coulsontl@users.noreply.github.com>
2025-02-11 19:18:36 +08:00
lobehubbot 3bf6bdc17d 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-11 03:27:36 +00:00
semantic-release-bot 3e2e7eeb5a 🔖 chore(release): v1.52.16 [skip ci]
### [Version&nbsp;1.52.16](https://github.com/lobehub/lobe-chat/compare/v1.52.15...v1.52.16)
<sup>Released on **2025-02-11**</sup>

#### 💄 Styles

- **misc**: Support mistral proxy url.

<br/>

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

#### Styles

* **misc**: Support mistral proxy url, closes [#6002](https://github.com/lobehub/lobe-chat/issues/6002) ([dcb465e](https://github.com/lobehub/lobe-chat/commit/dcb465e))

</details>

<div align="right">

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

</div>
2025-02-11 03:26:38 +00:00
Arvin Xu dcb465eab7 💄 style: support mistral proxy url (#6002) 2025-02-11 11:18:47 +08:00
lobehubbot 5af600a53d 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-10 17:08:33 +00:00
semantic-release-bot 3696aa6eac 🔖 chore(release): v1.52.15 [skip ci]
### [Version&nbsp;1.52.15](https://github.com/lobehub/lobe-chat/compare/v1.52.14...v1.52.15)
<sup>Released on **2025-02-10**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix lmstudio baseURL.

#### 💄 Styles

- **misc**: Optimized MaxToken Slider.

<br/>

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

#### What's fixed

* **misc**: Fix lmstudio baseURL, closes [#5988](https://github.com/lobehub/lobe-chat/issues/5988) ([1d19aa6](https://github.com/lobehub/lobe-chat/commit/1d19aa6))

#### Styles

* **misc**: Optimized MaxToken Slider, closes [#5952](https://github.com/lobehub/lobe-chat/issues/5952) ([3cdcb95](https://github.com/lobehub/lobe-chat/commit/3cdcb95))

</details>

<div align="right">

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

</div>
2025-02-10 17:07:21 +00:00
Rylan Cai 5cc967ad95 👷 chore: Add configuration check for docker compose at setup.sh (#5926)
* 👷 chore: add configuration check in local

* 🐛 fix: do not display error msg if correct

* ✏️ typo: fix incorrect description

* 👷 ci: add warnings
2025-02-11 00:59:35 +08:00
sxjeru 3cdcb95431 💄 style: Optimized MaxToken Slider (#5952) 2025-02-11 00:57:52 +08:00
gru-agent[bot] d7c3edba71 test: add unit test for src/utils/client/switchLang.ts (#5971)
* fix language issue

* refactor the language part

* fix tests

* Add cookie setting functionality to switchLang tests for locale changes.

---------

Co-authored-by: Arvin Xu <arvinx@foxmail.com>
Co-authored-by: gru-agent[bot] <185149714+gru-agent[bot]@users.noreply.github.com>
2025-02-11 00:55:49 +08:00
Arvin Xu 1d19aa6fac 🐛 fix: fix lmstudio baseURL (#5988)
* fix lmstudio

* fix lmstudio
2025-02-11 00:51:34 +08:00
lobehubbot 79964b73c4 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-10 15:34:20 +00:00
semantic-release-bot 9085207f6e 🔖 chore(release): v1.52.14 [skip ci]
### [Version&nbsp;1.52.14](https://github.com/lobehub/lobe-chat/compare/v1.52.13...v1.52.14)
<sup>Released on **2025-02-10**</sup>

#### 💄 Styles

- **misc**: Refactor agent settings modal.

<br/>

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

#### Styles

* **misc**: Refactor agent settings modal, closes [#5987](https://github.com/lobehub/lobe-chat/issues/5987) ([6482f8a](https://github.com/lobehub/lobe-chat/commit/6482f8a))

</details>

<div align="right">

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

</div>
2025-02-10 15:33:19 +00:00
Arvin Xu 6482f8a332 💄 style: refactor agent settings modal (#5987)
* remove setting modal

* refactor the agent settings modal

* fix tests

* fix tests
2025-02-10 23:25:19 +08:00
lobehubbot d8b522d338 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-10 14:34:22 +00:00
semantic-release-bot 500dca3223 🔖 chore(release): v1.52.13 [skip ci]
### [Version&nbsp;1.52.13](https://github.com/lobehub/lobe-chat/compare/v1.52.12...v1.52.13)
<sup>Released on **2025-02-10**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix Aliyun deepseek-r1 reasoning parsing with oneapi, Support Aliyun deepseek-r1 reasoning.

<br/>

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

#### What's fixed

* **misc**: Fix Aliyun deepseek-r1 reasoning parsing with oneapi, closes [#5964](https://github.com/lobehub/lobe-chat/issues/5964) ([0d7e665](https://github.com/lobehub/lobe-chat/commit/0d7e665))
* **misc**: Support Aliyun deepseek-r1 reasoning, closes [#5954](https://github.com/lobehub/lobe-chat/issues/5954) ([cf7a2d6](https://github.com/lobehub/lobe-chat/commit/cf7a2d6))

</details>

<div align="right">

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

</div>
2025-02-10 14:33:08 +00:00
sxjeru cf7a2d642e 🐛 fix: Support Aliyun deepseek-r1 reasoning (#5954)
* Update qwen.ts

* Update qwen.ts
2025-02-10 22:25:05 +08:00
DeepWzh 0d7e6651d7 🐛 fix: fix Aliyun deepseek-r1 reasoning parsing with oneapi (#5964)
* fix: ensure that reasoning_content is a non-empty string when dealing with Aliyun Bailian

* fix: improve handling of reasoning_content and content in OpenAI stream transformation

* test: add openai reasoning test in aliyun bailian api
2025-02-10 22:24:33 +08:00
Rylan Cai ae4aa0e2e1 📝 docs: Add warning to caching in reverse proxy (#5985)
* 📝 docs: add warning

* 📝 docs: add links
2025-02-10 21:28:42 +08:00
lobehubbot 0d7e364bc5 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-10 13:07:14 +00:00
semantic-release-bot ac317ded63 🔖 chore(release): v1.52.12 [skip ci]
### [Version&nbsp;1.52.12](https://github.com/lobehub/lobe-chat/compare/v1.52.11...v1.52.12)
<sup>Released on **2025-02-10**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix language incorrect on page hydration.

<br/>

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

#### What's fixed

* **misc**: Fix language incorrect on page hydration, closes [#5970](https://github.com/lobehub/lobe-chat/issues/5970) ([91912cf](https://github.com/lobehub/lobe-chat/commit/91912cf))

</details>

<div align="right">

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

</div>
2025-02-10 13:06:11 +00:00
Arvin Xu 91912cf725 🐛 fix: fix language incorrect on page hydration (#5970)
* fix language issue

* refactor the language part

* fix tests
2025-02-10 20:58:20 +08:00
lds 3957ac2f46 📝 docs: Update docs/self-hosting/environment-variables/auth.zh-CN.mdx (#5976) 2025-02-10 20:26:57 +08:00
lobehubbot f8bdf82f03 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-10 02:35:27 +00:00
semantic-release-bot 9be3cd4231 🔖 chore(release): v1.52.11 [skip ci]
### [Version&nbsp;1.52.11](https://github.com/lobehub/lobe-chat/compare/v1.52.10...v1.52.11)
<sup>Released on **2025-02-10**</sup>

#### 💄 Styles

- **misc**: Support Mermaid in Artifacts.

<br/>

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

#### Styles

* **misc**: Support Mermaid in Artifacts, closes [#5947](https://github.com/lobehub/lobe-chat/issues/5947) ([892f961](https://github.com/lobehub/lobe-chat/commit/892f961))

</details>

<div align="right">

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

</div>
2025-02-10 02:34:31 +00:00
Arvin Xu 892f9613b1 💄 style: support Mermaid in Artifacts (#5947) 2025-02-10 10:26:41 +08:00
lobehubbot 4079495897 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-09 17:38:57 +00:00
semantic-release-bot 1fb62e84d9 🔖 chore(release): v1.52.10 [skip ci]
### [Version&nbsp;1.52.10](https://github.com/lobehub/lobe-chat/compare/v1.52.9...v1.52.10)
<sup>Released on **2025-02-09**</sup>

<br/>

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

</details>

<div align="right">

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

</div>
2025-02-09 17:37:58 +00:00
Rylan Cai ae9c802e16 📝 docs: Add warnings to disable signup for casdoor (#5942)
* 📝 docs: add prompt for disable sign up

* 📝 docs: add notice for sign up
2025-02-10 01:30:05 +08:00
Arvin Xu eea2d2cc69 👷 build: improve dockerfile of rewrite (#5943) 2025-02-10 01:29:23 +08:00
lobehubbot 704de4a029 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-09 16:11:00 +00:00
semantic-release-bot 0c4d937c0c 🔖 chore(release): v1.52.9 [skip ci]
### [Version&nbsp;1.52.9](https://github.com/lobehub/lobe-chat/compare/v1.52.8...v1.52.9)
<sup>Released on **2025-02-09**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix changelog issue.

<br/>

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

#### What's fixed

* **misc**: Fix changelog issue, closes [#5941](https://github.com/lobehub/lobe-chat/issues/5941) ([9df47a3](https://github.com/lobehub/lobe-chat/commit/9df47a3))

</details>

<div align="right">

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

</div>
2025-02-09 16:09:57 +00:00
Arvin Xu 9df47a3990 🐛 fix: fix changelog issue (#5941) 2025-02-10 00:01:59 +08:00
lobehubbot 5de327de75 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-09 06:18:11 +00:00
semantic-release-bot 80de12ff49 🔖 chore(release): v1.52.8 [skip ci]
### [Version&nbsp;1.52.8](https://github.com/lobehub/lobe-chat/compare/v1.52.7...v1.52.8)
<sup>Released on **2025-02-09**</sup>

#### 💄 Styles

- **misc**: Update github model list, Update openrouter model list.

<br/>

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

#### Styles

* **misc**: Update github model list, closes [#5920](https://github.com/lobehub/lobe-chat/issues/5920) ([0676d0a](https://github.com/lobehub/lobe-chat/commit/0676d0a))
* **misc**: Update openrouter model list, closes [#5919](https://github.com/lobehub/lobe-chat/issues/5919) ([8a185d3](https://github.com/lobehub/lobe-chat/commit/8a185d3))

</details>

<div align="right">

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

</div>
2025-02-09 06:17:08 +00:00
opoet 0676d0a77a 💄 style: Update github model list (#5920) 2025-02-09 14:08:59 +08:00
opoet 8a185d363a 💄 style: Update openrouter model list (#5919) 2025-02-09 14:08:49 +08:00
Arvin Xu a53af9f0d6 🔨 chore: add vercelIgnoredBuildStep (#5929)
* add

* add

* fix

* branch

* again

* fix
2025-02-09 14:05:51 +08:00
lobehubbot 32d484a3a9 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-09 05:49:50 +00:00
semantic-release-bot 073fc65dfd 🔖 chore(release): v1.52.7 [skip ci]
### [Version&nbsp;1.52.7](https://github.com/lobehub/lobe-chat/compare/v1.52.6...v1.52.7)
<sup>Released on **2025-02-09**</sup>

#### 🐛 Bug Fixes

- **misc**: Rewrite to local container in docker deployment mode.

#### 💄 Styles

- **misc**: Update Cloudflare models.

<br/>

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

#### What's fixed

* **misc**: Rewrite to local container in docker deployment mode, closes [#5910](https://github.com/lobehub/lobe-chat/issues/5910) ([f399197](https://github.com/lobehub/lobe-chat/commit/f399197))

#### Styles

* **misc**: Update Cloudflare models, closes [#5899](https://github.com/lobehub/lobe-chat/issues/5899) ([b71206d](https://github.com/lobehub/lobe-chat/commit/b71206d))

</details>

<div align="right">

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

</div>
2025-02-09 05:48:39 +00:00
Arvin Xu f399197364 🐛 fix: rewrite to local container in docker deployment mode (#5910)
* make rewrite with local

* try longitude

* refactor the isMobile condition

* support use longitude as theme detector

* improve dockerfile

* improve geo

* improve geo

* improve geo

* vercel functions

* clean log

* skip api request at first

* turn back status in rewrite
2025-02-09 13:40:57 +08:00
柴米油盐的梦想 b71206d784 💄 style: Update Cloudflare models (#5899) 2025-02-09 13:34:55 +08:00
Rylan Cai 0b5b945f18 📝 docs: add docs for webhooks (#5924) 2025-02-09 13:33:56 +08:00
renovate[bot] 4108795ace Update pnpm to v9.15.5 (#5915)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-09 11:12:36 +08:00
renovate[bot] 9f9408411f Update dependency happy-dom to v17 (#5916)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-09 10:59:09 +08:00
lobehubbot 540d199f18 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-08 22:25:02 +00:00
semantic-release-bot 056d50e55b 🔖 chore(release): v1.52.6 [skip ci]
### [Version&nbsp;1.52.6](https://github.com/lobehub/lobe-chat/compare/v1.52.5...v1.52.6)
<sup>Released on **2025-02-08**</sup>

#### 💄 Styles

- **misc**: Update ZeroOne models.

<br/>

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

#### Styles

* **misc**: Update ZeroOne models, closes [#5904](https://github.com/lobehub/lobe-chat/issues/5904) ([6e8d1a7](https://github.com/lobehub/lobe-chat/commit/6e8d1a7))

</details>

<div align="right">

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

</div>
2025-02-08 22:24:02 +00:00
Ryo Shen 6e8d1a7fa9 💄 style: Update ZeroOne models (#5904)
* 💄 style: Update ZeroOne models

* 💄 style: Update ZeroOne models
2025-02-09 06:15:59 +08:00
lobehubbot 3f2a7c4472 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-08 21:42:00 +00:00
semantic-release-bot fc13b42fe2 🔖 chore(release): v1.52.5 [skip ci]
### [Version&nbsp;1.52.5](https://github.com/lobehub/lobe-chat/compare/v1.52.4...v1.52.5)
<sup>Released on **2025-02-08**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix changelog modal.

<br/>

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

#### What's fixed

* **misc**: Fix changelog modal, closes [#5906](https://github.com/lobehub/lobe-chat/issues/5906) ([cbc5967](https://github.com/lobehub/lobe-chat/commit/cbc5967))

</details>

<div align="right">

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

</div>
2025-02-08 21:41:03 +00:00
Arvin Xu cbc5967d37 🐛 fix: fix changelog modal (#5906)
* try to fix / 308 redirect

* clean log

* must dynamic
2025-02-09 05:33:14 +08:00
lobehubbot 29d14b6b12 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-08 10:17:49 +00:00
semantic-release-bot 723b89dd3e 🔖 chore(release): v1.52.4 [skip ci]
### [Version&nbsp;1.52.4](https://github.com/lobehub/lobe-chat/compare/v1.52.3...v1.52.4)
<sup>Released on **2025-02-08**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix changelog modal.

<br/>

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

#### What's fixed

* **misc**: Fix changelog modal, closes [#5894](https://github.com/lobehub/lobe-chat/issues/5894) ([2a3840b](https://github.com/lobehub/lobe-chat/commit/2a3840b))

</details>

<div align="right">

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

</div>
2025-02-08 10:16:50 +00:00
Arvin Xu 2a3840bb1e 🐛 fix: fix changelog modal (#5894)
* fix changelog modal

* improve
2025-02-08 18:09:06 +08:00
lobehubbot 5aa4bec6e8 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-08 09:45:03 +00:00
semantic-release-bot 9e43450658 🔖 chore(release): v1.52.3 [skip ci]
### [Version&nbsp;1.52.3](https://github.com/lobehub/lobe-chat/compare/v1.52.2...v1.52.3)
<sup>Released on **2025-02-08**</sup>

#### 🐛 Bug Fixes

- **misc**: Add Zhipu param limit, Fix translation in variants mode.

#### 💄 Styles

- **misc**: Update Gemini 2.0 models.

<br/>

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

#### What's fixed

* **misc**: Add Zhipu param limit, closes [#5858](https://github.com/lobehub/lobe-chat/issues/5858) ([c299d78](https://github.com/lobehub/lobe-chat/commit/c299d78))
* **misc**: Fix translation in variants mode, closes [#5878](https://github.com/lobehub/lobe-chat/issues/5878) ([fcbc7b9](https://github.com/lobehub/lobe-chat/commit/fcbc7b9))

#### Styles

* **misc**: Update Gemini 2.0 models, closes [#5777](https://github.com/lobehub/lobe-chat/issues/5777) ([89803a5](https://github.com/lobehub/lobe-chat/commit/89803a5))

</details>

<div align="right">

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

</div>
2025-02-08 09:43:56 +00:00
sxjeru 89803a5ced 💄 style: Update Gemini 2.0 models (#5777)
* Update google.ts

* Update google.ts

* Update google.ts

* Update google.ts

* Update google.ts

* Update google.ts
2025-02-08 17:36:13 +08:00
CanisMinor fcbc7b929d 🐛 fix: Fix translation in variants mode (#5878)
Co-authored-by: Arvin Xu <arvinx@foxmail.com>
2025-02-08 17:31:08 +08:00
sxjeru c299d78760 🐛 fix: Add Zhipu param limit (#5858)
* Update index.ts

* Update index.ts
2025-02-08 17:30:10 +08:00
lobehubbot 2aaa57dafb 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-08 09:02:08 +00:00
semantic-release-bot 6457060bae 🔖 chore(release): v1.52.2 [skip ci]
### [Version&nbsp;1.52.2](https://github.com/lobehub/lobe-chat/compare/v1.52.1...v1.52.2)
<sup>Released on **2025-02-08**</sup>

#### 💄 Styles

- **misc**: Add siliconcloud pro models.

<br/>

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

#### Styles

* **misc**: Add siliconcloud pro models, closes [#5851](https://github.com/lobehub/lobe-chat/issues/5851) ([9b321e6](https://github.com/lobehub/lobe-chat/commit/9b321e6))

</details>

<div align="right">

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

</div>
2025-02-08 09:01:03 +00:00
sxjeru 9b321e6a32 💄 style: Add siliconcloud pro models (#5851)
* Update siliconcloud.ts

* Update siliconcloud.ts

* Update siliconcloud.ts
2025-02-08 16:53:19 +08:00
Arvin Xu 260c0fd5ec 🔨 chore: fix docker-compose.yml (#5890) 2025-02-08 16:34:28 +08:00
lobehubbot 2f5d95e004 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-08 08:29:56 +00:00
semantic-release-bot dcca8d87e3 🔖 chore(release): v1.52.1 [skip ci]
### [Version&nbsp;1.52.1](https://github.com/lobehub/lobe-chat/compare/v1.52.0...v1.52.1)
<sup>Released on **2025-02-08**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix static relative issues.

<br/>

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

#### What's fixed

* **misc**: Fix static relative issues, closes [#5874](https://github.com/lobehub/lobe-chat/issues/5874) ([419977b](https://github.com/lobehub/lobe-chat/commit/419977b))

</details>

<div align="right">

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

</div>
2025-02-08 08:28:53 +00:00
Arvin Xu 419977b59b 🐛 fix: fix static relative issues (#5874)
* static again

* try to fix

* fix

* fix tests

* fix oAuthSSOProviders

* remove force-static

* remove force-static

* fix server import swr

* fix tests

* fix tests

* fix test
2025-02-08 16:21:16 +08:00
lobehubbot d0f54629c8 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-08 02:34:19 +00:00
semantic-release-bot 283ef89734 🔖 chore(release): v1.52.0 [skip ci]
## [Version&nbsp;1.52.0](https://github.com/lobehub/lobe-chat/compare/v1.51.16...v1.52.0)
<sup>Released on **2025-02-08**</sup>

####  Features

- **misc**: Refactor the auth condition in Next Auth.

<br/>

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

#### What's improved

* **misc**: Refactor the auth condition in Next Auth, closes [#5866](https://github.com/lobehub/lobe-chat/issues/5866) ([e529108](https://github.com/lobehub/lobe-chat/commit/e529108))

</details>

<div align="right">

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

</div>
2025-02-08 02:33:11 +00:00
Arvin Xu e529108ff6 feat: refactor the auth condition in Next Auth (#5866)
This upgrade includes two changes:

For users deploying with Vercel using next-auth, it is necessary to add the environment variable `NEXT_PUBLIC_ENABLE_NEXT_AUTH=1` to ensure Next Auth is enabled; other users are not affected.
For users using clerk in self-built images, it is necessary to additionally configure `NEXT_PUBLIC_ENABLE_NEXT_AUTH=0` to disable Next Auth

Other standard deployment scenarios (using Clerk in Vercel and using next-auth in Docker) are not affected

For More detail, refer to https://github.com/lobehub/lobe-chat/issues/5804

本次升级存在两个变更:

- 针对使用 Vercel 部署中使用 next-auth 的用户,需要额外添加 `NEXT_PUBLIC_ENABLE_NEXT_AUTH=1` 环境变量来确保开启 Next Auth
- 针对使用自构建镜像中使用 clerk 的用户,需要额外配置 `NEXT_PUBLIC_ENABLE_NEXT_AUTH=0` 环境变量来关闭 Next Auth

其他标准部署场景(Vercel 中使用 Clerk 与 Docker 中使用 next-auth )不受影响

变更详情原因查看 https://github.com/lobehub/lobe-chat/issues/5804
2025-02-08 10:25:28 +08:00
lobehubbot a1149301a3 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-07 17:16:25 +00:00
semantic-release-bot b0db95d312 🔖 chore(release): v1.51.16 [skip ci]
### [Version&nbsp;1.51.16](https://github.com/lobehub/lobe-chat/compare/v1.51.15...v1.51.16)
<sup>Released on **2025-02-07**</sup>

<br/>

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

</details>

<div align="right">

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

</div>
2025-02-07 17:15:26 +00:00
dupl 85d6035810 👷 build: netlify build error during the installation of dependencies using pnpm (#5861) 2025-02-08 01:07:32 +08:00
lobehubbot 40d599eb8a 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-07 08:24:46 +00:00
semantic-release-bot 899a6e6387 🔖 chore(release): v1.51.15 [skip ci]
### [Version&nbsp;1.51.15](https://github.com/lobehub/lobe-chat/compare/v1.51.14...v1.51.15)
<sup>Released on **2025-02-07**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix home next auth error and update pnpm.

<br/>

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

#### What's fixed

* **misc**: Fix home next auth error and update pnpm, closes [#5833](https://github.com/lobehub/lobe-chat/issues/5833) ([aa74d20](https://github.com/lobehub/lobe-chat/commit/aa74d20))

</details>

<div align="right">

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

</div>
2025-02-07 08:23:46 +00:00
Arvin Xu aa74d20244 🐛 fix: fix home next auth error and update pnpm (#5833)
* update

* try to fix next auth
2025-02-07 16:15:50 +08:00
lobehubbot b5fed64672 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-07 07:05:51 +00:00
semantic-release-bot 7171ab84a1 🔖 chore(release): v1.51.14 [skip ci]
### [Version&nbsp;1.51.14](https://github.com/lobehub/lobe-chat/compare/v1.51.13...v1.51.14)
<sup>Released on **2025-02-07**</sup>

#### ♻ Code Refactoring

- **misc**: Update changelog cache and upgrade anthropic sdk.

<br/>

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

#### Code refactoring

* **misc**: Update changelog cache and upgrade anthropic sdk, closes [#5829](https://github.com/lobehub/lobe-chat/issues/5829) ([620df2f](https://github.com/lobehub/lobe-chat/commit/620df2f))

</details>

<div align="right">

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

</div>
2025-02-07 07:04:49 +00:00
Rylan Cai 00f9d34001 🔨 chore: pin lobe-chat-database@1.51.3 in docker-compose.yml to avoid one-click deploy error (#5831) 2025-02-07 14:56:43 +08:00
Arvin Xu 620df2f20d ♻️ refactor: update changelog cache and upgrade anthropic sdk (#5829)
* update

* fix tests
2025-02-07 14:55:18 +08:00
lobehubbot 985869c32a 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-07 06:07:03 +00:00
semantic-release-bot 670c79708f 🔖 chore(release): v1.51.13 [skip ci]
### [Version&nbsp;1.51.13](https://github.com/lobehub/lobe-chat/compare/v1.51.12...v1.51.13)
<sup>Released on **2025-02-07**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix next auth error.

<br/>

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

#### What's fixed

* **misc**: Fix next auth error, closes [#5825](https://github.com/lobehub/lobe-chat/issues/5825) ([4509b7a](https://github.com/lobehub/lobe-chat/commit/4509b7a))

</details>

<div align="right">

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

</div>
2025-02-07 06:05:43 +00:00
Arvin Xu 4509b7a3df 🐛 fix: Fix next auth error (#5825)
* try to fix next-auth

* try to fix next-auth

* fix
2025-02-07 13:57:49 +08:00
lobehubbot f7fa432bfb 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-07 02:19:53 +00:00
semantic-release-bot a93007f322 🔖 chore(release): v1.51.12 [skip ci]
### [Version&nbsp;1.51.12](https://github.com/lobehub/lobe-chat/compare/v1.51.11...v1.51.12)
<sup>Released on **2025-02-07**</sup>

#### 🐛 Bug Fixes

- **misc**: Try to fix next-auth issue.

<br/>

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

#### What's fixed

* **misc**: Try to fix next-auth issue, closes [#5813](https://github.com/lobehub/lobe-chat/issues/5813) ([8e316bd](https://github.com/lobehub/lobe-chat/commit/8e316bd))

</details>

<div align="right">

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

</div>
2025-02-07 02:18:53 +00:00
Arvin Xu 8e316bdc3c 🐛 fix: try to fix next-auth issue (#5813)
* try to fix next-auth issue

* move (auth) page

* refactor the StoreInitialization
2025-02-07 10:10:55 +08:00
lobehubbot 8bdd72cb53 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-06 17:55:39 +00:00
semantic-release-bot ae49c68215 🔖 chore(release): v1.51.11 [skip ci]
### [Version&nbsp;1.51.11](https://github.com/lobehub/lobe-chat/compare/v1.51.10...v1.51.11)
<sup>Released on **2025-02-06**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix `/file/[id]` 500 issue.

<br/>

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

#### What's fixed

* **misc**: Fix `/file/[id]` 500 issue, closes [#5812](https://github.com/lobehub/lobe-chat/issues/5812) ([9bb387e](https://github.com/lobehub/lobe-chat/commit/9bb387e))

</details>

<div align="right">

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

</div>
2025-02-06 17:53:26 +00:00
Arvin Xu 9bb387e451 🐛 fix: fix /file/[id] 500 issue (#5812)
* fix files 500

* improve provider 500 issue fix
2025-02-07 01:45:29 +08:00
lobehubbot 27edbb234f 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-06 16:39:22 +00:00
semantic-release-bot 6610361681 🔖 chore(release): v1.51.10 [skip ci]
### [Version&nbsp;1.51.10](https://github.com/lobehub/lobe-chat/compare/v1.51.9...v1.51.10)
<sup>Released on **2025-02-06**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix provider 500 issue.

<br/>

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

#### What's fixed

* **misc**: Fix provider 500 issue, closes [#5807](https://github.com/lobehub/lobe-chat/issues/5807) ([db860b5](https://github.com/lobehub/lobe-chat/commit/db860b5))

</details>

<div align="right">

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

</div>
2025-02-06 16:38:21 +00:00
Arvin Xu db860b56e0 🐛 fix: fix provider 500 issue (#5807) 2025-02-07 00:30:28 +08:00
lobehubbot adecae5227 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-06 15:11:56 +00:00
semantic-release-bot d8693220d0 🔖 chore(release): v1.51.9 [skip ci]
### [Version&nbsp;1.51.9](https://github.com/lobehub/lobe-chat/compare/v1.51.8...v1.51.9)
<sup>Released on **2025-02-06**</sup>

#### 💄 Styles

- **misc**: Update edtion tag display and improve prerender.

<br/>

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

#### Styles

* **misc**: Update edtion tag display and improve prerender, closes [#5800](https://github.com/lobehub/lobe-chat/issues/5800) ([673109b](https://github.com/lobehub/lobe-chat/commit/673109b))

</details>

<div align="right">

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

</div>
2025-02-06 15:10:57 +00:00
Arvin Xu 673109ba46 💄 style: update edtion tag display and improve prerender (#5800)
* try to remove chat force-static

* update locale

* try to remove chat force-static

* try to remove setting provider page force-static
2025-02-06 23:03:14 +08:00
lobehubbot f7524248c5 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-06 13:43:26 +00:00
semantic-release-bot 1eaf48ce89 🔖 chore(release): v1.51.8 [skip ci]
### [Version&nbsp;1.51.8](https://github.com/lobehub/lobe-chat/compare/v1.51.7...v1.51.8)
<sup>Released on **2025-02-06**</sup>

#### ♻ Code Refactoring

- **misc**: Refactor model fetch method.

<br/>

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

#### Code refactoring

* **misc**: Refactor model fetch method, closes [#5768](https://github.com/lobehub/lobe-chat/issues/5768) ([e406908](https://github.com/lobehub/lobe-chat/commit/e406908))

</details>

<div align="right">

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

</div>
2025-02-06 13:42:25 +00:00
Zhijie He e40690817e ♻️ refactor: refactor model fetch method (#5768)
* ♻️ refactor: refactor model fetch method

* 🐛 fix: fix ci & tag matching error

* 🐛 fix: fix qvq vision tag match error

* 🐛 fix: fix typo

* 🐛 fix: fix qvq, qwq reasoning tag missing

* 🐛 fix: fix model name matching error

* 🐛 fix: fix qvq vision tag missing

* 🐛 fix: fix typo

* 🔨 chore: support more type of models

* 🐛 fix: fix some issue

* 🐛 fix: fix togetherai apiKey missing when fetch model list

* 🔨 chore: cleanup unused code

* 🔨 chore: add oai provider support
2025-02-06 21:34:43 +08:00
lobehubbot 1a3d1d7013 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-06 13:34:03 +00:00
semantic-release-bot 096501d92b 🔖 chore(release): v1.51.7 [skip ci]
### [Version&nbsp;1.51.7](https://github.com/lobehub/lobe-chat/compare/v1.51.6...v1.51.7)
<sup>Released on **2025-02-06**</sup>

#### 💄 Styles

- **misc**: Add Aliyun deepseek-r1 distill models.

<br/>

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

#### Styles

* **misc**: Add Aliyun deepseek-r1 distill models, closes [#5769](https://github.com/lobehub/lobe-chat/issues/5769) ([8b68190](https://github.com/lobehub/lobe-chat/commit/8b68190))

</details>

<div align="right">

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

</div>
2025-02-06 13:33:03 +00:00
sxjeru 8b681906b7 💄 style: Add Aliyun deepseek-r1 distill models (#5769) 2025-02-06 21:25:02 +08:00
lobehubbot f1dbf8d693 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-06 12:57:45 +00:00
semantic-release-bot e99b06007b 🔖 chore(release): v1.51.6 [skip ci]
### [Version&nbsp;1.51.6](https://github.com/lobehub/lobe-chat/compare/v1.51.5...v1.51.6)
<sup>Released on **2025-02-06**</sup>

#### 🐛 Bug Fixes

- **misc**: Try to fix discover error.

<br/>

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

#### What's fixed

* **misc**: Try to fix discover error, closes [#5794](https://github.com/lobehub/lobe-chat/issues/5794) ([9b7bd99](https://github.com/lobehub/lobe-chat/commit/9b7bd99))

</details>

<div align="right">

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

</div>
2025-02-06 12:56:42 +00:00
Arvin Xu 9b7bd9906f 🐛 fix: try to fix discover error (#5794) 2025-02-06 20:48:32 +08:00
lobehubbot edbad23c23 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-06 11:33:26 +00:00
semantic-release-bot 4cf08e0caf 🔖 chore(release): v1.51.5 [skip ci]
### [Version&nbsp;1.51.5](https://github.com/lobehub/lobe-chat/compare/v1.51.4...v1.51.5)
<sup>Released on **2025-02-06**</sup>

#### 💄 Styles

- **misc**: Add siliconcloud models.

<br/>

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

#### Styles

* **misc**: Add siliconcloud models, closes [#5725](https://github.com/lobehub/lobe-chat/issues/5725) ([e84853c](https://github.com/lobehub/lobe-chat/commit/e84853c))

</details>

<div align="right">

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

</div>
2025-02-06 11:32:29 +00:00
sxjeru e84853c1e6 💄 style: Add siliconcloud models (#5725)
* Update siliconcloud.ts

* Update siliconcloud.ts

* Update siliconcloud.ts
2025-02-06 19:24:36 +08:00
lobehubbot badcb7bf8a 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-06 10:40:58 +00:00
semantic-release-bot 4e3013a0f0 🔖 chore(release): v1.51.4 [skip ci]
### [Version&nbsp;1.51.4](https://github.com/lobehub/lobe-chat/compare/v1.51.3...v1.51.4)
<sup>Released on **2025-02-06**</sup>

<br/>

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

</details>

<div align="right">

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

</div>
2025-02-06 10:39:59 +00:00
Arvin Xu 159f25526d ️ perf: make app page as static route to improve performance (#5478)
* move files

* refactor to static mode

* fix tests
2025-02-06 18:32:10 +08:00
lobehubbot 1953220ac6 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-05 17:40:44 +00:00
semantic-release-bot dc2a291cce 🔖 chore(release): v1.51.3 [skip ci]
### [Version&nbsp;1.51.3](https://github.com/lobehub/lobe-chat/compare/v1.51.2...v1.51.3)
<sup>Released on **2025-02-05**</sup>

#### ♻ Code Refactoring

- **misc**: Refactor Wenxin with LobeOpenAICompatibleFactory.

#### 🐛 Bug Fixes

- **misc**: Artifact Parsing and Rendering Bug Fix for Gemini 2.0 Flash.

#### 💄 Styles

- **misc**: Add Cache, Metadata, FeatureFlag Viewer to DevPanel.

<br/>

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

#### Code refactoring

* **misc**: Refactor Wenxin with LobeOpenAICompatibleFactory, closes [#5729](https://github.com/lobehub/lobe-chat/issues/5729) ([a90a75e](https://github.com/lobehub/lobe-chat/commit/a90a75e))

#### What's fixed

* **misc**: Artifact Parsing and Rendering Bug Fix for Gemini 2.0 Flash, closes [#5633](https://github.com/lobehub/lobe-chat/issues/5633) ([7d782b1](https://github.com/lobehub/lobe-chat/commit/7d782b1))

#### Styles

* **misc**: Add Cache, Metadata, FeatureFlag Viewer to DevPanel, closes [#5764](https://github.com/lobehub/lobe-chat/issues/5764) ([db4e9c7](https://github.com/lobehub/lobe-chat/commit/db4e9c7))

</details>

<div align="right">

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

</div>
2025-02-05 17:39:36 +00:00
Yale Huang 7d782b1165 🐛 fix: Artifact Parsing and Rendering Bug Fix for Gemini 2.0 Flash (#5633)
*  feat: Enhance LobeArtifact processing and rehype plugin

- Add test cases for artifact processing with adjacent lobeThinking tags
- Modify utils to insert empty line between lobeThinking and lobeArtifact
- Implement rehype plugin for transforming LobeArtifact tags in markdown

*  feat: Improve LobeArtifact processing with advanced code block removal

- Add comprehensive test cases for artifact processing with various code block scenarios
- Enhance utils to handle fenced code blocks within and around lobeArtifact tags
- Support removing code blocks for HTML and other artifact types

*  feat: Enhance LobeArtifact code block removal tests

- Add comprehensive test cases for processWithArtifact function
- Cover scenarios with HTML and tool_code code blocks
- Test handling of code blocks with content before and after
- Verify processing of artifacts with and without surrounding code blocks

*  feat: Improve LobeArtifact code block processing regex

- Enhance regex in processWithArtifact to handle more complex code block scenarios
- Support better extraction of content before, within, and after code blocks
- Improve handling of artifacts with surrounding text and multiple tags

*  feat: Add artifact processing and selector tests

- Enhance `processWithArtifact` with debug logging and improved code block handling
- Add comprehensive test cases for artifact-related selectors in chat store
- Implement tests for message content, artifact code extraction, and tag closure detection

*  feat: Improve artifact code block extraction in selectors

- Add support for removing markdown code block wrapping in artifact content
- Update `artifactCode` selector to handle HTML and other code block scenarios
- Enhance test coverage for artifact code extraction with markdown-wrapped content

* 🔇 refactor: Remove debug console logs from processWithArtifact

- Clean up unnecessary console.log statements in artifact processing utility
- Improve code readability and performance by removing debug logging
- Maintain existing logic for artifact tag and code block processing

---------

Co-authored-by: yale <yale@example.com>
2025-02-06 01:31:34 +08:00
Zhijie He a90a75e613 ♻️ refactor: refactor Wenxin with LobeOpenAICompatibleFactory (#5729)
* ♻️ refactor: refactor Wenxin with LobeOpenAICompatibleFactory

* 💄 style: update model list

* 📝 docs: update docs

* 💄 style: update model list
2025-02-06 01:30:07 +08:00
CanisMinor db4e9c7fbb 💄 style: Add Cache, Metadata, FeatureFlag Viewer to DevPanel (#5764)
*  feat: Add Chache DevTool

* 💄 style: Update Dev Panel style

*  feat: Add seo debug

*  feat: Add Feature Flag

* 💄 style: Update DevTool

* 💄 style: Update style

* 💄 style: Update style
2025-02-06 01:29:33 +08:00
lobehubbot 80fd5a8027 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-05 16:55:36 +00:00
semantic-release-bot e2b35502bf 🔖 chore(release): v1.51.2 [skip ci]
### [Version&nbsp;1.51.2](https://github.com/lobehub/lobe-chat/compare/v1.51.1...v1.51.2)
<sup>Released on **2025-02-05**</sup>

#### 💄 Styles

- **misc**: Update model list, add reasoning tag.

<br/>

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

#### Styles

* **misc**: Update model list, add reasoning tag, closes [#5696](https://github.com/lobehub/lobe-chat/issues/5696) ([dedd784](https://github.com/lobehub/lobe-chat/commit/dedd784))

</details>

<div align="right">

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

</div>
2025-02-05 16:54:33 +00:00
Zhijie He dedd7840d6 💄 style: update model list, add reasoning tag (#5696)
* 💄 style: update model list, add reasoning tag

* 💄 style: add `internlm3-latest` for InternLM

* 💄 style: add missing reasoning tag for QvQ

* 💄 style: fix deepseek-r1 reasoning tag missing

* 🐛 fix: fix ci error
2025-02-06 00:46:50 +08:00
CanisMinor 283157a84b 🔧 chore: Log fetch cache info (#5759) 2025-02-05 15:14:59 +08:00
lobehubbot d330c2e4d3 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-05 03:05:12 +00:00
semantic-release-bot 5556eee106 🔖 chore(release): v1.51.1 [skip ci]
### [Version&nbsp;1.51.1](https://github.com/lobehub/lobe-chat/compare/v1.51.0...v1.51.1)
<sup>Released on **2025-02-05**</sup>

<br/>

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

</details>

<div align="right">

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

</div>
2025-02-05 03:04:14 +00:00
Arvin Xu 8903aed12b ️ perf: improve code of user panel (#5752)
* improve code

* update repos
2025-02-05 10:56:32 +08:00
lobehubbot f899c824d3 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-05 01:08:49 +00:00
semantic-release-bot 48a97a48ab 🔖 chore(release): v1.51.0 [skip ci]
## [Version&nbsp;1.51.0](https://github.com/lobehub/lobe-chat/compare/v1.50.5...v1.51.0)
<sup>Released on **2025-02-05**</sup>

####  Features

- **misc**: Add reasoning tag support for custom models via UI or ENV.

#### 🐛 Bug Fixes

- **misc**: Fix deepseek-v3 & qvq model tag fetch error from SiliconCloud, fix model ability missing.

<br/>

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

#### What's improved

* **misc**: Add reasoning tag support for custom models via UI or ENV, closes [#5684](https://github.com/lobehub/lobe-chat/issues/5684) ([3499403](https://github.com/lobehub/lobe-chat/commit/3499403))

#### What's fixed

* **misc**: Fix deepseek-v3 & qvq model tag fetch error from SiliconCloud, closes [#5741](https://github.com/lobehub/lobe-chat/issues/5741) ([ee61653](https://github.com/lobehub/lobe-chat/commit/ee61653))
* **misc**: Fix model ability missing, closes [#5739](https://github.com/lobehub/lobe-chat/issues/5739) ([0e1a022](https://github.com/lobehub/lobe-chat/commit/0e1a022))

</details>

<div align="right">

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

</div>
2025-02-05 01:07:30 +00:00
Zhijie He 3499403fa0 feat: add reasoning tag support for custom models via UI or ENV (#5684) 2025-02-05 08:59:45 +08:00
Arvin Xu 0e1a022607 🐛 fix: fix model ability missing (#5739) 2025-02-05 08:55:49 +08:00
Zhijie He ee61653481 🐛 fix: fix deepseek-v3 & qvq model tag fetch error from SiliconCloud (#5741) 2025-02-05 08:54:02 +08:00
lobehubbot 6a88524222 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-04 15:11:47 +00:00
semantic-release-bot 76d97fca25 🔖 chore(release): v1.50.5 [skip ci]
### [Version&nbsp;1.50.5](https://github.com/lobehub/lobe-chat/compare/v1.50.4...v1.50.5)
<sup>Released on **2025-02-04**</sup>

#### 💄 Styles

- **misc**: Add/Update Aliyun Cloud Models, update GitHub Models.

<br/>

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

#### Styles

* **misc**: Add/Update Aliyun Cloud Models, closes [#5613](https://github.com/lobehub/lobe-chat/issues/5613) ([95cd822](https://github.com/lobehub/lobe-chat/commit/95cd822))
* **misc**: Update GitHub Models, closes [#5683](https://github.com/lobehub/lobe-chat/issues/5683) ([ed4e048](https://github.com/lobehub/lobe-chat/commit/ed4e048))

</details>

<div align="right">

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

</div>
2025-02-04 15:10:42 +00:00
sxjeru 95cd8227dc 💄 style: Add/Update Aliyun Cloud Models (#5613)
* Update qwen.ts

* Update qwen.ts

* Update qwen.ts

* Update qwen.ts

* Update qwen.ts

* Update qwen.ts

* Update qwen.ts

* Update qwen.ts
2025-02-04 23:02:48 +08:00
柴米油盐的梦想 ed4e048557 💄 style: update GitHub Models (#5683) 2025-02-04 23:02:14 +08:00
Arvin Xu a6a6e6b9f9 📝 docs: add deepseek r1 changelog (#5736) 2025-02-04 22:25:52 +08:00
hcygnaw 39410f8910 📝 docs: Add DEEPSEEK_PROXY_URL configuration to environment variables (#5691)
* 📝 docs: Add DEEPSEEK_PROXY_URL configuration to environment variables

* Simplify changes.

* Revert index.ts

* revert changes

---------

Co-authored-by: yichuan <wang-yichuan@outlook.com>
2025-02-04 22:20:15 +08:00
lobehubbot 353153822b 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-04 13:39:49 +00:00
semantic-release-bot 7c38c413e3 🔖 chore(release): v1.50.4 [skip ci]
### [Version&nbsp;1.50.4](https://github.com/lobehub/lobe-chat/compare/v1.50.3...v1.50.4)
<sup>Released on **2025-02-04**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix invalid utf8 character.

<br/>

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

#### What's fixed

* **misc**: Fix invalid utf8 character, closes [#5732](https://github.com/lobehub/lobe-chat/issues/5732) ([2905cb5](https://github.com/lobehub/lobe-chat/commit/2905cb5))

</details>

<div align="right">

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

</div>
2025-02-04 13:38:45 +00:00
Arvin Xu 2905cb5734 🐛 fix: fix invalid utf8 character (#5732)
* update docs

* update locale

* 🐛 fix: fix invalid utf-8 character

* improve log

* Update index.ts
2025-02-04 21:30:52 +08:00
lobehubbot 2b7076b2f7 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-04 13:13:54 +00:00
semantic-release-bot 74d96da257 🔖 chore(release): v1.50.3 [skip ci]
### [Version&nbsp;1.50.3](https://github.com/lobehub/lobe-chat/compare/v1.50.2...v1.50.3)
<sup>Released on **2025-02-04**</sup>

#### 💄 Styles

- **misc**: Update model locale.

<br/>

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

#### Styles

* **misc**: Update model locale, closes [#5731](https://github.com/lobehub/lobe-chat/issues/5731) ([d3d26d7](https://github.com/lobehub/lobe-chat/commit/d3d26d7))

</details>

<div align="right">

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

</div>
2025-02-04 13:12:52 +00:00
Arvin Xu d3d26d70bd 💄 style: update model locale (#5731)
* update docs

* update locale
2025-02-04 21:05:02 +08:00
lobehubbot 53f3595dfe 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-04 10:27:43 +00:00
semantic-release-bot 5cf358420e 🔖 chore(release): v1.50.2 [skip ci]
### [Version&nbsp;1.50.2](https://github.com/lobehub/lobe-chat/compare/v1.50.1...v1.50.2)
<sup>Released on **2025-02-04**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix `o1` series calling issue.

<br/>

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

#### What's fixed

* **misc**: Fix `o1` series calling issue, closes [#5714](https://github.com/lobehub/lobe-chat/issues/5714) ([d74653e](https://github.com/lobehub/lobe-chat/commit/d74653e))

</details>

<div align="right">

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

</div>
2025-02-04 10:26:33 +00:00
Zhijie He d74653e5a3 🐛 fix: fix o1 series calling issue (#5714) 2025-02-04 18:18:48 +08:00
Rylan Cai cc088449ce 📝 docs: only detect private ip in port mode 2025-02-04 13:29:02 +08:00
Arvin Xu d00d75dc17 📝 docs: update sh in docker compose deploy guide (#5708) 2025-02-04 00:28:27 +08:00
Rylan Cai b63765ccce 📝 docs: Refactor the setup.sh to make deployment much easier (#5290)
* 🚧 wip: wip

*  feat: create s3 bucket at start

* 🐛 fix: pswd shown in plain

* ♻️ refactor: remove unpack commands

* 🔨 ci: update script

* 🐛 fix: env files not downloaded

* 🔨 chore: support interact prompts

* 🐛 fix: AUTH_URL

* 🐛 fix: should download first

* 🐛 fix: let casdoor set origin

* 📝 docs: update docs for new setup

* 📝 docs: user non-admin app for lobe

* 👷 chore: remove -f for setup.sh

* 📝 docs: user

* 👷 chore: fix wrong host for casdoor

* 📝 docs: en docs

* 📝 docs: use new script

* ✏️ typo: fix typos

* 🐛 fix: wrong ip setup

* 🐛 fix: protocal generate failed

* 🐛 fix: remove warning

* ♻️ refactor: add warning for ip mode

* 📝 docs: display reverse proxy

* ♻️ refactor: move setup.sh to ../

* ✏️ typo: fix typos

* ♻️ refactor: remove setup.sh
2025-02-03 23:50:22 +08:00
lobehubbot cffce51a57 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-03 15:16:51 +00:00
semantic-release-bot 28ebb97d3a 🔖 chore(release): v1.50.1 [skip ci]
### [Version&nbsp;1.50.1](https://github.com/lobehub/lobe-chat/compare/v1.50.0...v1.50.1)
<sup>Released on **2025-02-03**</sup>

#### 🐛 Bug Fixes

- **misc**: Bind the selected group name in the rename modal..

<br/>

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

#### What's fixed

* **misc**: Bind the selected group name in the rename modal., closes [#5159](https://github.com/lobehub/lobe-chat/issues/5159) ([7da05ce](https://github.com/lobehub/lobe-chat/commit/7da05ce))

</details>

<div align="right">

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

</div>
2025-02-03 15:15:55 +00:00
Ramu Narasinga 7da05cec8c 🐛 fix: Bind the selected group name in the rename modal. (#5159) 2025-02-03 23:08:14 +08:00
lobehubbot 6eb26d1701 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-03 09:49:23 +00:00
semantic-release-bot e447045185 🔖 chore(release): v1.50.0 [skip ci]
## [Version&nbsp;1.50.0](https://github.com/lobehub/lobe-chat/compare/v1.49.16...v1.50.0)
<sup>Released on **2025-02-03**</sup>

####  Features

- **misc**: Add `o3-mini` support for OpenAI & GitHub Models.

#### 🐛 Bug Fixes

- **misc**: Fix parse of deepseek r1 in siliconflow provider.

<br/>

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

#### What's improved

* **misc**: Add `o3-mini` support for OpenAI & GitHub Models, closes [#5657](https://github.com/lobehub/lobe-chat/issues/5657) ([492cfd4](https://github.com/lobehub/lobe-chat/commit/492cfd4))

#### What's fixed

* **misc**: Fix parse of deepseek r1 in siliconflow provider, closes [#5687](https://github.com/lobehub/lobe-chat/issues/5687) ([44e81e2](https://github.com/lobehub/lobe-chat/commit/44e81e2))

</details>

<div align="right">

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

</div>
2025-02-03 09:48:00 +00:00
Arvin Xu 44e81e23f1 🐛 fix: fix parse of deepseek r1 in siliconflow provider (#5687) 2025-02-03 17:40:09 +08:00
Zhijie He 492cfd4657 feat: add o3-mini support for OpenAI & GitHub Models (#5657)
* 📝 docs(bot): Auto sync agents & plugin to readme

* 💄 style: add `o3-mini` support for OpenAI & GitHub Models

* 🔨 chore: change system role from `user` to `developer` for reasoning model

* [feat] add `reasoning_effort` support for OpenAI Reasoning model

* 🔨 chore: rollback `package.json` change

* 🔨 chore: update locales for `enableReasoningEffort.title`

* 💄 style: update i18n

* 💄 style: add `reasoning_effort` intro to discover page

* 📝 docs: add docs for `reasoning_effort`

---------

Co-authored-by: lobehubbot <i@lobehub.com>
2025-02-03 17:31:43 +08:00
lobehubbot 1f236c5253 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-03 07:28:50 +00:00
semantic-release-bot 60f7079779 🔖 chore(release): v1.49.16 [skip ci]
### [Version&nbsp;1.49.16](https://github.com/lobehub/lobe-chat/compare/v1.49.15...v1.49.16)
<sup>Released on **2025-02-03**</sup>

#### 💄 Styles

- **misc**: Update perplexity models.

<br/>

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

#### Styles

* **misc**: Update perplexity models, closes [#5624](https://github.com/lobehub/lobe-chat/issues/5624) ([58a86fc](https://github.com/lobehub/lobe-chat/commit/58a86fc))

</details>

<div align="right">

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

</div>
2025-02-03 07:27:47 +00:00
sxjeru 58a86fc3bc 💄 style: Update perplexity models (#5624)
* Update perplexity.ts

* Update perplexity.ts

* Update perplexity.ts

* 👌更新快照
2025-02-03 15:19:59 +08:00
lobehubbot 43d5fdeb2c 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-03 07:19:37 +00:00
semantic-release-bot ddacca0e0f 🔖 chore(release): v1.49.15 [skip ci]
### [Version&nbsp;1.49.15](https://github.com/lobehub/lobe-chat/compare/v1.49.14...v1.49.15)
<sup>Released on **2025-02-03**</sup>

#### 💄 Styles

- **misc**: Update Fireworks check model and fix check error.

<br/>

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

#### Styles

* **misc**: Update Fireworks check model and fix check error, closes [#5680](https://github.com/lobehub/lobe-chat/issues/5680) ([64ea539](https://github.com/lobehub/lobe-chat/commit/64ea539))

</details>

<div align="right">

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

</div>
2025-02-03 07:18:35 +00:00
Zhijie He 64ea5391b6 💄 style: update Fireworks check model and fix check error (#5680)
* 💄 style: update Fireworks check model

* 💄 style: update Fireworks AI model list
2025-02-03 15:10:37 +08:00
lobehubbot 696ae8f907 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-03 06:50:16 +00:00
semantic-release-bot c72eceebec 🔖 chore(release): v1.49.14 [skip ci]
### [Version&nbsp;1.49.14](https://github.com/lobehub/lobe-chat/compare/v1.49.13...v1.49.14)
<sup>Released on **2025-02-03**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix provider update issue.

<br/>

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

#### What's fixed

* **misc**: Fix provider update issue, closes [#5676](https://github.com/lobehub/lobe-chat/issues/5676) ([e5d81ea](https://github.com/lobehub/lobe-chat/commit/e5d81ea))

</details>

<div align="right">

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

</div>
2025-02-03 06:49:13 +00:00
Arvin Xu e5d81eadd5 🐛 fix: fix provider update issue (#5676)
* fix update issue

* fix bug
2025-02-03 14:41:16 +08:00
Zhijie He ec08854013 👷 build: fix pnpm cannot be installed via corepack due to key id mismatch (#5679)
* 🐛 fix: fix pnpm cannot be installed via corepack due to key id mismatch

* 🔨 chore: workaround need update corepack to latest

* 🔨 chore: drop `jq` deps, use `sed` instead
2025-02-03 14:39:59 +08:00
lobehubbot 61c1d33b41 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-03 04:00:42 +00:00
semantic-release-bot 496036bf99 🔖 chore(release): v1.49.13 [skip ci]
### [Version&nbsp;1.49.13](https://github.com/lobehub/lobe-chat/compare/v1.49.12...v1.49.13)
<sup>Released on **2025-02-03**</sup>

#### 🐛 Bug Fixes

- **misc**: Optimize requests without historical messages.

<br/>

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

#### What's fixed

* **misc**: Optimize requests without historical messages, closes [#5174](https://github.com/lobehub/lobe-chat/issues/5174) ([182f8d9](https://github.com/lobehub/lobe-chat/commit/182f8d9))

</details>

<div align="right">

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

</div>
2025-02-03 03:59:34 +00:00
sxjeru 182f8d9b57 🐛 fix: Optimize requests without historical messages (#5174) 2025-02-03 11:51:49 +08:00
Arvin Xu abab5e2eba 🔨 chore: unlock @clerk/nextjs (#5673) 2025-02-02 23:42:19 +08:00
renovate[bot] 2bec8766a5 Update dependency drizzle-orm to ^0.39.0 (#5660)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-02 19:38:36 +08:00
lobehubbot 7f2dc6e1c6 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-02 11:21:17 +00:00
semantic-release-bot ff91b326d0 🔖 chore(release): v1.49.12 [skip ci]
### [Version&nbsp;1.49.12](https://github.com/lobehub/lobe-chat/compare/v1.49.11...v1.49.12)
<sup>Released on **2025-02-02**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix can not stop generating.

<br/>

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

#### What's fixed

* **misc**: Fix can not stop generating, closes [#5671](https://github.com/lobehub/lobe-chat/issues/5671) ([ae39c35](https://github.com/lobehub/lobe-chat/commit/ae39c35))

</details>

<div align="right">

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

</div>
2025-02-02 11:20:11 +00:00
sxjeru 8ab4a30b3f 💄 style: Check siliconcloud API-Key Balance (#5667)
* Update siliconcloud.ts

* Update index.ts

* Update index.ts

* Update index.ts

* Update index.ts
2025-02-02 19:12:21 +08:00
Arvin Xu ae39c3593b 🐛 fix: fix can not stop generating (#5671)
* improve thinking style

* fix cannot stop with thinking

* clean

* improve lobe thinking

* fix portal footer

* fix style

* memo portal width
2025-02-02 19:07:09 +08:00
lobehubbot 355e275f4b 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-02 09:45:42 +00:00
semantic-release-bot 6d479ed54d 🔖 chore(release): v1.49.11 [skip ci]
### [Version&nbsp;1.49.11](https://github.com/lobehub/lobe-chat/compare/v1.49.10...v1.49.11)
<sup>Released on **2025-02-02**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix ollama intergration checker and client fetch issue.

<br/>

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

#### What's fixed

* **misc**: Fix ollama intergration checker and client fetch issue, closes [#5665](https://github.com/lobehub/lobe-chat/issues/5665) ([cd09a07](https://github.com/lobehub/lobe-chat/commit/cd09a07))

</details>

<div align="right">

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

</div>
2025-02-02 09:44:17 +00:00
Arvin Xu cd09a074af 🐛 fix: fix ollama intergration checker and client fetch issue (#5665)
* fix ollama

* add r1 models

* fix ollama error

* fix ollama client fetch error

* improve code

* refactor SetupGuide

* fix ollama client fetch issue

* update models

* update i18n

* fix ollama client fetch issue

* fix test
2025-02-02 17:36:21 +08:00
lobehubbot 6a786eba80 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-02 09:11:11 +00:00
semantic-release-bot 2415215ab0 🔖 chore(release): v1.49.10 [skip ci]
### [Version&nbsp;1.49.10](https://github.com/lobehub/lobe-chat/compare/v1.49.9...v1.49.10)
<sup>Released on **2025-02-02**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix `<think>` tag crash with special markdown content.

<br/>

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

#### What's fixed

* **misc**: Fix `<think>` tag crash with special markdown content, closes [#5670](https://github.com/lobehub/lobe-chat/issues/5670) ([b719522](https://github.com/lobehub/lobe-chat/commit/b719522))

</details>

<div align="right">

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

</div>
2025-02-02 09:10:10 +00:00
Arvin Xu b719522fb1 🐛 fix: fix <think> tag crash with special markdown content (#5670) 2025-02-02 17:02:21 +08:00
lobehubbot 8268a0c2eb 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-01 23:53:12 +00:00
semantic-release-bot 0f31920db9 🔖 chore(release): v1.49.9 [skip ci]
### [Version&nbsp;1.49.9](https://github.com/lobehub/lobe-chat/compare/v1.49.8...v1.49.9)
<sup>Released on **2025-02-01**</sup>

#### 💄 Styles

- **misc**: Update siliconcloud models.

<br/>

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

#### Styles

* **misc**: Update siliconcloud models, closes [#5647](https://github.com/lobehub/lobe-chat/issues/5647) ([4b41ad4](https://github.com/lobehub/lobe-chat/commit/4b41ad4))

</details>

<div align="right">

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

</div>
2025-02-01 23:52:10 +00:00
sxjeru 4b41ad494e 💄 style: Update siliconcloud models (#5647) 2025-02-02 07:44:11 +08:00
lobehubbot 75d3b6a00d 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-01 15:38:58 +00:00
semantic-release-bot ed56c5e010 🔖 chore(release): v1.49.8 [skip ci]
### [Version&nbsp;1.49.8](https://github.com/lobehub/lobe-chat/compare/v1.49.7...v1.49.8)
<sup>Released on **2025-02-01**</sup>

#### 💄 Styles

- **misc**: Support thinking for all non DeepSeek official api R1 models.

<br/>

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

#### Styles

* **misc**: Support thinking for all non DeepSeek official api R1 models, closes [#5654](https://github.com/lobehub/lobe-chat/issues/5654) ([9b32137](https://github.com/lobehub/lobe-chat/commit/9b32137))

</details>

<div align="right">

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

</div>
2025-02-01 15:37:59 +00:00
Arvin Xu 9b3213719b 💄 style: support thinking for all non DeepSeek official api R1 models (#5654)
* wip  ollama thinking

* revert

* update locale

* improve style

* support ollama thinking

* fix edge case
2025-02-01 23:30:11 +08:00
lobehubbot e5cda3abd3 📝 docs(bot): Auto sync agents & plugin to readme 2025-02-01 15:21:32 +00:00
semantic-release-bot 4b8a550be4 🔖 chore(release): v1.49.7 [skip ci]
### [Version&nbsp;1.49.7](https://github.com/lobehub/lobe-chat/compare/v1.49.6...v1.49.7)
<sup>Released on **2025-02-01**</sup>

#### 🐛 Bug Fixes

- **misc**: Multiple deepseek-reasoner request errors.

<br/>

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

#### What's fixed

* **misc**: Multiple deepseek-reasoner request errors, closes [#5601](https://github.com/lobehub/lobe-chat/issues/5601) ([71cc32b](https://github.com/lobehub/lobe-chat/commit/71cc32b))

</details>

<div align="right">

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

</div>
2025-02-01 15:20:30 +00:00
sxjeru 71cc32bdc2 🐛 fix: Multiple deepseek-reasoner request errors (#5601)
* Update index.ts

* Update index.ts

* Update index.test.ts
2025-02-01 23:12:45 +08:00
lobehubbot 403265888b 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-30 13:15:54 +00:00
semantic-release-bot 4fe4e899bd 🔖 chore(release): v1.49.6 [skip ci]
### [Version&nbsp;1.49.6](https://github.com/lobehub/lobe-chat/compare/v1.49.5...v1.49.6)
<sup>Released on **2025-01-30**</sup>

#### 🐛 Bug Fixes

- **misc**: Support litellm reasoning streaming.

<br/>

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

#### What's fixed

* **misc**: Support litellm reasoning streaming, closes [#5632](https://github.com/lobehub/lobe-chat/issues/5632) ([9942fb3](https://github.com/lobehub/lobe-chat/commit/9942fb3))

</details>

<div align="right">

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

</div>
2025-01-30 13:14:54 +00:00
Arvin Xu 9942fb345d 🐛 fix: support litellm reasoning streaming (#5632)
* fix litellm reasoner

* fix tests
2025-01-30 21:07:02 +08:00
lobehubbot 0361628166 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-28 05:40:24 +00:00
semantic-release-bot b6df3009e6 🔖 chore(release): v1.49.5 [skip ci]
### [Version&nbsp;1.49.5](https://github.com/lobehub/lobe-chat/compare/v1.49.4...v1.49.5)
<sup>Released on **2025-01-28**</sup>

#### 🐛 Bug Fixes

- **misc**: Pin `@clerk/nextjs@6.10.2` to avoid build error.

<br/>

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

#### What's fixed

* **misc**: Pin `@clerk/nextjs@6.10.2` to avoid build error, closes [#5611](https://github.com/lobehub/lobe-chat/issues/5611) ([deb03ad](https://github.com/lobehub/lobe-chat/commit/deb03ad))

</details>

<div align="right">

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

</div>
2025-01-28 05:39:25 +00:00
Arvin Xu deb03ad8d7 🐛 fix: pin @clerk/nextjs@6.10.2 to avoid build error (#5611) 2025-01-28 13:31:28 +08:00
lobehubbot 3c4b7eac7e 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-28 02:42:39 +00:00
semantic-release-bot a2704edd38 🔖 chore(release): v1.49.4 [skip ci]
### [Version&nbsp;1.49.4](https://github.com/lobehub/lobe-chat/compare/v1.49.3...v1.49.4)
<sup>Released on **2025-01-28**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix changelog locale not showing English.

<br/>

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

#### What's fixed

* **misc**: Fix changelog locale not showing English, closes [#5607](https://github.com/lobehub/lobe-chat/issues/5607) ([9104242](https://github.com/lobehub/lobe-chat/commit/9104242))

</details>

<div align="right">

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

</div>
2025-01-28 02:41:35 +00:00
Arvin Xu 91042429c4 🐛 fix: fix changelog locale not showing English (#5607) 2025-01-28 10:33:47 +08:00
lobehubbot 789da45b4b 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-27 11:51:42 +00:00
semantic-release-bot 41b3d12dca 🔖 chore(release): v1.49.3 [skip ci]
### [Version&nbsp;1.49.3](https://github.com/lobehub/lobe-chat/compare/v1.49.2...v1.49.3)
<sup>Released on **2025-01-27**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix discover ssr hydration error.

<br/>

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

#### What's fixed

* **misc**: Fix discover ssr hydration error, closes [#5605](https://github.com/lobehub/lobe-chat/issues/5605) ([e3702a6](https://github.com/lobehub/lobe-chat/commit/e3702a6))

</details>

<div align="right">

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

</div>
2025-01-27 11:50:46 +00:00
Arvin Xu e3702a691f 🐛 fix: fix discover ssr hydration error (#5605)
* fix assistant page ssr error

* refactor useSearchParams

* refactor to fix discover ssr error
2025-01-27 19:42:59 +08:00
lobehubbot 3c54b72c0b 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-27 08:06:01 +00:00
semantic-release-bot 5d4355c1de 🔖 chore(release): v1.49.2 [skip ci]
### [Version&nbsp;1.49.2](https://github.com/lobehub/lobe-chat/compare/v1.49.1...v1.49.2)
<sup>Released on **2025-01-27**</sup>

#### ♻ Code Refactoring

- **misc**: Remove use query.

<br/>

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

#### Code refactoring

* **misc**: Remove use query, closes [#5604](https://github.com/lobehub/lobe-chat/issues/5604) ([58c60de](https://github.com/lobehub/lobe-chat/commit/58c60de))

</details>

<div align="right">

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

</div>
2025-01-27 08:05:07 +00:00
Arvin Xu 58c60de55d ♻️ refactor: remove use query (#5604)
* refactor DiscoverTab query

* refactor: refactor use query usage

* clean use query

* fix lint

* wrapper scan
2025-01-27 15:57:27 +08:00
lobehubbot 994568fda3 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-27 06:50:24 +00:00
semantic-release-bot 8c9e4de42d 🔖 chore(release): v1.49.1 [skip ci]
### [Version&nbsp;1.49.1](https://github.com/lobehub/lobe-chat/compare/v1.49.0...v1.49.1)
<sup>Released on **2025-01-27**</sup>

#### ♻ Code Refactoring

- **misc**: UseMobileWorkspace use nqus to replace useQuery.

<br/>

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

#### Code refactoring

* **misc**: UseMobileWorkspace use nqus to replace useQuery, closes [#5603](https://github.com/lobehub/lobe-chat/issues/5603) ([70e5272](https://github.com/lobehub/lobe-chat/commit/70e5272))

</details>

<div align="right">

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

</div>
2025-01-27 06:49:25 +00:00
Arvin Xu 70e5272a4e ♻️ refactor: useMobileWorkspace use nqus to replace useQuery (#5603)
* update middleware match

* refactor with useShowMobileWorkspace

* bump lobe-ui

* fix data modal height

* fix height
2025-01-27 14:41:30 +08:00
lobehubbot dad50e5498 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-27 02:57:22 +00:00
semantic-release-bot f652ccd2b9 🔖 chore(release): v1.49.0 [skip ci]
## [Version&nbsp;1.49.0](https://github.com/lobehub/lobe-chat/compare/v1.48.4...v1.49.0)
<sup>Released on **2025-01-27**</sup>

####  Features

- **misc**: Support Doubao Models.

<br/>

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

#### What's improved

* **misc**: Support Doubao Models, closes [#5481](https://github.com/lobehub/lobe-chat/issues/5481) ([d8afe47](https://github.com/lobehub/lobe-chat/commit/d8afe47))

</details>

<div align="right">

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

</div>
2025-01-27 02:56:23 +00:00
sxjeru d8afe47c91 feat: Support Doubao Models (#5481)
* feat(config): add Doubao provider

* fix

* fix

* add

* fix

* fix

* src/server/globalConfig/index.ts

* src/app/(main)/settings/provider/(detail)/doubao/page.tsx

* fix

* try

* try

* rec

* follow review

* test

* 👌try

* Update doubao.ts

* Update index.ts

* Delete src/app/(main)/settings/llm/ProviderList/Doubao/index.tsx

* Update providers.tsx

* Update providers.tsx

---------

Co-authored-by: Arvin Xu <arvinx@foxmail.com>
2025-01-27 10:48:29 +08:00
wbean 13c3455414 🔨 chore: local docker-compose setup.sh compatible mac osx (#5247)
* Update setup.sh

fix: local docker-compose setup.sh compatible maxos

* Update setup.sh

remove unnecessary branch for system chosen
2025-01-27 10:43:47 +08:00
lobehubbot 38b55ba0dc 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-27 02:37:29 +00:00
semantic-release-bot f4822a15e2 🔖 chore(release): v1.48.4 [skip ci]
### [Version&nbsp;1.48.4](https://github.com/lobehub/lobe-chat/compare/v1.48.3...v1.48.4)
<sup>Released on **2025-01-27**</sup>

#### 💄 Styles

- **misc**: Improve thinking style.

<br/>

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

#### Styles

* **misc**: Improve thinking style, closes [#5602](https://github.com/lobehub/lobe-chat/issues/5602) ([d4dc3f2](https://github.com/lobehub/lobe-chat/commit/d4dc3f2))

</details>

<div align="right">

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

</div>
2025-01-27 02:36:28 +00:00
Arvin Xu d4dc3f219d 💄 style: improve thinking style (#5602)
* refactor the thinking comp

* update locale
2025-01-27 10:28:35 +08:00
JoeChen eaeeb57fb7 📝 docs: add domain configuration scheme documentation based on Casdoor authentication method (#5577)
* 📝 docs: Update production deployment documentation, add domain configuration scheme documentation based on Casdoor authentication method

* 📝 docs: Update self-hosting documentation, add Casdoor-based authentication solution, remove Logto-based production deployment part
2025-01-27 10:26:57 +08:00
lobehubbot 27bd861d04 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-26 12:51:02 +00:00
semantic-release-bot df02b2bbf8 🔖 chore(release): v1.48.3 [skip ci]
### [Version&nbsp;1.48.3](https://github.com/lobehub/lobe-chat/compare/v1.48.2...v1.48.3)
<sup>Released on **2025-01-26**</sup>

#### 💄 Styles

- **misc**: Improve model pricing with CNY.

<br/>

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

#### Styles

* **misc**: Improve model pricing with CNY, closes [#5599](https://github.com/lobehub/lobe-chat/issues/5599) ([6d91457](https://github.com/lobehub/lobe-chat/commit/6d91457))

</details>

<div align="right">

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

</div>
2025-01-26 12:50:06 +00:00
Arvin Xu 6d91457906 💄 style: improve model pricing with CNY (#5599)
* improve model pricing

* improve

* fix test
2025-01-26 20:42:17 +08:00
lobehubbot 1794074eb3 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-25 04:09:31 +00:00
semantic-release-bot c5ce33367a 🔖 chore(release): v1.48.2 [skip ci]
### [Version&nbsp;1.48.2](https://github.com/lobehub/lobe-chat/compare/v1.48.1...v1.48.2)
<sup>Released on **2025-01-25**</sup>

#### 💄 Styles

- **misc**: Add `parallel_tool_calls` support for Qwen, fix tag version and add provider changelog.

<br/>

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

#### Styles

* **misc**: Add `parallel_tool_calls` support for Qwen, closes [#5584](https://github.com/lobehub/lobe-chat/issues/5584) ([b89aeeb](https://github.com/lobehub/lobe-chat/commit/b89aeeb))
* **misc**: Fix tag version and add provider changelog, closes [#5582](https://github.com/lobehub/lobe-chat/issues/5582) ([63c571b](https://github.com/lobehub/lobe-chat/commit/63c571b))

</details>

<div align="right">

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

</div>
2025-01-25 04:08:33 +00:00
Arvin Xu 63c571b275 💄 style: fix tag version and add provider changelog (#5582)
* add changelog

* fix

* fix test

* update locale
2025-01-25 12:00:58 +08:00
Zhijie He b89aeebe13 💄 style: add parallel_tool_calls support for Qwen (#5584) 2025-01-25 11:53:33 +08:00
lobehubbot 02b91a5f76 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-25 03:52:09 +00:00
semantic-release-bot cda7e439d1 🔖 chore(release): v1.48.1 [skip ci]
### [Version&nbsp;1.48.1](https://github.com/lobehub/lobe-chat/compare/v1.48.0...v1.48.1)
<sup>Released on **2025-01-25**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix ollama Browser Request failed in PG mode.

<br/>

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

#### What's fixed

* **misc**: Fix ollama Browser Request failed in PG mode, closes [#5585](https://github.com/lobehub/lobe-chat/issues/5585) ([b2f3c33](https://github.com/lobehub/lobe-chat/commit/b2f3c33))

</details>

<div align="right">

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

</div>
2025-01-25 03:51:06 +00:00
Zhijie He b2f3c33f66 🐛 fix: fix ollama Browser Request failed in PG mode (#5585) 2025-01-25 11:43:13 +08:00
lobehubbot 45ad962d63 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-24 05:53:46 +00:00
semantic-release-bot acbc5d82cc 🔖 chore(release): v1.48.0 [skip ci]
## [Version&nbsp;1.48.0](https://github.com/lobehub/lobe-chat/compare/v1.47.23...v1.48.0)
<sup>Released on **2025-01-24**</sup>

####  Features

- **misc**: Support display thinking for DeepSeek R1.

<br/>

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

#### What's improved

* **misc**: Support display thinking for DeepSeek R1, closes [#5558](https://github.com/lobehub/lobe-chat/issues/5558) ([f98bb5a](https://github.com/lobehub/lobe-chat/commit/f98bb5a))

</details>

<div align="right">

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

</div>
2025-01-24 05:52:46 +00:00
Arvin Xu f98bb5abc1 feat: support display thinking for DeepSeek R1 (#5558)
* feat: support thinking

* update

* fix

* feat: support thinking

* fix lint

* improve style

* improve style

* update ability

* fix tests

* improve code

* update i18n

* Update google.ts

* improve thinking
2025-01-24 13:44:54 +08:00
lobehubbot 7008022d9a 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-24 04:25:05 +00:00
semantic-release-bot 9353744747 🔖 chore(release): v1.47.23 [skip ci]
### [Version&nbsp;1.47.23](https://github.com/lobehub/lobe-chat/compare/v1.47.22...v1.47.23)
<sup>Released on **2025-01-24**</sup>

#### 💄 Styles

- **misc**: Fix model fetch match tag error & add Hunyuan model fetch support.

<br/>

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

#### Styles

* **misc**: Fix model fetch match tag error & add Hunyuan model fetch support, closes [#5566](https://github.com/lobehub/lobe-chat/issues/5566) ([7b075ef](https://github.com/lobehub/lobe-chat/commit/7b075ef))

</details>

<div align="right">

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

</div>
2025-01-24 04:24:06 +00:00
Zhijie He 7b075efda8 💄 style: fix model fetch match tag error & add Hunyuan model fetch support (#5566)
* 💄 style: fix model fetch match tag error & add model fetch support for Hunyuan

* 💄 style: add `qvq-72b-preview` vision model

* 💄 style: add vision tag

* 💄 style: update Hunyuan model list

* 🐛 fix: fix Hunyuan model fetch ci error

* 💄 style: remove fc tag for Hunyuan vision model

* 🐛 fix: fix ci error

* 🔨 chore: support non-pglite mode
2025-01-24 12:16:31 +08:00
lobehubbot ccdd68eb90 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-24 02:10:25 +00:00
semantic-release-bot 0784156dab 🔖 chore(release): v1.47.22 [skip ci]
### [Version&nbsp;1.47.22](https://github.com/lobehub/lobe-chat/compare/v1.47.21...v1.47.22)
<sup>Released on **2025-01-24**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix form input in provider.

<br/>

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

#### What's fixed

* **misc**: Fix form input in provider, closes [#5571](https://github.com/lobehub/lobe-chat/issues/5571) ([07e2396](https://github.com/lobehub/lobe-chat/commit/07e2396))

</details>

<div align="right">

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

</div>
2025-01-24 02:09:24 +00:00
Arvin Xu 07e23962d8 🐛 fix: fix form input in provider (#5571) 2025-01-24 10:01:41 +08:00
renovate[bot] 2734cf3b75 Update dependency unstructured-client to ^0.19.0 (#5507)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-24 01:23:27 +08:00
lobehubbot 59b1448b20 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-23 17:02:22 +00:00
semantic-release-bot 1b78642f6a 🔖 chore(release): v1.47.21 [skip ci]
### [Version&nbsp;1.47.21](https://github.com/lobehub/lobe-chat/compare/v1.47.20...v1.47.21)
<sup>Released on **2025-01-23**</sup>

#### 💄 Styles

- **misc**: Add HuggingFace Model: DeepSeek R1.

<br/>

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

#### Styles

* **misc**: Add HuggingFace Model: DeepSeek R1, closes [#5564](https://github.com/lobehub/lobe-chat/issues/5564) ([66d4edd](https://github.com/lobehub/lobe-chat/commit/66d4edd))

</details>

<div align="right">

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

</div>
2025-01-23 17:01:23 +00:00
柴米油盐的梦想 66d4edda41 💄 style: Add HuggingFace Model: DeepSeek R1 (#5564) 2025-01-24 00:53:32 +08:00
lobehubbot 223e3e40db 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-23 16:41:06 +00:00
semantic-release-bot 2e84a4ec4b 🔖 chore(release): v1.47.20 [skip ci]
### [Version&nbsp;1.47.20](https://github.com/lobehub/lobe-chat/compare/v1.47.19...v1.47.20)
<sup>Released on **2025-01-23**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix tts in new provider model.

<br/>

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

#### What's fixed

* **misc**: Fix tts in new provider model, closes [#5569](https://github.com/lobehub/lobe-chat/issues/5569) ([3fef83e](https://github.com/lobehub/lobe-chat/commit/3fef83e))

</details>

<div align="right">

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

</div>
2025-01-23 16:40:06 +00:00
Arvin Xu 3fef83e3c6 🐛 fix: fix tts in new provider model (#5569) 2025-01-24 00:32:21 +08:00
lobehubbot 8f7d907e36 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-23 15:42:53 +00:00
semantic-release-bot 0bb7833de7 🔖 chore(release): v1.47.19 [skip ci]
### [Version&nbsp;1.47.19](https://github.com/lobehub/lobe-chat/compare/v1.47.18...v1.47.19)
<sup>Released on **2025-01-23**</sup>

#### 💄 Styles

- **misc**: Add new stepfun model.

<br/>

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

#### Styles

* **misc**: Add new stepfun model, closes [#5560](https://github.com/lobehub/lobe-chat/issues/5560) ([6e027e8](https://github.com/lobehub/lobe-chat/commit/6e027e8))

</details>

<div align="right">

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

</div>
2025-01-23 15:41:55 +00:00
sxjeru 6e027e8f0b 💄 style: Add new stepfun model (#5560)
* Update stepfun.ts

* Update stepfun.ts

* Update stepfun.ts

* Update stepfun.ts
2025-01-23 23:34:04 +08:00
lobehubbot 6dc10b0639 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-23 05:39:44 +00:00
semantic-release-bot 462e09b7a1 🔖 chore(release): v1.47.18 [skip ci]
### [Version&nbsp;1.47.18](https://github.com/lobehub/lobe-chat/compare/v1.47.17...v1.47.18)
<sup>Released on **2025-01-23**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix debounce issue of provider config.

<br/>

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

#### What's fixed

* **misc**: Fix debounce issue of provider config, closes [#5557](https://github.com/lobehub/lobe-chat/issues/5557) ([c971530](https://github.com/lobehub/lobe-chat/commit/c971530))

</details>

<div align="right">

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

</div>
2025-01-23 05:38:46 +00:00
Arvin Xu c9715300ec 🐛 fix: fix debounce issue of provider config (#5557)
* style

* fix input

* improve validate

* fix build
2025-01-23 13:31:02 +08:00
lobehubbot 2203fd4eff 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-22 16:18:24 +00:00
semantic-release-bot a42b7b7fa0 🔖 chore(release): v1.47.17 [skip ci]
### [Version&nbsp;1.47.17](https://github.com/lobehub/lobe-chat/compare/v1.47.16...v1.47.17)
<sup>Released on **2025-01-22**</sup>

#### 🐛 Bug Fixes

- **misc**: Upgrade `react-i18next` to ^15.

<br/>

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

#### What's fixed

* **misc**: Upgrade `react-i18next` to ^15, closes [#5553](https://github.com/lobehub/lobe-chat/issues/5553) ([d0275fd](https://github.com/lobehub/lobe-chat/commit/d0275fd))

</details>

<div align="right">

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

</div>
2025-01-22 16:17:26 +00:00
Arvin Xu d0275fdc40 🐛 fix: upgrade react-i18next to ^15 (#5553) 2025-01-23 00:09:41 +08:00
lobehubbot 7bfd431ba8 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-22 14:16:59 +00:00
semantic-release-bot e99685aff1 🔖 chore(release): v1.47.16 [skip ci]
### [Version&nbsp;1.47.16](https://github.com/lobehub/lobe-chat/compare/v1.47.15...v1.47.16)
<sup>Released on **2025-01-22**</sup>

#### ♻ Code Refactoring

- **misc**: Move hooks and component.

#### 💄 Styles

- **misc**: Add gemini new model.

<br/>

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

#### Code refactoring

* **misc**: Move hooks and component, closes [#5551](https://github.com/lobehub/lobe-chat/issues/5551) ([c5db091](https://github.com/lobehub/lobe-chat/commit/c5db091))

#### Styles

* **misc**: Add gemini new model, closes [#5546](https://github.com/lobehub/lobe-chat/issues/5546) ([ebdd626](https://github.com/lobehub/lobe-chat/commit/ebdd626))

</details>

<div align="right">

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

</div>
2025-01-22 14:15:56 +00:00
Arvin Xu c5db091a9a ♻️ refactor: move hooks and component (#5551) 2025-01-22 22:07:57 +08:00
arvinxx e5b4b60c3d add config 2025-01-22 22:03:27 +08:00
sxjeru ebdd626b7f 💄 style: Add gemini new model (#5546)
* Update google.ts

* Update google.ts
2025-01-22 21:59:45 +08:00
lobehubbot 17aca7df8a 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-22 06:16:27 +00:00
semantic-release-bot 944435df9b 🔖 chore(release): v1.47.15 [skip ci]
### [Version&nbsp;1.47.15](https://github.com/lobehub/lobe-chat/compare/v1.47.14...v1.47.15)
<sup>Released on **2025-01-22**</sup>

#### 💄 Styles

- **misc**: Improve discover model page.

<br/>

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

#### Styles

* **misc**: Improve discover model page, closes [#5544](https://github.com/lobehub/lobe-chat/issues/5544) ([979849c](https://github.com/lobehub/lobe-chat/commit/979849c))

</details>

<div align="right">

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

</div>
2025-01-22 06:15:30 +00:00
Arvin Xu 979849cf7b 💄 style: improve discover model page (#5544)
* improve

* refactor db viewer

* fix lint

* improve code
2025-01-22 14:07:43 +08:00
lobehubbot a6eff23f61 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-22 02:05:39 +00:00
semantic-release-bot 2b98c07170 🔖 chore(release): v1.47.14 [skip ci]
### [Version&nbsp;1.47.14](https://github.com/lobehub/lobe-chat/compare/v1.47.13...v1.47.14)
<sup>Released on **2025-01-22**</sup>

#### 💄 Styles

- **misc**: Support model list with model fetcher settings.

<br/>

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

#### Styles

* **misc**: Support model list with model fetcher settings, closes [#5540](https://github.com/lobehub/lobe-chat/issues/5540) ([637fbf4](https://github.com/lobehub/lobe-chat/commit/637fbf4))

</details>

<div align="right">

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

</div>
2025-01-22 02:04:42 +00:00
Arvin Xu 637fbf48a5 💄 style: support model list with model fetcher settings (#5540) 2025-01-22 09:56:54 +08:00
lobehubbot 55a64b8fd5 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-21 18:52:32 +00:00
semantic-release-bot 38bb45cb39 🔖 chore(release): v1.47.13 [skip ci]
### [Version&nbsp;1.47.13](https://github.com/lobehub/lobe-chat/compare/v1.47.12...v1.47.13)
<sup>Released on **2025-01-21**</sup>

#### 💄 Styles

- **misc**: Add `ModelFetcher` for supported providers.

<br/>

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

#### Styles

* **misc**: Add `ModelFetcher` for supported providers, closes [#5316](https://github.com/lobehub/lobe-chat/issues/5316) [#252](https://github.com/lobehub/lobe-chat/issues/252) ([a189c81](https://github.com/lobehub/lobe-chat/commit/a189c81))

</details>

<div align="right">

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

</div>
2025-01-21 18:51:29 +00:00
Zhijie He a189c8193f 💄 style: add ModelFetcher for supported providers (#5316)
* 💄 style: add ModelFetcher for supported provider

* 💄 style: add Mistral ModelFetcher support

* 💄 style: add `glm-zero-preview` model for Zhipu

* 💄 style: add more supported providers

* 💄 style: add SenseNova & Baichuan support with custom models endpoint

* 🐛 fix: fix fc keyword typo, should lowercase

* 💄 style: update aiModels list

* ♻️ refactor: use aiModels sheme

* Revert "♻️ refactor: use aiModels sheme" (#252)

This reverts commit 049662da22.

* 🐛 fix: fix `firefunction` series not set as functionCall

* 💄 style: add Zhipu FetchModel support

* 💄 style: add Anthropic FetchModel support

* 💄 style: add Google ModelFetch support

* 💄 style: add HuggingFace ModelFetch support

* 🐛 fix: fix stepfun fc tag

* ♻️ refactor: refactor `LOBE_DEFAULT_MODEL_LIST` import

* 🔨 chore: revert some changes

* 🐛 fix: fix aiModels import

* 🐛 fix: fix CI error

* 💄 style: add `MiniMax-Text-01`

* 💄 style: add vision model support for Moonshot

* Update moonshot.ts

* Update index.ts

* Update moonshot.ts
2025-01-22 02:43:20 +08:00
renovate[bot] 51798603f7 Update dependency react-scan to ^0.1.0 (#5506)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-21 23:20:37 +08:00
lobehubbot 7749703280 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-21 08:42:54 +00:00
semantic-release-bot f56dab7a48 🔖 chore(release): v1.47.12 [skip ci]
### [Version&nbsp;1.47.12](https://github.com/lobehub/lobe-chat/compare/v1.47.11...v1.47.12)
<sup>Released on **2025-01-21**</sup>

#### 💄 Styles

- **misc**: Refactor `[@nav](https://github.com/nav)` layout and improve pin list style.

<br/>

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

#### Styles

* **misc**: Refactor `[@nav](https://github.com/nav)` layout and improve pin list style, closes [#5533](https://github.com/lobehub/lobe-chat/issues/5533) ([cc8a7f4](https://github.com/lobehub/lobe-chat/commit/cc8a7f4))

</details>

<div align="right">

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

</div>
2025-01-21 08:41:59 +00:00
Arvin Xu cc8a7f4a43 💄 style: refactor @nav layout and improve pin list style (#5533)
* refactor layout

* fix prefetch
2025-01-21 16:34:20 +08:00
lobehubbot f5ed8f8777 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-21 07:11:44 +00:00
semantic-release-bot ab68c3c375 🔖 chore(release): v1.47.11 [skip ci]
### [Version&nbsp;1.47.11](https://github.com/lobehub/lobe-chat/compare/v1.47.10...v1.47.11)
<sup>Released on **2025-01-21**</sup>

#### ♻ Code Refactoring

- **misc**: Improve code for ai provider.

<br/>

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

#### Code refactoring

* **misc**: Improve code for ai provider, closes [#5532](https://github.com/lobehub/lobe-chat/issues/5532) ([ea59e24](https://github.com/lobehub/lobe-chat/commit/ea59e24))

</details>

<div align="right">

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

</div>
2025-01-21 07:10:44 +00:00
Arvin Xu ea59e243bb ♻️ refactor: improve code for ai provider (#5532)
* improve code

* fire
2025-01-21 15:02:56 +08:00
renovate[bot] d60c09b707 Update pnpm to v9.15.4 (#5504)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-21 11:24:12 +08:00
lobehubbot 06c235b426 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-21 02:33:40 +00:00
semantic-release-bot 0d4536dec1 🔖 chore(release): v1.47.10 [skip ci]
### [Version&nbsp;1.47.10](https://github.com/lobehub/lobe-chat/compare/v1.47.9...v1.47.10)
<sup>Released on **2025-01-21**</sup>

#### 💄 Styles

- **misc**: Support assistant blacklist.

<br/>

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

#### Styles

* **misc**: Support assistant blacklist, closes [#5527](https://github.com/lobehub/lobe-chat/issues/5527) ([3534c0d](https://github.com/lobehub/lobe-chat/commit/3534c0d))

</details>

<div align="right">

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

</div>
2025-01-21 02:32:42 +00:00
Arvin Xu 3534c0df3d 💄 style: support assistant blacklist (#5527)
* style: support blacklist

* add revalidate tags

* add revalidate tags api method

* improve code
2025-01-21 10:24:49 +08:00
lobehubbot 807574be1c 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-20 16:46:09 +00:00
semantic-release-bot 86760c04c3 🔖 chore(release): v1.47.9 [skip ci]
### [Version&nbsp;1.47.9](https://github.com/lobehub/lobe-chat/compare/v1.47.8...v1.47.9)
<sup>Released on **2025-01-20**</sup>

#### ♻ Code Refactoring

- **misc**: Improve error code.

<br/>

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

#### Code refactoring

* **misc**: Improve error code, closes [#5525](https://github.com/lobehub/lobe-chat/issues/5525) ([4fc4fa6](https://github.com/lobehub/lobe-chat/commit/4fc4fa6))

</details>

<div align="right">

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

</div>
2025-01-20 16:45:14 +00:00
Arvin Xu 4fc4fa65e4 ♻️ refactor: improve error code (#5525) 2025-01-21 00:37:38 +08:00
lobehubbot cf693f4e4c 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-20 13:57:57 +00:00
semantic-release-bot ae1b6c3066 🔖 chore(release): v1.47.8 [skip ci]
### [Version&nbsp;1.47.8](https://github.com/lobehub/lobe-chat/compare/v1.47.7...v1.47.8)
<sup>Released on **2025-01-20**</sup>

#### 💄 Styles

- **misc**: Add deepseek r1 model.

<br/>

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

#### Styles

* **misc**: Add deepseek r1 model, closes [#5520](https://github.com/lobehub/lobe-chat/issues/5520) ([414477f](https://github.com/lobehub/lobe-chat/commit/414477f))

</details>

<div align="right">

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

</div>
2025-01-20 13:56:53 +00:00
sxjeru 414477fe77 💄 style: Add deepseek r1 model (#5520)
* Update deepseek.ts

* Update deepseek.ts

* Update deepseek.ts

* Update index.ts

* Update index.ts

* Update index.ts
2025-01-20 21:48:57 +08:00
Arvin Xu dc286158f5 🔨 chore: Create devcontainer.json for codespaces (#5522)
* Create devcontainer.json

* Update devcontainer.json
2025-01-20 20:47:27 +08:00
lobehubbot e75c71add8 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-20 11:56:40 +00:00
semantic-release-bot d9f43f7117 🔖 chore(release): v1.47.7 [skip ci]
### [Version&nbsp;1.47.7](https://github.com/lobehub/lobe-chat/compare/v1.47.6...v1.47.7)
<sup>Released on **2025-01-20**</sup>

#### ♻ Code Refactoring

- **misc**: Remove redundant payload remapping in client-fetch.

<br/>

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

#### Code refactoring

* **misc**: Remove redundant payload remapping in client-fetch, closes [#5267](https://github.com/lobehub/lobe-chat/issues/5267) ([0c7dd82](https://github.com/lobehub/lobe-chat/commit/0c7dd82))

</details>

<div align="right">

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

</div>
2025-01-20 11:55:45 +00:00
Rylan Cai 0c7dd825ff ♻️ refactor: Remove redundant payload remapping in client-fetch (#5267)
* ♻️ refactor: auth payload in client-fetch

* 🎨 style: format code

* ♻️ refactor: remap for groq, cf

*  test: auth payload

* 🧪 test: add tests for cloudflare & bedrock

* 📝 docs: add docs for refactoring

* ♻️ refactor: remove unused import

* 📝 docs: mark as deprecated
2025-01-20 19:48:05 +08:00
lobehubbot 018896502b 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-20 10:03:01 +00:00
semantic-release-bot 91be2a4b6d 🔖 chore(release): v1.47.6 [skip ci]
### [Version&nbsp;1.47.6](https://github.com/lobehub/lobe-chat/compare/v1.47.5...v1.47.6)
<sup>Released on **2025-01-20**</sup>

#### ♻ Code Refactoring

- **misc**: Refactor provider code.

<br/>

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

#### Code refactoring

* **misc**: Refactor provider code, closes [#5516](https://github.com/lobehub/lobe-chat/issues/5516) ([fa1a07f](https://github.com/lobehub/lobe-chat/commit/fa1a07f))

</details>

<div align="right">

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

</div>
2025-01-20 10:02:05 +00:00
Arvin Xu fa1a07f8c8 ♻️ refactor: refactor provider code (#5516) 2025-01-20 17:54:26 +08:00
lobehubbot e7324ea3a0 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-20 06:44:10 +00:00
semantic-release-bot a32673249a 🔖 chore(release): v1.47.5 [skip ci]
### [Version&nbsp;1.47.5](https://github.com/lobehub/lobe-chat/compare/v1.47.4...v1.47.5)
<sup>Released on **2025-01-20**</sup>

#### ♻ Code Refactoring

- **misc**: Improve ai provider code.

<br/>

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

#### Code refactoring

* **misc**: Improve ai provider code, closes [#5514](https://github.com/lobehub/lobe-chat/issues/5514) ([92789cd](https://github.com/lobehub/lobe-chat/commit/92789cd))

</details>

<div align="right">

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

</div>
2025-01-20 06:43:14 +00:00
Arvin Xu 92789cd401 ♻️ refactor: improve ai provider code (#5514)
* add

* Delete src/app/(main)/settings/provider/ProviderMenu/Cloud/AddNew.tsx

* Delete src/app/(main)/settings/provider/ProviderMenu/Cloud/ItemLock.tsx

* Update index.tsx

* Rename Switch.tsx to EnableSwitch.tsx
2025-01-20 14:35:34 +08:00
lobehubbot 8c024127c2 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-18 13:05:46 +00:00
semantic-release-bot 2f83f7a8c0 🔖 chore(release): v1.47.4 [skip ci]
### [Version&nbsp;1.47.4](https://github.com/lobehub/lobe-chat/compare/v1.47.3...v1.47.4)
<sup>Released on **2025-01-18**</sup>

<br/>

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

</details>

<div align="right">

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

</div>
2025-01-18 13:04:47 +00:00
Arvin Xu 6dbc9c51f6 ️ perf: move pglite into web worker (#5500)
* move pglite into web worker

* fix turbopack build

* fix turbopack build

* improve code
2025-01-18 20:56:53 +08:00
lobehubbot 9b38c9cb3b 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-18 11:19:05 +00:00
semantic-release-bot ac839ff159 🔖 chore(release): v1.47.3 [skip ci]
### [Version&nbsp;1.47.3](https://github.com/lobehub/lobe-chat/compare/v1.47.2...v1.47.3)
<sup>Released on **2025-01-18**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix hydration error.

<br/>

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

#### What's fixed

* **misc**: Fix hydration error, closes [#5502](https://github.com/lobehub/lobe-chat/issues/5502) ([cbe469a](https://github.com/lobehub/lobe-chat/commit/cbe469a))

</details>

<div align="right">

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

</div>
2025-01-18 11:18:10 +00:00
Arvin Xu cbe469a804 🐛 fix: fix hydration error (#5502)
* fix code

* update dev script
2025-01-18 19:10:35 +08:00
lobehubbot de203d7ffd 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-17 12:54:25 +00:00
semantic-release-bot 413aa581a3 🔖 chore(release): v1.47.2 [skip ci]
### [Version&nbsp;1.47.2](https://github.com/lobehub/lobe-chat/compare/v1.47.1...v1.47.2)
<sup>Released on **2025-01-17**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix api key in api key form.

<br/>

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

#### What's fixed

* **misc**: Fix api key in api key form, closes [#5498](https://github.com/lobehub/lobe-chat/issues/5498) ([b4a160b](https://github.com/lobehub/lobe-chat/commit/b4a160b))

</details>

<div align="right">

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

</div>
2025-01-17 12:53:25 +00:00
Arvin Xu b4a160b680 🐛 fix: fix api key in api key form (#5498)
* fix api key

* fix client fetch
2025-01-17 20:45:07 +08:00
lobehubbot 261e14ae4b 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-17 12:11:25 +00:00
semantic-release-bot 98ae7b897d 🔖 chore(release): v1.47.1 [skip ci]
### [Version&nbsp;1.47.1](https://github.com/lobehub/lobe-chat/compare/v1.47.0...v1.47.1)
<sup>Released on **2025-01-17**</sup>

<br/>

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

</details>

<div align="right">

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

</div>
2025-01-17 12:10:30 +00:00
Arvin Xu a33c75b22a 👷 build: fix build scripts (#5497) 2025-01-17 20:02:27 +08:00
lobehubbot 73a4e3d6bc 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-17 11:46:21 +00:00
semantic-release-bot 2595879656 🔖 chore(release): v1.47.0 [skip ci]
## [Version&nbsp;1.47.0](https://github.com/lobehub/lobe-chat/compare/v1.46.7...v1.47.0)
<sup>Released on **2025-01-17**</sup>

####  Features

- **misc**: Support new ai provider in client pglite.

<br/>

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

#### What's improved

* **misc**: Support new ai provider in client pglite, closes [#5488](https://github.com/lobehub/lobe-chat/issues/5488) ([08f505f](https://github.com/lobehub/lobe-chat/commit/08f505f))

</details>

<div align="right">

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

</div>
2025-01-17 11:45:20 +00:00
Arvin Xu 08f505f1f9 feat: support new ai provider in client pglite (#5488)
* update to pglite mode

* add service

* 新增 DevPanel

* 新增数据库预览 UI

* Update useCategory.tsx

* add postgres table viewer

* improve table detail

* fix

* fix list

* fix custom provider in client mode

* fix build

* fix tests

* fix url

* add test for service
2025-01-17 19:36:53 +08:00
lobehubbot aa07c405a2 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-17 05:19:46 +00:00
semantic-release-bot 0e073ad9b2 🔖 chore(release): v1.46.7 [skip ci]
### [Version&nbsp;1.46.7](https://github.com/lobehub/lobe-chat/compare/v1.46.6...v1.46.7)
<sup>Released on **2025-01-17**</sup>

#### 🐛 Bug Fixes

- **misc**: Improve validation for provider and model in parseFilesConfig, temporarily disable S3 client integrity check for Cloudflare R2.

<br/>

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

#### What's fixed

* **misc**: Improve validation for provider and model in parseFilesConfig, closes [#5454](https://github.com/lobehub/lobe-chat/issues/5454) ([b4808f8](https://github.com/lobehub/lobe-chat/commit/b4808f8))
* **misc**: Temporarily disable S3 client integrity check for Cloudflare R2, closes [#5479](https://github.com/lobehub/lobe-chat/issues/5479) ([a638238](https://github.com/lobehub/lobe-chat/commit/a638238))

</details>

<div align="right">

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

</div>
2025-01-17 05:18:38 +00:00
Henry Yee b4808f877e 🐛 fix: improve validation for provider and model in parseFilesConfig (#5454)
* 🐛 fix: improve validation for provider and model in parseFilesConfig

* 🐛 fix: update embeddings configuration test to reflect changes in model parsing

* 🐛 fix: update configuration keys from queryModel to queryMode and enhance parsing tests

* 🐛 fix: enhance error handling for invalid environment variable formats in parseFilesConfig
2025-01-17 13:10:27 +08:00
小云丨Arale a638238333 🐛 fix: temporarily disable S3 client integrity check for Cloudflare R2 (#5479)
* 🐛 fix: S3 client integrity check for Cloudflare R2

related issues:
https://github.com/cloudflare/cloudflare-docs/pull/19236
https://github.com/aws/aws-sdk-js-v3/issues/6810

* Update index.ts

---------

Co-authored-by: Arvin Xu <arvinx@foxmail.com>
2025-01-17 13:09:19 +08:00
dupl e3f65d728d 👷 build: netlify build 137 error (#5486) 2025-01-17 13:08:23 +08:00
lobehubbot d8c05ce412 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-16 13:46:28 +00:00
semantic-release-bot 95240008f8 🔖 chore(release): v1.46.6 [skip ci]
### [Version&nbsp;1.46.6](https://github.com/lobehub/lobe-chat/compare/v1.46.5...v1.46.6)
<sup>Released on **2025-01-16**</sup>

#### 🐛 Bug Fixes

- **misc**: Gemini models HarmBlockThreshold.

<br/>

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

#### What's fixed

* **misc**: Gemini models HarmBlockThreshold, closes [#5477](https://github.com/lobehub/lobe-chat/issues/5477) ([f98375c](https://github.com/lobehub/lobe-chat/commit/f98375c))

</details>

<div align="right">

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

</div>
2025-01-16 13:45:28 +00:00
sxjeru f98375cd98 🐛 fix: Gemini models HarmBlockThreshold (#5477)
* Update index.ts

* Update index.ts

* Update index.ts
2025-01-16 21:37:21 +08:00
lobehubbot 05528356d8 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-16 11:23:09 +00:00
semantic-release-bot 5c9933bdf2 🔖 chore(release): v1.46.5 [skip ci]
### [Version&nbsp;1.46.5](https://github.com/lobehub/lobe-chat/compare/v1.46.4...v1.46.5)
<sup>Released on **2025-01-16**</sup>

<br/>

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

</details>

<div align="right">

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

</div>
2025-01-16 11:22:07 +00:00
sxjeru bcea92077d 👷 build: vercel build OOM error (#5473)
* Update vercel.json

* Update vercel.json

* Update vercel.json
2025-01-16 19:08:10 +08:00
An0nymous a20dfbdb8e 📝 docs: Fix docs typo (#5467) 2025-01-16 13:10:14 +08:00
lobehubbot a0014ec587 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-16 01:19:09 +00:00
semantic-release-bot 4d539b6803 🔖 chore(release): v1.46.4 [skip ci]
### [Version&nbsp;1.46.4](https://github.com/lobehub/lobe-chat/compare/v1.46.3...v1.46.4)
<sup>Released on **2025-01-16**</sup>

#### ♻ Code Refactoring

- **misc**: Refactor some implement for the next performance improvement.

<br/>

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

#### Code refactoring

* **misc**: Refactor some implement for the next performance improvement, closes [#5462](https://github.com/lobehub/lobe-chat/issues/5462) ([b5e1146](https://github.com/lobehub/lobe-chat/commit/b5e1146))

</details>

<div align="right">

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

</div>
2025-01-16 01:18:08 +00:00
Arvin Xu b5e1146a6a ♻️ refactor: refactor some implement for the next performance improvement (#5462)
* refactor import

* wrapper suspense for useParams

* refactor the locale parser

* add tests for parseBrowserLanguage

* fix next-auth url

* refactor auth page url
2025-01-16 09:09:56 +08:00
YLong Shi b11d08e820 📝 docs: fix plugin usage link (#5453) 2025-01-15 15:41:28 +08:00
lobehubbot 2bb59e27c4 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-15 07:32:41 +00:00
semantic-release-bot 6315d2cd29 🔖 chore(release): v1.46.3 [skip ci]
### [Version&nbsp;1.46.3](https://github.com/lobehub/lobe-chat/compare/v1.46.2...v1.46.3)
<sup>Released on **2025-01-15**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix azure in new ai provider.

<br/>

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

#### What's fixed

* **misc**: Fix azure in new ai provider, closes [#5448](https://github.com/lobehub/lobe-chat/issues/5448) ([b5042c3](https://github.com/lobehub/lobe-chat/commit/b5042c3))

</details>

<div align="right">

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

</div>
2025-01-15 07:31:42 +00:00
Arvin Xu b5042c3857 🐛 fix: fix azure in new ai provider (#5448) 2025-01-15 15:23:30 +08:00
lobehubbot 99c2251b1b 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-15 07:20:25 +00:00
semantic-release-bot b2cfeb446e 🔖 chore(release): v1.46.2 [skip ci]
### [Version&nbsp;1.46.2](https://github.com/lobehub/lobe-chat/compare/v1.46.1...v1.46.2)
<sup>Released on **2025-01-15**</sup>

<br/>

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

</details>

<div align="right">

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

</div>
2025-01-15 07:19:27 +00:00
dupl dd1dc8907b 👷 build: Node.js command line arguments use hyphens (-) as word separators (#5449) 2025-01-15 15:11:25 +08:00
lobehubbot 4ff0b74ac9 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-15 04:42:11 +00:00
Phalis_Zequlard ee9b8cd6eb 📝 docs: add zh-TW readme (#5312)
*  feat: add zh-TW readme

* 📝 docs: add new language to menu
2025-01-15 12:34:09 +08:00
lobehubbot bd534fc02a 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-15 04:28:09 +00:00
semantic-release-bot 00cee010e3 🔖 chore(release): v1.46.1 [skip ci]
### [Version&nbsp;1.46.1](https://github.com/lobehub/lobe-chat/compare/v1.46.0...v1.46.1)
<sup>Released on **2025-01-15**</sup>

#### 💄 Styles

- **misc**: Add auth support for `PROXY_URL`.

<br/>

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

#### Styles

* **misc**: Add auth support for `PROXY_URL`, closes [#5304](https://github.com/lobehub/lobe-chat/issues/5304) ([eb26c79](https://github.com/lobehub/lobe-chat/commit/eb26c79))

</details>

<div align="right">

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

</div>
2025-01-15 04:27:07 +00:00
renovate[bot] 416f6c97ae Update dependency lucide-react to ^0.471.0 (#5404)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Arvin Xu <arvinx@foxmail.com>
2025-01-15 12:18:52 +08:00
WindSpiritSR eb26c79f53 💄 style: add auth support for PROXY_URL (#5304)
Signed-off-by: WindSpiritSR <simon343riley@gmail.com>
2025-01-15 12:17:48 +08:00
lobehubbot dfab4ce8ab 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-15 03:26:27 +00:00
semantic-release-bot 5a37c93712 🔖 chore(release): v1.46.0 [skip ci]
## [Version&nbsp;1.46.0](https://github.com/lobehub/lobe-chat/compare/v1.45.17...v1.46.0)
<sup>Released on **2025-01-15**</sup>

####  Features

- **misc**: Add lm studio provider, support to customize Embedding model with env.

<br/>

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

#### What's improved

* **misc**: Add lm studio provider, closes [#4483](https://github.com/lobehub/lobe-chat/issues/4483) ([0ac5802](https://github.com/lobehub/lobe-chat/commit/0ac5802))
* **misc**: Support to customize Embedding model with env, closes [#5177](https://github.com/lobehub/lobe-chat/issues/5177) ([eed9357](https://github.com/lobehub/lobe-chat/commit/eed9357))

</details>

<div align="right">

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

</div>
2025-01-15 03:25:24 +00:00
Henry Yee eed9357ab5 feat: support to customize Embedding model with env (#5177)
* feat: 添加嵌入模型配置支持,更新相关文档和测试

* feat: 重构文件配置,更新默认设置和相关测试

* ♻ Code Refactoring
- Update the file configuration and standardize the model naming to camel case.
2025-01-15 11:17:20 +08:00
Arvin Xu 0ac5802d1e feat: add lm studio provider (#4483)
* 添加 LM Studio

* Update index.ts

* update desc
2025-01-15 11:16:24 +08:00
lobehubbot b2ffdb8aa5 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-15 02:22:03 +00:00
semantic-release-bot d8da56fba7 🔖 chore(release): v1.45.17 [skip ci]
### [Version&nbsp;1.45.17](https://github.com/lobehub/lobe-chat/compare/v1.45.16...v1.45.17)
<sup>Released on **2025-01-15**</sup>

#### ♻ Code Refactoring

- **misc**: Refactor Minimax with LobeOpenAICompatibleFactory.

<br/>

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

#### Code refactoring

* **misc**: Refactor Minimax with LobeOpenAICompatibleFactory, closes [#5325](https://github.com/lobehub/lobe-chat/issues/5325) ([da11b55](https://github.com/lobehub/lobe-chat/commit/da11b55))

</details>

<div align="right">

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

</div>
2025-01-15 02:21:07 +00:00
Zhijie He da11b557ed ♻️ refactor: refactor Minimax with LobeOpenAICompatibleFactory (#5325)
* ♻️ refactor: refactor Minimax with LobeOpenAICompatibleFactory

* 💄 style: add vision tag for `abab6.5s-chat` & `abab7-chat-preview`

* 🐛 fix: fix Minimax output long content interrupted by default `max_tokens` (256tokens)

* 💄 style: update aiModels list

* 🐛 fix: fix price typo

* 💄 style: add releaseAt tag
2025-01-15 10:13:14 +08:00
lobehubbot 0f57f1edb2 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-14 18:42:41 +00:00
semantic-release-bot 90494bec6e 🔖 chore(release): v1.45.16 [skip ci]
### [Version&nbsp;1.45.16](https://github.com/lobehub/lobe-chat/compare/v1.45.15...v1.45.16)
<sup>Released on **2025-01-14**</sup>

#### ♻ Code Refactoring

- **misc**: Improve ai provider code.

<br/>

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

#### Code refactoring

* **misc**: Improve ai provider code, closes [#5442](https://github.com/lobehub/lobe-chat/issues/5442) ([32013b4](https://github.com/lobehub/lobe-chat/commit/32013b4))

</details>

<div align="right">

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

</div>
2025-01-14 18:41:39 +00:00
Arvin Xu 32013b49fb ♻️ refactor: improve ai provider code (#5442) 2025-01-15 02:33:51 +08:00
Jannik Maierhöfer df082e5618 📝 docs: add Langfuse observability to documentation (#4818)
* docs: add Langfuse observability to documentation

* moved the  docuement to self-hosting/advanced observability/langfuse.mdx
2025-01-15 02:04:38 +08:00
lobehubbot 7c4f0f202d 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-14 17:59:06 +00:00
semantic-release-bot 78fac8bbad 🔖 chore(release): v1.45.15 [skip ci]
### [Version&nbsp;1.45.15](https://github.com/lobehub/lobe-chat/compare/v1.45.14...v1.45.15)
<sup>Released on **2025-01-14**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix pull models error in new ai provider.

<br/>

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

#### What's fixed

* **misc**: Fix pull models error in new ai provider, closes [#5441](https://github.com/lobehub/lobe-chat/issues/5441) ([1726d85](https://github.com/lobehub/lobe-chat/commit/1726d85))

</details>

<div align="right">

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

</div>
2025-01-14 17:58:10 +00:00
Arvin Xu 1726d8523e 🐛 fix: fix pull models error in new ai provider (#5441) 2025-01-15 01:50:24 +08:00
lobehubbot b49e6239b4 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-14 17:26:55 +00:00
semantic-release-bot 47870a42e2 🔖 chore(release): v1.45.14 [skip ci]
### [Version&nbsp;1.45.14](https://github.com/lobehub/lobe-chat/compare/v1.45.13...v1.45.14)
<sup>Released on **2025-01-14**</sup>

#### ♻ Code Refactoring

- **plugin**: Update plugin prompt.

<br/>

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

#### Code refactoring

* **plugin**: Update plugin prompt, closes [#5083](https://github.com/lobehub/lobe-chat/issues/5083) ([ddd3b53](https://github.com/lobehub/lobe-chat/commit/ddd3b53))

</details>

<div align="right">

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

</div>
2025-01-14 17:25:57 +00:00
BrandonStudio ddd3b539cd ♻️ refactor(plugin): update plugin prompt (#5083) 2025-01-15 01:17:31 +08:00
lobehubbot d99fdf5b3c 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-14 17:12:47 +00:00
semantic-release-bot 1f9e86e916 🔖 chore(release): v1.45.13 [skip ci]
### [Version&nbsp;1.45.13](https://github.com/lobehub/lobe-chat/compare/v1.45.12...v1.45.13)
<sup>Released on **2025-01-14**</sup>

#### 💄 Styles

- **misc**: Improve model config form modal.

<br/>

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

#### Styles

* **misc**: Improve model config form modal, closes [#5438](https://github.com/lobehub/lobe-chat/issues/5438) ([9b303e0](https://github.com/lobehub/lobe-chat/commit/9b303e0))

</details>

<div align="right">

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

</div>
2025-01-14 17:11:47 +00:00
Arvin Xu 9b303e0c6c 💄 style: improve model config form modal (#5438)
* improve model config modal

* improve

* format

* improve form rules
2025-01-15 01:03:57 +08:00
lobehubbot 72df0234c2 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-14 16:21:25 +00:00
semantic-release-bot 0249da7a7a 🔖 chore(release): v1.45.12 [skip ci]
### [Version&nbsp;1.45.12](https://github.com/lobehub/lobe-chat/compare/v1.45.11...v1.45.12)
<sup>Released on **2025-01-14**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix `enable_search` parameter intro condition in Qwen.

<br/>

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

#### What's fixed

* **misc**: Fix `enable_search` parameter intro condition in Qwen, closes [#5297](https://github.com/lobehub/lobe-chat/issues/5297) ([0b19c20](https://github.com/lobehub/lobe-chat/commit/0b19c20))

</details>

<div align="right">

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

</div>
2025-01-14 16:20:18 +00:00
Zhijie He 0b19c2097b 🐛 fix: fix enable_search parameter intro condition in Qwen (#5297)
* 🐛 fix: fix `enable_search`parameter intro condition in Qwen

* 🔨 chore: add some notes

* ♻️ refactor: intro `QwenEnableSearchModelSeries` to control `enable_search` parameter

* 🔨 chore: update comments

* 🔨 chore: add env to control `enable_search` & `search_strategy`
2025-01-15 00:12:24 +08:00
wangsl aa4f619d10 📝 docs: Update deepseek model to v3 in README. (#5397)
* Update README.md

将 README 中的 deepseek 模型版本号更新为 v3

* Update README.ja-JP.md

将 README 中的 deepseek 模型版本号更新为 v3
2025-01-15 00:06:58 +08:00
lobehubbot a58e672561 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-14 15:01:35 +00:00
semantic-release-bot f3893a3d88 🔖 chore(release): v1.45.11 [skip ci]
### [Version&nbsp;1.45.11](https://github.com/lobehub/lobe-chat/compare/v1.45.10...v1.45.11)
<sup>Released on **2025-01-14**</sup>

#### 🐛 Bug Fixes

- **misc**: Support Gemini 2.0 HarmBlockThreshold.

<br/>

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

#### What's fixed

* **misc**: Support Gemini 2.0 HarmBlockThreshold, closes [#5422](https://github.com/lobehub/lobe-chat/issues/5422) ([4d1a4cd](https://github.com/lobehub/lobe-chat/commit/4d1a4cd))

</details>

<div align="right">

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

</div>
2025-01-14 15:00:40 +00:00
sxjeru 4d1a4cd800 🐛 fix: support Gemini 2.0 HarmBlockThreshold (#5422)
* Update index.ts

* Update index.ts
2025-01-14 22:52:54 +08:00
lobehubbot 3cffc7e5fc 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-14 14:27:36 +00:00
semantic-release-bot d4a46cccc6 🔖 chore(release): v1.45.10 [skip ci]
### [Version&nbsp;1.45.10](https://github.com/lobehub/lobe-chat/compare/v1.45.9...v1.45.10)
<sup>Released on **2025-01-14**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix some providers  issues.

<br/>

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

#### What's fixed

* **misc**: Fix some providers  issues, closes [#5429](https://github.com/lobehub/lobe-chat/issues/5429) ([b7edbd3](https://github.com/lobehub/lobe-chat/commit/b7edbd3))

</details>

<div align="right">

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

</div>
2025-01-14 14:26:27 +00:00
Arvin Xu b7edbd319c 🐛 fix: fix some providers issues (#5429)
* Update package.json

* Update package.json

* fix null issue

* update locale

* fix model ability display

* update locale
2025-01-14 22:18:26 +08:00
lobehubbot 8a8eabc0b9 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-14 11:41:01 +00:00
semantic-release-bot 3e4262deb3 🔖 chore(release): v1.45.9 [skip ci]
### [Version&nbsp;1.45.9](https://github.com/lobehub/lobe-chat/compare/v1.45.8...v1.45.9)
<sup>Released on **2025-01-14**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix pin package manager to pnpm@9 for docker.

<br/>

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

#### What's fixed

* **misc**: Fix pin package manager to pnpm@9 for docker, closes [#5436](https://github.com/lobehub/lobe-chat/issues/5436) ([00dc29b](https://github.com/lobehub/lobe-chat/commit/00dc29b))

</details>

<div align="right">

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

</div>
2025-01-14 11:39:49 +00:00
Arvin Xu 00dc29b97c 🐛 fix: fix pin package manager to pnpm@9 for docker (#5436) 2025-01-14 19:31:49 +08:00
lobehubbot cf4609558c 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-14 10:53:58 +00:00
semantic-release-bot 800e51a712 🔖 chore(release): v1.45.8 [skip ci]
### [Version&nbsp;1.45.8](https://github.com/lobehub/lobe-chat/compare/v1.45.7...v1.45.8)
<sup>Released on **2025-01-14**</sup>

#### 🐛 Bug Fixes

- **misc**: Refactor dynamic import in RSC.

<br/>

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

#### What's fixed

* **misc**: Refactor dynamic import in RSC, closes [#5434](https://github.com/lobehub/lobe-chat/issues/5434) ([6a663a7](https://github.com/lobehub/lobe-chat/commit/6a663a7))

</details>

<div align="right">

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

</div>
2025-01-14 10:52:59 +00:00
Arvin Xu 6a663a72e8 🐛 fix: refactor dynamic import in RSC (#5434)
* refactor

* fix
2025-01-14 18:45:16 +08:00
renovate[bot] e65a192b57 Update pnpm to v9.15.3 (#5403)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Arvin Xu <arvinx@foxmail.com>
2025-01-14 17:49:48 +08:00
lobehubbot 4d083435b4 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-13 07:28:05 +00:00
semantic-release-bot c6e03ec8b2 🔖 chore(release): v1.45.7 [skip ci]
### [Version&nbsp;1.45.7](https://github.com/lobehub/lobe-chat/compare/v1.45.6...v1.45.7)
<sup>Released on **2025-01-13**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix released at for undefined condition.

<br/>

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

#### What's fixed

* **misc**: Fix released at for undefined condition, closes [#5391](https://github.com/lobehub/lobe-chat/issues/5391) ([9c5822a](https://github.com/lobehub/lobe-chat/commit/9c5822a))

</details>

<div align="right">

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

</div>
2025-01-13 07:27:00 +00:00
Arvin Xu a09962cd04 🔨 chore: fix test ci (#5410)
* fix ci

* fix ci
2025-01-13 15:19:02 +08:00
Arvin Xu 9c5822a1fe 🐛 fix: fix released at for undefined condition (#5391) 2025-01-11 06:47:36 +08:00
lobehubbot fcccd57adb 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-10 07:01:18 +00:00
semantic-release-bot 08c4537f58 🔖 chore(release): v1.45.6 [skip ci]
### [Version&nbsp;1.45.6](https://github.com/lobehub/lobe-chat/compare/v1.45.5...v1.45.6)
<sup>Released on **2025-01-10**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix `*_MODEL_LIST` env in new provider.

<br/>

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

#### What's fixed

* **misc**: Fix `*_MODEL_LIST` env in new provider, closes [#5350](https://github.com/lobehub/lobe-chat/issues/5350) ([2b1b2a2](https://github.com/lobehub/lobe-chat/commit/2b1b2a2))

</details>

<div align="right">

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

</div>
2025-01-10 07:00:11 +00:00
Arvin Xu 2b1b2a2213 🐛 fix: fix *_MODEL_LIST env in new provider (#5350)
* update

* fix model list

* fix tests

* fix tests

* improve code

* update locales

* update locales

* fix

* fix ui
2025-01-10 14:51:39 +08:00
semantic-release-bot 4d25a14cc2 🔖 chore(release): v1.45.5 [skip ci]
### [Version&nbsp;1.45.5](https://github.com/lobehub/lobe-chat/compare/v1.45.4...v1.45.5)
<sup>Released on **2025-01-09**</sup>

#### 🐛 Bug Fixes

- **misc**: Revert officeparser.

<br/>

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

#### What's fixed

* **misc**: Revert officeparser, closes [#5370](https://github.com/lobehub/lobe-chat/issues/5370) ([ea116c2](https://github.com/lobehub/lobe-chat/commit/ea116c2))

</details>

<div align="right">

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

</div>
2025-01-09 08:58:58 +00:00
CanisMinor ea116c28ea 🔧 fix: Revert officeparser (#5370) 2025-01-09 16:50:38 +08:00
semantic-release-bot da0e8a8cb0 🔖 chore(release): v1.45.4 [skip ci]
### [Version&nbsp;1.45.4](https://github.com/lobehub/lobe-chat/compare/v1.45.3...v1.45.4)
<sup>Released on **2025-01-09**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix GitHub and huggingface provider config unusable.

<br/>

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

#### What's fixed

* **misc**: Fix GitHub and huggingface provider config unusable, closes [#5366](https://github.com/lobehub/lobe-chat/issues/5366) ([aec67b4](https://github.com/lobehub/lobe-chat/commit/aec67b4))

</details>

<div align="right">

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

</div>
2025-01-09 07:09:01 +00:00
Arvin Xu aec67b4c5f 🐛 fix: fix GitHub and huggingface provider config unusable (#5366) 2025-01-09 15:00:24 +08:00
semantic-release-bot dc15d0023c 🔖 chore(release): v1.45.3 [skip ci]
### [Version&nbsp;1.45.3](https://github.com/lobehub/lobe-chat/compare/v1.45.2...v1.45.3)
<sup>Released on **2025-01-09**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix some ai provider known issues.

<br/>

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

#### What's fixed

* **misc**: Fix some ai provider known issues, closes [#5361](https://github.com/lobehub/lobe-chat/issues/5361) ([b2775b5](https://github.com/lobehub/lobe-chat/commit/b2775b5))

</details>

<div align="right">

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

</div>
2025-01-09 05:29:12 +00:00
Arvin Xu b2775b571b 🐛 fix: fix some ai provider known issues (#5361)
* fix provider url

* improve fetch model list issue

* fix builtin model sort and displayName

* fix user enabled models

* fix model name

* fix model displayName name
2025-01-09 13:20:46 +08:00
semantic-release-bot 4a49bc7009 🔖 chore(release): v1.45.2 [skip ci]
### [Version&nbsp;1.45.2](https://github.com/lobehub/lobe-chat/compare/v1.45.1...v1.45.2)
<sup>Released on **2025-01-09**</sup>

#### 💄 Styles

- **misc**: Update siliconcloud model list.

<br/>

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

#### Styles

* **misc**: Update siliconcloud model list, closes [#5360](https://github.com/lobehub/lobe-chat/issues/5360) ([69085ac](https://github.com/lobehub/lobe-chat/commit/69085ac))

</details>

<div align="right">

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

</div>
2025-01-09 04:53:08 +00:00
LovelyGuYiMeng 69085acfd1 💄 style: Update siliconcloud model list (#5360)
* Update siliconcloud.ts

* Update siliconcloud.ts
2025-01-09 12:44:48 +08:00
semantic-release-bot 552d3fbfa7 🔖 chore(release): v1.45.1 [skip ci]
### [Version&nbsp;1.45.1](https://github.com/lobehub/lobe-chat/compare/v1.45.0...v1.45.1)
<sup>Released on **2025-01-09**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix remark gfm regex breaks in Safari versions < 16.4.

<br/>

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

#### What's fixed

* **misc**: Fix remark gfm regex breaks in Safari versions < 16.4, closes [#5357](https://github.com/lobehub/lobe-chat/issues/5357) ([9086570](https://github.com/lobehub/lobe-chat/commit/9086570))

</details>

<div align="right">

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

</div>
2025-01-09 04:34:44 +00:00
Arvin Xu 90865706cc 🐛 fix: fix remark gfm regex breaks in Safari versions < 16.4 (#5357)
* fix build

* fix build
2025-01-09 12:26:19 +08:00
lobehubbot f50b8de2a0 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-08 13:42:52 +00:00
semantic-release-bot f05225046c 🔖 chore(release): v1.45.0 [skip ci]
## [Version&nbsp;1.45.0](https://github.com/lobehub/lobe-chat/compare/v1.44.3...v1.45.0)
<sup>Released on **2025-01-08**</sup>

####  Features

- **misc**: Update Remark.

<br/>

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

#### What's improved

* **misc**: Update Remark, closes [#5340](https://github.com/lobehub/lobe-chat/issues/5340) ([2c3331a](https://github.com/lobehub/lobe-chat/commit/2c3331a))

</details>

<div align="right">

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

</div>
2025-01-08 13:41:47 +00:00
CanisMinor 2c3331a591 feat: Update Remark (#5340)
*  feat: Update Remark

* 📝 docs: Update seo

* 🔧 chore: Fix deps

* 🔧 chore: Update ui version

* 📝 docs: Update docs

*  feat: Update @lobehub/ui to 1.163.0
2025-01-08 21:32:57 +08:00
lobehubbot 45aac54df6 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-08 09:52:03 +00:00
semantic-release-bot 35c459c33d 🔖 chore(release): v1.44.3 [skip ci]
### [Version&nbsp;1.44.3](https://github.com/lobehub/lobe-chat/compare/v1.44.2...v1.44.3)
<sup>Released on **2025-01-08**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix provider enabled issue.

<br/>

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

#### What's fixed

* **misc**: Fix provider enabled issue, closes [#5337](https://github.com/lobehub/lobe-chat/issues/5337) ([8e0b634](https://github.com/lobehub/lobe-chat/commit/8e0b634))

</details>

<div align="right">

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

</div>
2025-01-08 09:50:59 +00:00
Arvin Xu 8e0b634505 🐛 fix: fix provider enabled issue (#5337) 2025-01-08 17:42:25 +08:00
lobehubbot 62ba16b116 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-08 04:43:25 +00:00
semantic-release-bot 90e0198cab 🔖 chore(release): v1.44.2 [skip ci]
### [Version&nbsp;1.44.2](https://github.com/lobehub/lobe-chat/compare/v1.44.1...v1.44.2)
<sup>Released on **2025-01-08**</sup>

#### 🐛 Bug Fixes

- **misc**: Add provider id validate.

<br/>

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

#### What's fixed

* **misc**: Add provider id validate, closes [#5336](https://github.com/lobehub/lobe-chat/issues/5336) ([7f8a1b6](https://github.com/lobehub/lobe-chat/commit/7f8a1b6))

</details>

<div align="right">

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

</div>
2025-01-08 04:42:22 +00:00
Arvin Xu 7f8a1b6ea4 🐛 fix: add provider id validate (#5336)
* fix loading issue

* fix provider id issue
2025-01-08 12:33:39 +08:00
lobehubbot 0578d6dc6c 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-08 02:31:24 +00:00
semantic-release-bot 19c426b3d8 🔖 chore(release): v1.44.1 [skip ci]
### [Version&nbsp;1.44.1](https://github.com/lobehub/lobe-chat/compare/v1.44.0...v1.44.1)
<sup>Released on **2025-01-08**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix model select not auto update and sort issue.

<br/>

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

#### What's fixed

* **misc**: Fix model select not auto update and sort issue, closes [#5330](https://github.com/lobehub/lobe-chat/issues/5330) ([dc76d6f](https://github.com/lobehub/lobe-chat/commit/dc76d6f))

</details>

<div align="right">

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

</div>
2025-01-08 02:30:25 +00:00
Arvin Xu dc76d6f8fc 🐛 fix: fix model select not auto update and sort issue (#5330) 2025-01-08 10:21:58 +08:00
lobehubbot 6f3331d462 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-07 16:36:57 +00:00
semantic-release-bot 61056f2d19 🔖 chore(release): v1.44.0 [skip ci]
## [Version&nbsp;1.44.0](https://github.com/lobehub/lobe-chat/compare/v1.43.6...v1.44.0)
<sup>Released on **2025-01-07**</sup>

####  Features

- **misc**: Brand new AI provider.

<br/>

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

#### What's improved

* **misc**: Brand new AI provider, closes [#5158](https://github.com/lobehub/lobe-chat/issues/5158) ([bde6d64](https://github.com/lobehub/lobe-chat/commit/bde6d64))

</details>

<div align="right">

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

</div>
2025-01-07 16:35:36 +00:00
Arvin Xu bde6d64fa4 feat: brand new AI provider (#5158)
*  feat: 完成 ai provider 部分的新增、menu 列表、卡片列表与开启关闭,支持 model 开关,并优化列表展示,支持 model 拉取。完成 ai models 新增和修改逻辑、排序完整实现,优化开关体验,完成 chat model select 实现。完成 provider 的配置修改与删除开发

update config

fix

add sdk type

fix toggle search issue

improve enable

优化模型开关操作体验

feat: 完成 chat model select 部分实现

fix auth

兼容 client db 废弃模式

fix test

完成 provider 的配置修改与删除开发

clean

* 修正未登录态的数据

* fix db sql

* fix lint

* update

* improve loading

* improve model list empty state
2025-01-08 00:26:55 +08:00
sinsu1004 b603d002ac 📝 docs: fix incorrect casdoor password information in self-hosting guide (#5310) 2025-01-07 20:25:51 +08:00
lobehubbot 933d5c4f75 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-07 12:22:32 +00:00
semantic-release-bot 05b4168255 🔖 chore(release): v1.43.6 [skip ci]
### [Version&nbsp;1.43.6](https://github.com/lobehub/lobe-chat/compare/v1.43.5...v1.43.6)
<sup>Released on **2025-01-07**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix portal suspense error when first open.

<br/>

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

#### What's fixed

* **misc**: Fix portal suspense error when first open, closes [#5322](https://github.com/lobehub/lobe-chat/issues/5322) ([0d4c487](https://github.com/lobehub/lobe-chat/commit/0d4c487))

</details>

<div align="right">

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

</div>
2025-01-07 12:21:28 +00:00
Arvin Xu 0d4c48752d 🐛 fix: fix portal suspense error when first open (#5322) 2025-01-07 20:12:55 +08:00
lobehubbot 758ade2247 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-07 09:00:59 +00:00
semantic-release-bot 61b6ac1abd 🔖 chore(release): v1.43.5 [skip ci]
### [Version&nbsp;1.43.5](https://github.com/lobehub/lobe-chat/compare/v1.43.4...v1.43.5)
<sup>Released on **2025-01-07**</sup>

#### 💄 Styles

- **misc**: Fix style warning in antd 5.23.0 and some error logs.

<br/>

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

#### Styles

* **misc**: Fix style warning in antd 5.23.0 and some error logs, closes [#5319](https://github.com/lobehub/lobe-chat/issues/5319) ([4fcf5d6](https://github.com/lobehub/lobe-chat/commit/4fcf5d6))

</details>

<div align="right">

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

</div>
2025-01-07 09:00:02 +00:00
CanisMinor 4fcf5d6532 💄 style: Fix style warning in antd 5.23.0 and some error logs (#5319)
* 💄 style: Fix style problem in antd 5.23.0

* 💄 style: Fix props

* 🔧 chore: Revert some change

* 🔧 chore: Revert some change

* 🔧 chore: Remove shiki from deps
2025-01-07 16:51:51 +08:00
lobehubbot 20f28092c6 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-06 02:04:25 +00:00
semantic-release-bot adc64b9ec3 🔖 chore(release): v1.43.4 [skip ci]
### [Version&nbsp;1.43.4](https://github.com/lobehub/lobe-chat/compare/v1.43.3...v1.43.4)
<sup>Released on **2025-01-06**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix format short number.

<br/>

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

#### What's fixed

* **misc**: Fix format short number, closes [#5294](https://github.com/lobehub/lobe-chat/issues/5294) ([d8a29ec](https://github.com/lobehub/lobe-chat/commit/d8a29ec))

</details>

<div align="right">

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

</div>
2025-01-06 02:03:29 +00:00
Arvin Xu d8a29ecc8c 🐛 fix: fix format short number (#5294)
* pin pdfjs dist

* refactor

* fix number format

* Revert "pin pdfjs dist"

This reverts commit 1a2eae1494d2355c0354dd44b1af767a77c8a548.

* fix

* fix

* fix
2025-01-06 09:55:19 +08:00
lobehubbot 89a60e3e19 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-04 13:47:41 +00:00
semantic-release-bot a6d41a7be1 🔖 chore(release): v1.43.3 [skip ci]
### [Version&nbsp;1.43.3](https://github.com/lobehub/lobe-chat/compare/v1.43.2...v1.43.3)
<sup>Released on **2025-01-04**</sup>

#### ♻ Code Refactoring

- **misc**: Upgrade `@clerk/nextjs` to v6.

<br/>

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

#### Code refactoring

* **misc**: Upgrade `@clerk/nextjs` to v6, closes [#5291](https://github.com/lobehub/lobe-chat/issues/5291) ([de09895](https://github.com/lobehub/lobe-chat/commit/de09895))

</details>

<div align="right">

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

</div>
2025-01-04 13:46:42 +00:00
Arvin Xu de09895557 ♻️ refactor: upgrade @clerk/nextjs to v6 (#5291) 2025-01-04 21:38:23 +08:00
lobehubbot 9300399191 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-04 12:30:05 +00:00
semantic-release-bot cda324dfe2 🔖 chore(release): v1.43.2 [skip ci]
### [Version&nbsp;1.43.2](https://github.com/lobehub/lobe-chat/compare/v1.43.1...v1.43.2)
<sup>Released on **2025-01-04**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix heatmap and manifest.

<br/>

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

#### What's fixed

* **misc**: Fix heatmap and manifest, closes [#5289](https://github.com/lobehub/lobe-chat/issues/5289) ([3973249](https://github.com/lobehub/lobe-chat/commit/3973249))

</details>

<div align="right">

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

</div>
2025-01-04 12:29:06 +00:00
Arvin Xu 932114ebc9 ️ perf: improve auth page performance (#5287) 2025-01-04 20:20:49 +08:00
CanisMinor 397324999a 🐛 fix: Fix heatmap and manifest (#5289)
* 🐛 fix: Fix heatmap and manifest

* 📝 docs: Update changelog

*  test: Fix test

*  test: Fix test

*  test: Fix test
2025-01-04 20:20:31 +08:00
lobehubbot 0280c1d954 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-03 17:36:00 +00:00
semantic-release-bot 1cc68eea5d 🔖 chore(release): v1.43.1 [skip ci]
### [Version&nbsp;1.43.1](https://github.com/lobehub/lobe-chat/compare/v1.43.0...v1.43.1)
<sup>Released on **2025-01-03**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix stats data query issue.

<br/>

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

#### What's fixed

* **misc**: Fix stats data query issue, closes [#5283](https://github.com/lobehub/lobe-chat/issues/5283) ([f3fdee7](https://github.com/lobehub/lobe-chat/commit/f3fdee7))

</details>

<div align="right">

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

</div>
2025-01-03 17:35:01 +00:00
Arvin Xu f3fdee75a5 🐛 fix: fix stats data query issue (#5283)
* update locale

* fix: fix user id query

* fix

* fix modal text
2025-01-04 01:26:39 +08:00
lobehubbot bb23f5866e 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-03 15:39:17 +00:00
semantic-release-bot 2770820d2a 🔖 chore(release): v1.43.0 [skip ci]
## [Version&nbsp;1.43.0](https://github.com/lobehub/lobe-chat/compare/v1.42.6...v1.43.0)
<sup>Released on **2025-01-03**</sup>

####  Features

- **misc**: Add User Stats and Refactor Profile.

#### 🐛 Bug Fixes

- **misc**: Fix chat page error.

<br/>

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

#### What's improved

* **misc**: Add User Stats and Refactor Profile, closes [#5149](https://github.com/lobehub/lobe-chat/issues/5149) ([cbc219c](https://github.com/lobehub/lobe-chat/commit/cbc219c))

#### What's fixed

* **misc**: Fix chat page error, closes [#5280](https://github.com/lobehub/lobe-chat/issues/5280) ([315e626](https://github.com/lobehub/lobe-chat/commit/315e626))

</details>

<div align="right">

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

</div>
2025-01-03 15:38:09 +00:00
Arvin Xu 315e62645e 🐛 fix: fix chat page error (#5280) 2025-01-03 23:29:45 +08:00
Arvin Xu d88800cc95 🔨 chore: fix changelog index.json (#5279) 2025-01-03 23:23:03 +08:00
CanisMinor cbc219cd07 feat: add User Stats and Refactor Profile (#5149)
* ♻️ refactor: Refactor Profile

*  test: Fix test

*  feat: Update nextAuth profile

* ♻️ refactor: Refactor hook

* 💄 style: Update style

*  test: Fix test

* 💄 style: Update sats services

* ♻️ refactor: Server service arrow function

*  feat: Add Rank

* ♻️ refactor: rebase

* ♻️ refactor: rebase

*  feat: Add heatmap

* ♻️ refactor: refactor to support upload user profile in next-auth

* 💄 style: Update Stats style

* 📝 docs: Update i18n

* Revert "♻️ refactor: refactor to support upload user profile in next-auth"

This reverts commit d479ec375efef7671d7751524a014c040657a7d7.

*  feat: Add Welcome

* 💄 style: Update stats style

* 💄 style: Update stats style

*  feat: Add Share Modal

* 🔧 chore: Update i18n

* upgrade

* upgrade

* 💄 style: Update Share style

*  test: Fix test

* 💄 style: Update Modal Loading

*  feat: Add Model Usage Rank

* add test and fix some

* 🐛 fix: Fix Valid Date

* 🐛 fix: Fix test

*  test: Fix rank order

* 🐛 fix: Fix mobile

* 💄 style: Update BrandLoading

* 💄 style: Update moible AiHeatmaps style

* 💄 style: Add Inbox

* 📝 docs: Add Changelog

* 📝 docs: Fix typo

*  test: Fix test

* 📝 docs: Update Changelog

* fix

---------

Co-authored-by: arvinxx <arvinx@foxmail.com>
2025-01-03 23:17:07 +08:00
Arvin Xu 301a945251 🔨 chore: improve server error log (#5275)
* improve error log

* Update index.ts
2025-01-03 22:17:01 +08:00
lobehubbot 843e7f57e8 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-03 05:59:54 +00:00
semantic-release-bot 214aa1070a 🔖 chore(release): v1.42.6 [skip ci]
### [Version&nbsp;1.42.6](https://github.com/lobehub/lobe-chat/compare/v1.42.5...v1.42.6)
<sup>Released on **2025-01-03**</sup>

#### ♻ Code Refactoring

- **misc**: Fix zero-sized element in topic list.

<br/>

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

#### Code refactoring

* **misc**: Fix zero-sized element in topic list, closes [#5272](https://github.com/lobehub/lobe-chat/issues/5272) ([3e300c4](https://github.com/lobehub/lobe-chat/commit/3e300c4))

</details>

<div align="right">

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

</div>
2025-01-03 05:58:58 +00:00
Arvin Xu 3e300c4f46 ♻️ refactor: fix zero-sized element in topic list (#5272)
* fix

* fix

* fix
2025-01-03 13:50:45 +08:00
lobehubbot 40044a09aa 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-02 15:25:55 +00:00
semantic-release-bot 2e3757bb65 🔖 chore(release): v1.42.5 [skip ci]
### [Version&nbsp;1.42.5](https://github.com/lobehub/lobe-chat/compare/v1.42.4...v1.42.5)
<sup>Released on **2025-01-02**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix topic mobile view ui error.

<br/>

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

#### What's fixed

* **misc**: Fix topic mobile view ui error, closes [#5266](https://github.com/lobehub/lobe-chat/issues/5266) ([421a1b3](https://github.com/lobehub/lobe-chat/commit/421a1b3))

</details>

<div align="right">

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

</div>
2025-01-02 15:24:54 +00:00
Zhijie He 421a1b31c2 🐛 fix: fix topic mobile view ui error (#5266) 2025-01-02 23:16:23 +08:00
lobehubbot 399220d805 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-02 13:30:26 +00:00
semantic-release-bot bc8b586d11 🔖 chore(release): v1.42.4 [skip ci]
### [Version&nbsp;1.42.4](https://github.com/lobehub/lobe-chat/compare/v1.42.3...v1.42.4)
<sup>Released on **2025-01-02**</sup>

#### ♻ Code Refactoring

- **misc**: Refactor provider info and improve settings side bar loading.

<br/>

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

#### Code refactoring

* **misc**: Refactor provider info and improve settings side bar loading, closes [#5268](https://github.com/lobehub/lobe-chat/issues/5268) ([b82a41e](https://github.com/lobehub/lobe-chat/commit/b82a41e))

</details>

<div align="right">

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

</div>
2025-01-02 13:29:28 +00:00
Arvin Xu b82a41e6c9 ♻️ refactor: refactor provider info and improve settings side bar loading (#5268)
* refactor provider info

* fix loading

* fix ollama models

* fix loading
2025-01-02 21:21:19 +08:00
lobehubbot 708494089f 📝 docs(bot): Auto sync agents & plugin to readme 2025-01-01 08:12:14 +00:00
semantic-release-bot 8a8e8c6d8b 🔖 chore(release): v1.42.3 [skip ci]
### [Version&nbsp;1.42.3](https://github.com/lobehub/lobe-chat/compare/v1.42.2...v1.42.3)
<sup>Released on **2025-01-01**</sup>

<br/>

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

</details>

<div align="right">

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

</div>
2025-01-01 08:11:18 +00:00
Arvin Xu 641420bcba 👷 build: update i18n and fix docker build (#5253) 2025-01-01 16:02:59 +08:00
lobehubbot 6e8c961321 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-31 17:33:19 +00:00
semantic-release-bot 8473011e20 🔖 chore(release): v1.42.2 [skip ci]
### [Version&nbsp;1.42.2](https://github.com/lobehub/lobe-chat/compare/v1.42.1...v1.42.2)
<sup>Released on **2024-12-31**</sup>

#### ♻ Code Refactoring

- **misc**: Refactor the agent runtime payload.

#### 💄 Styles

- **misc**: Add o1 model in openai and openrouter models.

<br/>

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

#### Code refactoring

* **misc**: Refactor the agent runtime payload, closes [#5250](https://github.com/lobehub/lobe-chat/issues/5250) ([e420ab3](https://github.com/lobehub/lobe-chat/commit/e420ab3))

#### Styles

* **misc**: Add o1 model in openai and openrouter models, closes [#5236](https://github.com/lobehub/lobe-chat/issues/5236) ([f733852](https://github.com/lobehub/lobe-chat/commit/f733852))

</details>

<div align="right">

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

</div>
2024-12-31 17:32:11 +00:00
Lumia f733852a72 💄 style: Add o1 model in openai and openrouter models (#5236)
* Add o1 model in Openai models

* Add o1 model in Openrouter models

* Update openrouter.ts

* Update modelProvider.test.ts
2025-01-01 01:23:50 +08:00
Arvin Xu e420ab3654 ♻️ refactor: refactor the agent runtime payload (#5250)
* refactor the code

* fix locale

* refactor endpoint to baseURL

* add tests

* fix tests

* fix tests

* Update auth.ts

* update snapshot

* fix tests

* fix tests
2025-01-01 01:23:15 +08:00
renovate[bot] 21b6610c50 Update dependency @types/react-dom to v19 (#5224)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-29 23:09:59 +08:00
lobehubbot 53a226c8ac 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-29 07:04:56 +00:00
semantic-release-bot 7bd259f1b9 🔖 chore(release): v1.42.1 [skip ci]
### [Version&nbsp;1.42.1](https://github.com/lobehub/lobe-chat/compare/v1.42.0...v1.42.1)
<sup>Released on **2024-12-29**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix custom max_token not saved from customModelCards.

<br/>

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

#### What's fixed

* **misc**: Fix custom max_token not saved from customModelCards, closes [#5226](https://github.com/lobehub/lobe-chat/issues/5226) ([ab6d17c](https://github.com/lobehub/lobe-chat/commit/ab6d17c))

</details>

<div align="right">

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

</div>
2024-12-29 07:04:00 +00:00
Zhijie He ab6d17c257 🐛 fix: fix custom max_token not saved from customModelCards (#5226) 2024-12-29 14:55:36 +08:00
lobehubbot 77d107461f 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-29 05:16:08 +00:00
semantic-release-bot 4fa75ac8eb 🔖 chore(release): v1.42.0 [skip ci]
## [Version&nbsp;1.42.0](https://github.com/lobehub/lobe-chat/compare/v1.41.0...v1.42.0)
<sup>Released on **2024-12-29**</sup>

####  Features

- **misc**: Add custom stream handle support for LobeOpenAICompatibleFactory.

<br/>

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

#### What's improved

* **misc**: Add custom stream handle support for LobeOpenAICompatibleFactory, closes [#5039](https://github.com/lobehub/lobe-chat/issues/5039) ([ea7e732](https://github.com/lobehub/lobe-chat/commit/ea7e732))

</details>

<div align="right">

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

</div>
2024-12-29 05:15:04 +00:00
Zhijie He ea7e732350 feat: add custom stream handle support for LobeOpenAICompatibleFactory (#5039)
* ♻️ refactor: add function call support for Spark

* ♻️ refactor: add non-stream mode support

* ️ perf: using stream mode for tools call

*  feat: add `handleStream` & `handleStreamResponse` for LobeOpenAICompatibleFactory, custom stream handle

*  feat: add `handleTtransformResponseToStream` for custom non-stream transform handle

* ♻️ refactor: refactor qwen to LobeOpenAICompatibleFactory, enable `enable_search` for Qwen LLM

* 🔨 chore: add unit test for LobeOpenAICompatibleFactory

* 🔨 chore: add unit test for SparkAIStream

* 🔨 chore: add unit test for Qwen & Spark

* 🐛 fix: fix Qwen param range error

* 🔨 chore: add `QwenLegacyModels` array, limit `presence_penalty`

* 🐛 fix: fix typo
2024-12-29 13:06:52 +08:00
renovate[bot] cf0e8d8b48 Update dependency node-gyp to v11 (#5124)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-29 11:37:30 +08:00
renovate[bot] 584dcbcb2c Update pnpm to v9.15.2 (#5220)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-29 11:29:09 +08:00
lobehubbot 079eaaa496 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-28 17:14:07 +00:00
semantic-release-bot 08f77c985b 🔖 chore(release): v1.41.0 [skip ci]
## [Version&nbsp;1.41.0](https://github.com/lobehub/lobe-chat/compare/v1.40.4...v1.41.0)
<sup>Released on **2024-12-28**</sup>

####  Features

- **auth**: Add WeChat authentication support.
- **misc**: Support white list for discover assistant.

<br/>

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

#### What's improved

* **auth**: Add WeChat authentication support, closes [#5195](https://github.com/lobehub/lobe-chat/issues/5195) ([95153a4](https://github.com/lobehub/lobe-chat/commit/95153a4))
* **misc**: Support white list for discover assistant, closes [#5216](https://github.com/lobehub/lobe-chat/issues/5216) ([90bb20d](https://github.com/lobehub/lobe-chat/commit/90bb20d))

</details>

<div align="right">

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

</div>
2024-12-28 17:13:05 +00:00
Arvin Xu 44ee25c836 ️ perf: improve setting page performance (#5218)
* ️ perf: improve setting page performance

* fix tests
2024-12-29 01:04:59 +08:00
xiangnan 95153a4eba feat(auth): add WeChat authentication support (#5195)
*  feat(auth): add WeChat authentication support

* 🐛 fix(auth): remove WeChat client ID and secret warnings from auth config

* 🐛 fix(auth): remove WeChat client ID and secret from auth config; add WeChat authentication documentation

* 📝 docs(auth): update WeChat authentication documentation with additional environment variables and descriptions

* 📝 docs(auth): update WeChat authentication documentation for clarity and consistency in terminology
2024-12-29 01:04:46 +08:00
Arvin Xu 90bb20d333 feat: support white list for discover assistant (#5216)
*  feat: support white list for discover assistant

* improve error status
2024-12-29 01:04:42 +08:00
lobehubbot 5b0bd683f1 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-28 03:48:53 +00:00
semantic-release-bot 55be82960c 🔖 chore(release): v1.40.4 [skip ci]
### [Version&nbsp;1.40.4](https://github.com/lobehub/lobe-chat/compare/v1.40.3...v1.40.4)
<sup>Released on **2024-12-28**</sup>

#### 💄 Styles

- **misc**: Update deepseek V3 model.

<br/>

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

#### Styles

* **misc**: Update deepseek V3 model, closes [#5199](https://github.com/lobehub/lobe-chat/issues/5199) ([868f556](https://github.com/lobehub/lobe-chat/commit/868f556))

</details>

<div align="right">

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

</div>
2024-12-28 03:47:50 +00:00
PaperPlaneDeemo 868f5560f8 💄 style: Update deepseek V3 model (#5199)
* Update deepseek.ts

Update Deepseek V3 and description from deepseek official WeChat
Pricing has not been updated yet; it needs to be updated in 45 days

* Update deepseek.ts

Update deepseek price
2024-12-28 11:39:30 +08:00
renovate[bot] 0533150f58 Update dependency chroma-js to v3 (#3502)
* Update dependency chroma-js to v3

* Update package.json

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Arvin Xu <arvinx@foxmail.com>
2024-12-26 21:37:00 +08:00
lobehubbot 4f43d2fab9 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-26 12:44:56 +00:00
semantic-release-bot 835489cd24 🔖 chore(release): v1.40.3 [skip ci]
### [Version&nbsp;1.40.3](https://github.com/lobehub/lobe-chat/compare/v1.40.2...v1.40.3)
<sup>Released on **2024-12-26**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix fetch error in changelog modal.

<br/>

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

#### What's fixed

* **misc**: Fix fetch error in changelog modal, closes [#5194](https://github.com/lobehub/lobe-chat/issues/5194) ([e9433be](https://github.com/lobehub/lobe-chat/commit/e9433be))

</details>

<div align="right">

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

</div>
2024-12-26 12:43:51 +00:00
Arvin Xu e9433bee2b 🐛 fix: fix fetch error in changelog modal (#5194)
* 💄 style: fix loading

* 🐛 fix: fix changelog error

* style: support changelog feature flag

* fix tests
2024-12-26 20:35:39 +08:00
CanisMinor 50e0dc4a5a test: Fix changelog test (#5190) 2024-12-26 15:50:14 +08:00
CanisMinor 5ad66a644b 🐛 fix: Fix changelog fetch fail (fix #5187) (#5189) 2024-12-26 15:23:50 +08:00
lobehubbot 26216cebdf 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-26 06:44:38 +00:00
semantic-release-bot bda986c3c5 🔖 chore(release): v1.40.2 [skip ci]
### [Version&nbsp;1.40.2](https://github.com/lobehub/lobe-chat/compare/v1.40.1...v1.40.2)
<sup>Released on **2024-12-26**</sup>

#### ♻ Code Refactoring

- **misc**: Refactor `tokens` to `contextWindowTokens`.

<br/>

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

#### Code refactoring

* **misc**: Refactor `tokens` to `contextWindowTokens`, closes [#5185](https://github.com/lobehub/lobe-chat/issues/5185) ([a2aa99a](https://github.com/lobehub/lobe-chat/commit/a2aa99a))

</details>

<div align="right">

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

</div>
2024-12-26 06:43:39 +00:00
Arvin Xu a2aa99a8c8 ♻️ refactor: refactor tokens to contextWindowTokens (#5185)
* refactor

* fix test
2024-12-26 14:35:30 +08:00
lobehubbot 6460378364 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-26 05:01:58 +00:00
semantic-release-bot b3247f4125 🔖 chore(release): v1.40.1 [skip ci]
### [Version&nbsp;1.40.1](https://github.com/lobehub/lobe-chat/compare/v1.40.0...v1.40.1)
<sup>Released on **2024-12-26**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix o1Models list.

<br/>

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

#### What's fixed

* **misc**: Fix o1Models list, closes [#5183](https://github.com/lobehub/lobe-chat/issues/5183) ([10d9904](https://github.com/lobehub/lobe-chat/commit/10d9904))

</details>

<div align="right">

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

</div>
2024-12-26 05:00:59 +00:00
𝑾𝒖𝒙𝒉 08a7bb734d 💄 style: Support shortcut keys to open session settings (#5178) 2024-12-26 12:52:45 +08:00
BrandonStudio 10d9904e71 🐛 fix: fix o1Models list (#5183) 2024-12-26 12:51:13 +08:00
lobehubbot d5bb78ba9f 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-26 03:12:07 +00:00
semantic-release-bot 0602aafc90 🔖 chore(release): v1.40.0 [skip ci]
## [Version&nbsp;1.40.0](https://github.com/lobehub/lobe-chat/compare/v1.39.3...v1.40.0)
<sup>Released on **2024-12-26**</sup>

#### ♻ Code Refactoring

- **misc**: Refactor services code style.

####  Features

- **misc**: Add changelog modal.

<br/>

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

#### Code refactoring

* **misc**: Refactor services code style, closes [#5180](https://github.com/lobehub/lobe-chat/issues/5180) ([e98ece8](https://github.com/lobehub/lobe-chat/commit/e98ece8))

#### What's improved

* **misc**: Add changelog modal, closes [#4800](https://github.com/lobehub/lobe-chat/issues/4800) ([df3ac87](https://github.com/lobehub/lobe-chat/commit/df3ac87))

</details>

<div align="right">

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

</div>
2024-12-26 03:11:07 +00:00
CanisMinor e98ece80f0 ♻️ refactor: Refactor services code style (#5180)
* ♻️ refactor: Refactor services code style

*  test: Fix test

* 🐛 fix: Fix review problem
2024-12-26 11:03:05 +08:00
CanisMinor df3ac87bb3 feat: Add changelog modal (#4800)
*  feat: Add changelog modal

* 💄 style: Update changelog style

*  test: Add test

* 🔧 chore: Add CDN workflow

*  test: Fix test

*  test: Fix test

* 📝 docs: Update changelog

* 📝 docs: Update cdn

* refactor version

* feat: 实现 changelog 初始化入口,新增后端应用层状态初始化入口

* 🐛 fix: Fix useCheckLatestChangelogId

* 🔧 chore: Update types

* 🐛 fix: Fix lint

* upgrade

*  feat: Update env

* 🔧 chore: Rename DOC_S3 env

*  test: Update test

* 👷 ci: Fix build lint error

* ♻️ refactor: Refactor models

* 💄 style: Add feature flag

*  test: Fix test

* 💄 style: Rm mobile modal

* 💄 style: Update canonical url

---------

Co-authored-by: arvinxx <arvinx@foxmail.com>
2024-12-26 11:02:47 +08:00
lobehubbot 95248dcde2 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-25 05:15:00 +00:00
semantic-release-bot e40c39875b 🔖 chore(release): v1.39.3 [skip ci]
### [Version&nbsp;1.39.3](https://github.com/lobehub/lobe-chat/compare/v1.39.2...v1.39.3)
<sup>Released on **2024-12-25**</sup>

#### 💄 Styles

- **misc**: Improve loading brand.

<br/>

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

#### Styles

* **misc**: Improve loading brand, closes [#5165](https://github.com/lobehub/lobe-chat/issues/5165) ([9684c98](https://github.com/lobehub/lobe-chat/commit/9684c98))

</details>

<div align="right">

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

</div>
2024-12-25 05:14:03 +00:00
Arvin Xu 9684c986bc 💄 style: improve loading brand (#5165)
* 测试 ppr

* fix

* fix loading on home

* fix style

* fix

* fix

* fix type

* try to fix

* fix

* Delete src/app/(main)/chat/@session/loading.tsx

* refactor

* fix setting layout

* fix loading style

* fix import

* Update loading.tsx

* fix lint
2024-12-25 13:05:38 +08:00
lobehubbot d73e889022 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-25 03:49:35 +00:00
semantic-release-bot 121abab36e 🔖 chore(release): v1.39.2 [skip ci]
### [Version&nbsp;1.39.2](https://github.com/lobehub/lobe-chat/compare/v1.39.1...v1.39.2)
<sup>Released on **2024-12-25**</sup>

#### ♻ Code Refactoring

- **misc**: Refactor sensenova provider with LobeOpenAICompatibleFactory.

<br/>

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

#### Code refactoring

* **misc**: Refactor sensenova provider with LobeOpenAICompatibleFactory, closes [#5116](https://github.com/lobehub/lobe-chat/issues/5116) ([5656f39](https://github.com/lobehub/lobe-chat/commit/5656f39))

</details>

<div align="right">

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

</div>
2024-12-25 03:48:38 +00:00
Zhijie He 5656f39999 ♻️ refactor: refactor sensenova provider with LobeOpenAICompatibleFactory (#5116) 2024-12-25 11:40:20 +08:00
lobehubbot 13f1eb4cda 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-24 11:41:30 +00:00
semantic-release-bot 26f6b8486d 🔖 chore(release): v1.39.1 [skip ci]
### [Version&nbsp;1.39.1](https://github.com/lobehub/lobe-chat/compare/v1.39.0...v1.39.1)
<sup>Released on **2024-12-24**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix image input on pglite.

<br/>

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

#### What's fixed

* **misc**: Fix image input on pglite, closes [#5167](https://github.com/lobehub/lobe-chat/issues/5167) ([5c5b37d](https://github.com/lobehub/lobe-chat/commit/5c5b37d))

</details>

<div align="right">

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

</div>
2024-12-24 11:40:30 +00:00
Arvin Xu 5c5b37d717 🐛 fix: fix image input on pglite (#5167) 2024-12-24 19:32:21 +08:00
lobehubbot df0e0aa544 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-23 16:26:50 +00:00
semantic-release-bot 968073860c 🔖 chore(release): v1.39.0 [skip ci]
## [Version&nbsp;1.39.0](https://github.com/lobehub/lobe-chat/compare/v1.38.0...v1.39.0)
<sup>Released on **2024-12-23**</sup>

####  Features

- **misc**: Upgrade to next15 and react19.

<br/>

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

#### What's improved

* **misc**: Upgrade to next15 and react19, closes [#4450](https://github.com/lobehub/lobe-chat/issues/4450) ([07d7417](https://github.com/lobehub/lobe-chat/commit/07d7417))

</details>

<div align="right">

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

</div>
2024-12-23 16:25:51 +00:00
Arvin Xu 07d74170e4 feat: upgrade to next15 and react19 (#4450)
* ♻️ refactor: upgrade next to 15

* refactor to serverExternalPackages
2024-12-24 00:17:37 +08:00
renovate[bot] 4f6d8fc5b3 Update dependency @anthropic-ai/sdk to ^0.33.0 (#5123)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-23 16:57:02 +08:00
lobehubbot 8b107f4ff2 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-23 08:45:26 +00:00
semantic-release-bot 2a3d19f8cc 🔖 chore(release): v1.38.0 [skip ci]
## [Version&nbsp;1.38.0](https://github.com/lobehub/lobe-chat/compare/v1.37.2...v1.38.0)
<sup>Released on **2024-12-23**</sup>

####  Features

- **misc**: Support thread in client pglite.

<br/>

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

#### What's improved

* **misc**: Support thread in client pglite, closes [#5150](https://github.com/lobehub/lobe-chat/issues/5150) ([848b29f](https://github.com/lobehub/lobe-chat/commit/848b29f))

</details>

<div align="right">

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

</div>
2024-12-23 08:44:29 +00:00
Arvin Xu 848b29ffc6 feat: support thread in client pglite (#5150) 2024-12-23 16:36:13 +08:00
lobehubbot 3bb0d32fbd 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-22 13:00:02 +00:00
semantic-release-bot bd5d43601c 🔖 chore(release): v1.37.2 [skip ci]
### [Version&nbsp;1.37.2](https://github.com/lobehub/lobe-chat/compare/v1.37.1...v1.37.2)
<sup>Released on **2024-12-22**</sup>

#### ♻ Code Refactoring

- **misc**: Move pglite to client service.

<br/>

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

#### Code refactoring

* **misc**: Move pglite to client service, closes [#5133](https://github.com/lobehub/lobe-chat/issues/5133) ([c2ded24](https://github.com/lobehub/lobe-chat/commit/c2ded24))

</details>

<div align="right">

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

</div>
2024-12-22 12:59:05 +00:00
Arvin Xu c2ded24e1e ♻️ refactor: move pglite to client service (#5133)
* update locale

* update locale

* refactor the service name
2024-12-22 20:50:40 +08:00
lobehubbot 5f5ac9e548 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-22 10:05:16 +00:00
semantic-release-bot b301291500 🔖 chore(release): v1.37.1 [skip ci]
### [Version&nbsp;1.37.1](https://github.com/lobehub/lobe-chat/compare/v1.37.0...v1.37.1)
<sup>Released on **2024-12-22**</sup>

#### ♻ Code Refactoring

- **misc**: Refactor the client service to deprecated.

<br/>

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

#### Code refactoring

* **misc**: Refactor the client service to deprecated, closes [#5132](https://github.com/lobehub/lobe-chat/issues/5132) ([e603234](https://github.com/lobehub/lobe-chat/commit/e603234))

</details>

<div align="right">

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

</div>
2024-12-22 10:04:21 +00:00
Arvin Xu e603234800 ♻️ refactor: refactor the client service to deprecated (#5132) 2024-12-22 17:56:12 +08:00
lobehubbot 50cef981ef 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-22 09:29:35 +00:00
semantic-release-bot 4cc4a74bad 🔖 chore(release): v1.37.0 [skip ci]
## [Version&nbsp;1.37.0](https://github.com/lobehub/lobe-chat/compare/v1.36.46...v1.37.0)
<sup>Released on **2024-12-22**</sup>

####  Features

- **misc**: Support to use pglite as client db.

<br/>

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

#### What's improved

* **misc**: Support to use pglite as client db, closes [#4873](https://github.com/lobehub/lobe-chat/issues/4873) ([4131f20](https://github.com/lobehub/lobe-chat/commit/4131f20))

</details>

<div align="right">

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

</div>
2024-12-22 09:28:33 +00:00
Arvin Xu 4131f20583 feat: support to use pglite as client db (#4873)
*  feat: pglite 迁移实现

refactor modal name

pin pglite@0.2.13

add serverExternalPackages for pglite

fix tests

update model

remove migration

back previous test file

* 💚 build: fix build with ReactScan

* clean

* refactor with isDBinit

* fix test
2024-12-22 17:20:19 +08:00
Arvin Xu dba432fbdd ♻️ chore: add init client db code (#5127) 2024-12-22 13:33:59 +08:00
lobehubbot 5677e89aff 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-22 02:37:32 +00:00
renovate[bot] 90aca22b3c Update pnpm to v9.15.1 (#5122)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-22 10:29:40 +08:00
lobehubbot b1eedbdf3a 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-21 13:40:18 +00:00
semantic-release-bot d2ed83a03e 🔖 chore(release): v1.36.46 [skip ci]
### [Version&nbsp;1.36.46](https://github.com/lobehub/lobe-chat/compare/v1.36.45...v1.36.46)
<sup>Released on **2024-12-21**</sup>

#### ♻ Code Refactoring

- **misc**: Refactor client mode upload to match server mode.

<br/>

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

#### Code refactoring

* **misc**: Refactor client mode upload to match server mode, closes [#5111](https://github.com/lobehub/lobe-chat/issues/5111) ([0361ced](https://github.com/lobehub/lobe-chat/commit/0361ced))

</details>

<div align="right">

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

</div>
2024-12-21 13:39:23 +00:00
Arvin Xu 0361ced7c2 ♻️ refactor: refactor client mode upload to match server mode (#5111)
* ♻️ refactor: refactor upload method

* fix tests

*  test: add tests

* 🐛 fix: fix image
2024-12-21 21:31:42 +08:00
semantic-release-bot 9c51c689ec 🔖 chore(release): v1.36.45 [skip ci]
### [Version&nbsp;1.36.45](https://github.com/lobehub/lobe-chat/compare/v1.36.44...v1.36.45)
<sup>Released on **2024-12-21**</sup>

#### 💄 Styles

- **misc**: Add o1 model in GitHub models.

<br/>

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

#### Styles

* **misc**: Add o1 model in GitHub models, closes [#5110](https://github.com/lobehub/lobe-chat/issues/5110) ([91dc5d7](https://github.com/lobehub/lobe-chat/commit/91dc5d7))

</details>

<div align="right">

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

</div>
2024-12-21 13:30:58 +00:00
sxjeru 91dc5d7fd2 💄 style: Add o1 model in GitHub models (#5110) 2024-12-21 21:22:48 +08:00
Yuki decd129c4a 📝 docs: add troubleshooting for logto (#5114) 2024-12-21 20:35:14 +08:00
lobehubbot 9159ab3a2d 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-21 11:50:23 +00:00
semantic-release-bot 71cd78401e 🔖 chore(release): v1.36.44 [skip ci]
### [Version&nbsp;1.36.44](https://github.com/lobehub/lobe-chat/compare/v1.36.43...v1.36.44)
<sup>Released on **2024-12-21**</sup>

#### 💄 Styles

- **misc**: Add Gemini flash thinking model.

<br/>

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

#### Styles

* **misc**: Add Gemini flash thinking model, closes [#5103](https://github.com/lobehub/lobe-chat/issues/5103) ([c59c1e2](https://github.com/lobehub/lobe-chat/commit/c59c1e2))

</details>

<div align="right">

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

</div>
2024-12-21 11:49:25 +00:00
sxjeru c59c1e26e3 💄 style: Add Gemini flash thinking model (#5103) 2024-12-21 19:41:50 +08:00
lobehubbot 3b263815a7 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-21 11:15:55 +00:00
semantic-release-bot 43d88a65cd 🔖 chore(release): v1.36.43 [skip ci]
### [Version&nbsp;1.36.43](https://github.com/lobehub/lobe-chat/compare/v1.36.42...v1.36.43)
<sup>Released on **2024-12-21**</sup>

<br/>

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

</details>

<div align="right">

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

</div>
2024-12-21 11:15:00 +00:00
Arvin Xu 189cdac289 👷 build: upgrade bun to latest version (#5109) 2024-12-21 19:07:27 +08:00
lobehubbot 84f30848a7 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-21 06:46:48 +00:00
semantic-release-bot 4e53a69337 🔖 chore(release): v1.36.42 [skip ci]
### [Version&nbsp;1.36.42](https://github.com/lobehub/lobe-chat/compare/v1.36.41...v1.36.42)
<sup>Released on **2024-12-21**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix HUGGINGFACE endpoint url.

<br/>

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

#### What's fixed

* **misc**: Fix HUGGINGFACE endpoint url, closes [#5099](https://github.com/lobehub/lobe-chat/issues/5099) ([abc80dc](https://github.com/lobehub/lobe-chat/commit/abc80dc))

</details>

<div align="right">

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

</div>
2024-12-21 06:45:53 +00:00
柴米油盐的梦想 abc80dcfd9 🐛 fix: fix HUGGINGFACE endpoint url (#5099) 2024-12-21 14:38:10 +08:00
lobehubbot 8e13ec2ead 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-21 04:04:10 +00:00
semantic-release-bot 27d1b20d7b 🔖 chore(release): v1.36.41 [skip ci]
### [Version&nbsp;1.36.41](https://github.com/lobehub/lobe-chat/compare/v1.36.40...v1.36.41)
<sup>Released on **2024-12-21**</sup>

#### ♻ Code Refactoring

- **misc**: Upgrade react scan.

<br/>

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

#### Code refactoring

* **misc**: Upgrade react scan, closes [#5104](https://github.com/lobehub/lobe-chat/issues/5104) ([eed69dd](https://github.com/lobehub/lobe-chat/commit/eed69dd))

</details>

<div align="right">

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

</div>
2024-12-21 04:03:13 +00:00
Arvin Xu eed69dd890 ♻️ refactor: upgrade react scan (#5104)
* ⬆️ refactor: upgrade react scan

* 🔧 chore: add react scan in prod

* add regression config

* 🚨 ci: fix lint

* Update ReactScan.tsx

* Update ReactScan.tsx
2024-12-21 11:55:36 +08:00
lobehubbot 0fb154cbe5 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-20 12:27:41 +00:00
semantic-release-bot 8711563f45 🔖 chore(release): v1.36.40 [skip ci]
### [Version&nbsp;1.36.40](https://github.com/lobehub/lobe-chat/compare/v1.36.39...v1.36.40)
<sup>Released on **2024-12-20**</sup>

#### ♻ Code Refactoring

- **misc**: Seperate user keyVaults encrpyto from user model.

<br/>

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

#### Code refactoring

* **misc**: Seperate user keyVaults encrpyto from user model, closes [#5102](https://github.com/lobehub/lobe-chat/issues/5102) ([09b63cf](https://github.com/lobehub/lobe-chat/commit/09b63cf))

</details>

<div align="right">

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

</div>
2024-12-20 12:26:42 +00:00
Arvin Xu 057d738e82 🔨 chore: add locale (#5101)
* add locale

* fix session error
2024-12-20 20:19:00 +08:00
Arvin Xu 09b63cf64b ♻️ refactor: seperate user keyVaults encrpyto from user model (#5102) 2024-12-20 20:18:38 +08:00
lobehubbot fc26f1578d 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-20 09:11:39 +00:00
semantic-release-bot 2fab6d72ac 🔖 chore(release): v1.36.39 [skip ci]
### [Version&nbsp;1.36.39](https://github.com/lobehub/lobe-chat/compare/v1.36.38...v1.36.39)
<sup>Released on **2024-12-20**</sup>

#### ♻ Code Refactoring

- **misc**: Refactor to use async `headers()`.

<br/>

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

#### Code refactoring

* **misc**: Refactor to use async `headers()`, closes [#5097](https://github.com/lobehub/lobe-chat/issues/5097) ([e368f38](https://github.com/lobehub/lobe-chat/commit/e368f38))

</details>

<div align="right">

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

</div>
2024-12-20 09:10:42 +00:00
Arvin Xu e368f38238 ♻️ refactor: refactor to use async headers() (#5097)
* refactor async mobile

* fix
2024-12-20 17:03:08 +08:00
lobehubbot eab067c525 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-20 05:38:02 +00:00
semantic-release-bot aedcf37070 🔖 chore(release): v1.36.38 [skip ci]
### [Version&nbsp;1.36.38](https://github.com/lobehub/lobe-chat/compare/v1.36.37...v1.36.38)
<sup>Released on **2024-12-20**</sup>

#### ♻ Code Refactoring

- **misc**: Refactor layout props.

<br/>

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

#### Code refactoring

* **misc**: Refactor layout props, closes [#5093](https://github.com/lobehub/lobe-chat/issues/5093) ([2990b5a](https://github.com/lobehub/lobe-chat/commit/2990b5a))

</details>

<div align="right">

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

</div>
2024-12-20 05:37:06 +00:00
Arvin Xu 2990b5a3ff ♻️ refactor: refactor layout props (#5093)
* refactor layout props

* update
2024-12-20 13:29:18 +08:00
lobehubbot 536d297998 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-19 17:39:34 +00:00
semantic-release-bot 557834f228 🔖 chore(release): v1.36.37 [skip ci]
### [Version&nbsp;1.36.37](https://github.com/lobehub/lobe-chat/compare/v1.36.36...v1.36.37)
<sup>Released on **2024-12-19**</sup>

<br/>

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

</details>

<div align="right">

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

</div>
2024-12-19 17:38:34 +00:00
Arvin Xu 00e041b045 👷 build: bump pdf-dist version to match react-pdf (#5090) 2024-12-20 01:30:35 +08:00
lobehubbot 429c480df0 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-19 13:26:08 +00:00
semantic-release-bot 7431cd02ba 🔖 chore(release): v1.36.36 [skip ci]
### [Version&nbsp;1.36.36](https://github.com/lobehub/lobe-chat/compare/v1.36.35...v1.36.36)
<sup>Released on **2024-12-19**</sup>

<br/>

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

</details>

<div align="right">

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

</div>
2024-12-19 13:25:10 +00:00
Arvin Xu f16a233559 ️ perf: improve getUserState api performance (#5076) 2024-12-19 21:17:28 +08:00
lobehubbot ee88732f6a 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-18 18:24:15 +00:00
semantic-release-bot f7679ef473 🔖 chore(release): v1.36.35 [skip ci]
### [Version&nbsp;1.36.35](https://github.com/lobehub/lobe-chat/compare/v1.36.34...v1.36.35)
<sup>Released on **2024-12-18**</sup>

#### 💄 Styles

- **misc**: Improve home page loading for better UX.

<br/>

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

#### Styles

* **misc**: Improve home page loading for better UX, closes [#5075](https://github.com/lobehub/lobe-chat/issues/5075) ([99026bb](https://github.com/lobehub/lobe-chat/commit/99026bb))

</details>

<div align="right">

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

</div>
2024-12-18 18:23:19 +00:00
Arvin Xu 99026bbaa3 💄 style: improve home page loading for better UX (#5075)
* 💄 style: improve home page loading for better UX

* 🐛 fix: fix next auth isLoaded issue
2024-12-19 02:15:36 +08:00
lobehubbot 1b72f5d124 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-18 18:00:27 +00:00
semantic-release-bot 1799ad6bb9 🔖 chore(release): v1.36.34 [skip ci]
### [Version&nbsp;1.36.34](https://github.com/lobehub/lobe-chat/compare/v1.36.33...v1.36.34)
<sup>Released on **2024-12-18**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix pdf preview with capital ext.

<br/>

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

#### What's fixed

* **misc**: Fix pdf preview with capital ext, closes [#5074](https://github.com/lobehub/lobe-chat/issues/5074) ([3f9470f](https://github.com/lobehub/lobe-chat/commit/3f9470f))

</details>

<div align="right">

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

</div>
2024-12-18 17:59:23 +00:00
Arvin Xu 3f9470ff66 🐛 fix: fix pdf preview with capital ext (#5074) 2024-12-19 01:51:34 +08:00
CanisMinor 470c186174 🔧 chore: Update Readme Sync Workflow (#5071) 2024-12-18 18:23:02 +08:00
lobehubbot 17778160cc 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-18 04:33:54 +00:00
semantic-release-bot 01545060ce 🔖 chore(release): v1.36.33 [skip ci]
### [Version&nbsp;1.36.33](https://github.com/lobehub/lobe-chat/compare/v1.36.32...v1.36.33)
<sup>Released on **2024-12-18**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix GitHub model fetch.

<br/>

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

#### What's fixed

* **misc**: Fix GitHub model fetch, closes [#4645](https://github.com/lobehub/lobe-chat/issues/4645) ([b69dce3](https://github.com/lobehub/lobe-chat/commit/b69dce3))

</details>

<div align="right">

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

</div>
2024-12-18 04:32:58 +00:00
BrandonStudio b69dce3680 🐛 fix: Fix GitHub model fetch (#4645)
* Fix GitHub models
Refactor OpenAICompatibleFactory

* Restore unnecessary change

* Complement test
2024-12-18 12:25:09 +08:00
lobehubbot 5cd980fb84 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-17 16:28:52 +00:00
semantic-release-bot ad144dbd1a 🔖 chore(release): v1.36.32 [skip ci]
### [Version&nbsp;1.36.32](https://github.com/lobehub/lobe-chat/compare/v1.36.31...v1.36.32)
<sup>Released on **2024-12-17**</sup>

#### ♻ Code Refactoring

- **misc**: Refactor the drizzle code style.

<br/>

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

#### Code refactoring

* **misc**: Refactor the drizzle code style, closes [#5058](https://github.com/lobehub/lobe-chat/issues/5058) ([4057ad3](https://github.com/lobehub/lobe-chat/commit/4057ad3))

</details>

<div align="right">

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

</div>
2024-12-17 16:27:42 +00:00
CanisMinor 4057ad33ce ♻️ refactor: refactor the drizzle code style (#5058)
* ♻️ refactor: Update drizzle code style

* ♻️ refactor: Fix some drizzle-orm/expressions import

* 💄 style: 替换为箭头函数

* Update topic.ts

---------

Co-authored-by: Arvin Xu <arvinx@foxmail.com>
2024-12-18 00:19:50 +08:00
Arvin Xu 679211da11 👷 build: fix vercel build by pin bun@1.1.38 (#5059) 2024-12-18 00:19:12 +08:00
Arvin Xu 4fd81c7a05 📝 docs: fix model providers docs (#5057)
* 📝 docs: fix docs

* 📝 docs: fix docs
2024-12-17 23:33:25 +08:00
George Alberich ca40f542cc 📝docs: Update docs/self-hosting/environment-variables/model-provider.mdx (#4779) 2024-12-17 14:14:22 +08:00
lobehubbot 06a251981a 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-17 01:57:48 +00:00
semantic-release-bot 26aa88d6f7 🔖 chore(release): v1.36.31 [skip ci]
### [Version&nbsp;1.36.31](https://github.com/lobehub/lobe-chat/compare/v1.36.30...v1.36.31)
<sup>Released on **2024-12-17**</sup>

#### ♻ Code Refactoring

- **misc**: Refactor the data fetch with clientDB init check.

<br/>

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

#### Code refactoring

* **misc**: Refactor the data fetch with clientDB init check, closes [#5049](https://github.com/lobehub/lobe-chat/issues/5049) ([e6d2e09](https://github.com/lobehub/lobe-chat/commit/e6d2e09))

</details>

<div align="right">

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

</div>
2024-12-17 01:56:53 +00:00
Arvin Xu e6d2e097f1 ♻️ refactor: refactor the data fetch with clientDB init check (#5049) 2024-12-17 09:49:14 +08:00
lobehubbot 71e68e8ffa 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-16 17:59:18 +00:00
semantic-release-bot a055b74f60 🔖 chore(release): v1.36.30 [skip ci]
### [Version&nbsp;1.36.30](https://github.com/lobehub/lobe-chat/compare/v1.36.29...v1.36.30)
<sup>Released on **2024-12-16**</sup>

#### 💄 Styles

- **misc**: Improve page loading state.

<br/>

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

#### Styles

* **misc**: Improve page loading state, closes [#5048](https://github.com/lobehub/lobe-chat/issues/5048) ([e63249b](https://github.com/lobehub/lobe-chat/commit/e63249b))

</details>

<div align="right">

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

</div>
2024-12-16 17:58:19 +00:00
Arvin Xu e63249bf92 💄 style: improve page loading state (#5048)
* 🐛 fix: fix welcome 404

* 💄 style: improve loading page state
2024-12-17 01:50:30 +08:00
lobehubbot 503b318aff 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-16 16:23:43 +00:00
semantic-release-bot 67ff170f47 🔖 chore(release): v1.36.29 [skip ci]
### [Version&nbsp;1.36.29](https://github.com/lobehub/lobe-chat/compare/v1.36.28...v1.36.29)
<sup>Released on **2024-12-16**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix discover locale with different default lang.

<br/>

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

#### What's fixed

* **misc**: Fix discover locale with different default lang, closes [#5045](https://github.com/lobehub/lobe-chat/issues/5045) ([915827e](https://github.com/lobehub/lobe-chat/commit/915827e))

</details>

<div align="right">

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

</div>
2024-12-16 16:22:46 +00:00
Arvin Xu 915827ebca 🐛 fix: fix discover locale with different default lang (#5045)
* ♻️ refactor: fix locale

*  test: fix tests
2024-12-17 00:14:54 +08:00
lobehubbot bc8a73bcfd 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-16 14:28:29 +00:00
semantic-release-bot a0d51879a9 🔖 chore(release): v1.36.28 [skip ci]
### [Version&nbsp;1.36.28](https://github.com/lobehub/lobe-chat/compare/v1.36.27...v1.36.28)
<sup>Released on **2024-12-16**</sup>

<br/>

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

</details>

<div align="right">

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

</div>
2024-12-16 14:27:30 +00:00
Arvin Xu ad8c50c266 ️ perf: improve loading performance by add a new state for loading page (#5044)
* ️ perf: 优化启动页面体感速度

* 🌐 chore: update locale
2024-12-16 22:19:34 +08:00
lobehubbot e5505e87eb 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-16 14:10:28 +00:00
semantic-release-bot ca1b3e5f58 🔖 chore(release): v1.36.27 [skip ci]
### [Version&nbsp;1.36.27](https://github.com/lobehub/lobe-chat/compare/v1.36.26...v1.36.27)
<sup>Released on **2024-12-16**</sup>

#### 🐛 Bug Fixes

- **misc**: Add unique keys to `<ModelList>` children.

<br/>

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

#### What's fixed

* **misc**: Add unique keys to `<ModelList>` children, closes [#5042](https://github.com/lobehub/lobe-chat/issues/5042) ([c097d4a](https://github.com/lobehub/lobe-chat/commit/c097d4a))

</details>

<div align="right">

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

</div>
2024-12-16 14:09:32 +00:00
Liu c097d4ad68 🐛 fix: add unique keys to <ModelList> children (#5042) 2024-12-16 22:01:40 +08:00
lobehubbot c4e6a951de 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-16 12:21:38 +00:00
semantic-release-bot fc67e8a9c8 🔖 chore(release): v1.36.26 [skip ci]
### [Version&nbsp;1.36.26](https://github.com/lobehub/lobe-chat/compare/v1.36.25...v1.36.26)
<sup>Released on **2024-12-16**</sup>

#### 💄 Styles

- **misc**: Update models of Gitee AI provider.

<br/>

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

#### Styles

* **misc**: Update models of Gitee AI provider, closes [#5041](https://github.com/lobehub/lobe-chat/issues/5041) ([654c320](https://github.com/lobehub/lobe-chat/commit/654c320))

</details>

<div align="right">

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

</div>
2024-12-16 12:20:19 +00:00
Liu 654c320a2b 💄 style: update models of Gitee AI provider (#5041) 2024-12-16 20:12:27 +08:00
lobehubbot 321b7a196c 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-16 02:31:15 +00:00
CanisMinor c6d48e5d02 📝 docs: Update changelog (#5034) 2024-12-16 10:23:37 +08:00
renovate[bot] 5a4269429c Update dependency @cfworker/json-schema to v4 (#5027)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-15 16:19:35 +08:00
renovate[bot] 5ff69c94c5 Update dependency @edge-runtime/vm to v5 (#5028)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-15 14:04:10 +08:00
renovate[bot] fd666af7a9 Update dependency react-scan to ^0.0.46 (#5020)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-15 11:54:52 +08:00
renovate[bot] 7ff4c92dd2 Update pnpm to v9.15.0 (#5026)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-15 11:54:37 +08:00
renovate[bot] 498c5855af Update dependency drizzle-kit to ^0.30.0 (#5021)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-15 11:36:37 +08:00
renovate[bot] 447270f0b2 Update dependency drizzle-orm to ^0.38.0 (#5022)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-15 11:35:46 +08:00
lobehubbot d4c2b1f6b6 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-14 16:52:46 +00:00
semantic-release-bot 78b1aad820 🔖 chore(release): v1.36.25 [skip ci]
### [Version&nbsp;1.36.25](https://github.com/lobehub/lobe-chat/compare/v1.36.24...v1.36.25)
<sup>Released on **2024-12-14**</sup>

#### 💄 Styles

- **misc**: Add new grok models.

<br/>

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

#### Styles

* **misc**: Add new grok models, closes [#5013](https://github.com/lobehub/lobe-chat/issues/5013) ([8df3212](https://github.com/lobehub/lobe-chat/commit/8df3212))

</details>

<div align="right">

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

</div>
2024-12-14 16:51:53 +00:00
sxjeru 8df32128ca 💄 style: Add new grok models (#5013)
* Update xai.ts

* Update xai.ts

* Update xai.ts
2024-12-15 00:44:17 +08:00
lobehubbot 7159520964 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-14 16:09:50 +00:00
semantic-release-bot 426c772341 🔖 chore(release): v1.36.24 [skip ci]
### [Version&nbsp;1.36.24](https://github.com/lobehub/lobe-chat/compare/v1.36.23...v1.36.24)
<sup>Released on **2024-12-14**</sup>

#### ♻ Code Refactoring

- **misc**: Refactor  file Url query in message model.

<br/>

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

#### Code refactoring

* **misc**: Refactor  file Url query in message model, closes [#5019](https://github.com/lobehub/lobe-chat/issues/5019) ([edf78f4](https://github.com/lobehub/lobe-chat/commit/edf78f4))

</details>

<div align="right">

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

</div>
2024-12-14 16:08:55 +00:00
Arvin Xu edf78f454d ♻️ refactor: refactor file Url query in message model (#5019)
* ♻️ refactor: refactor the file Url query method

* ♻️ refactor: refactor the file Url query method

* Delete src/database/queries/fileUrl.ts
2024-12-15 00:01:15 +08:00
lobehubbot fef58c527c 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-13 15:33:06 +00:00
semantic-release-bot 762638c0e9 🔖 chore(release): v1.36.23 [skip ci]
### [Version&nbsp;1.36.23](https://github.com/lobehub/lobe-chat/compare/v1.36.22...v1.36.23)
<sup>Released on **2024-12-13**</sup>

#### 💄 Styles

- **misc**: Support csv chunking.

<br/>

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

#### Styles

* **misc**: Support csv chunking, closes [#4123](https://github.com/lobehub/lobe-chat/issues/4123) ([1b993a8](https://github.com/lobehub/lobe-chat/commit/1b993a8))

</details>

<div align="right">

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

</div>
2024-12-13 15:32:06 +00:00
Arvin Xu 009cf747e4 🚨 ci: fix lint (#5010) 2024-12-13 23:24:16 +08:00
weiwastron 1b993a8c1f 💄 style: support csv chunking (#4123)
* Feature:上传csv文件支持分块

* Update index.ts

* Update types.ts

* Delete src/libs/langchain/loaders/csv/__tests__/__snapshots__ directory

* 修复csv/index.ts

* 优化test使用的csv文件,并增加sanpshot

---------

Co-authored-by: wei.li@nvr.cn <wei.li@nvr.cn>
2024-12-13 23:15:39 +08:00
lobehubbot fe08e2626c 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-13 14:34:30 +00:00
semantic-release-bot 2cedbfa8d5 🔖 chore(release): v1.36.22 [skip ci]
### [Version&nbsp;1.36.22](https://github.com/lobehub/lobe-chat/compare/v1.36.21...v1.36.22)
<sup>Released on **2024-12-13**</sup>

<br/>

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

</details>

<div align="right">

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

</div>
2024-12-13 14:33:35 +00:00
Zhijie He 247f8dc935 👷 build: upgrade docker nodejs version to 22 (#5009) 2024-12-13 22:25:55 +08:00
lobehubbot 78e1d99212 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-13 13:52:54 +00:00
semantic-release-bot 2f1b3107fe 🔖 chore(release): v1.36.21 [skip ci]
### [Version&nbsp;1.36.21](https://github.com/lobehub/lobe-chat/compare/v1.36.20...v1.36.21)
<sup>Released on **2024-12-13**</sup>

<br/>

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

</details>

<div align="right">

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

</div>
2024-12-13 13:51:50 +00:00
Arvin Xu 3beb3e3961 ️ perf: remove welcome page to improve performance (#5004)
* try to remove welcome

* Update Redirect.tsx

* 🚨 ci: fix lint

* remove welcome logo
2024-12-13 21:44:04 +08:00
lobehubbot 672e42e024 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-13 12:38:18 +00:00
semantic-release-bot 2432473663 🔖 chore(release): v1.36.20 [skip ci]
### [Version&nbsp;1.36.20](https://github.com/lobehub/lobe-chat/compare/v1.36.19...v1.36.20)
<sup>Released on **2024-12-13**</sup>

#### 💄 Styles

- **misc**: Update locale.

<br/>

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

#### Styles

* **misc**: Update locale, closes [#5008](https://github.com/lobehub/lobe-chat/issues/5008) ([6d42d30](https://github.com/lobehub/lobe-chat/commit/6d42d30))

</details>

<div align="right">

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

</div>
2024-12-13 12:37:22 +00:00
Arvin Xu 6d42d30d89 💄 style: update locale (#5008) 2024-12-13 20:29:25 +08:00
lobehubbot bc1081cbb5 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-13 11:47:54 +00:00
semantic-release-bot 78e9ca17fe 🔖 chore(release): v1.36.19 [skip ci]
### [Version&nbsp;1.36.19](https://github.com/lobehub/lobe-chat/compare/v1.36.18...v1.36.19)
<sup>Released on **2024-12-13**</sup>

#### 🐛 Bug Fixes

- **misc**: One of Gemini functionCall error.

<br/>

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

#### What's fixed

* **misc**: One of Gemini functionCall error, closes [#5002](https://github.com/lobehub/lobe-chat/issues/5002) ([3c7f5ff](https://github.com/lobehub/lobe-chat/commit/3c7f5ff))

</details>

<div align="right">

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

</div>
2024-12-13 11:46:58 +00:00
sxjeru 3c7f5ff906 🐛 fix: one of Gemini functionCall error (#5002)
* Update index.ts

* Update index.ts

---------

Co-authored-by: Arvin Xu <arvinx@foxmail.com>
2024-12-13 19:39:12 +08:00
sxjeru d5df725158 🐛 fix: Revert "Enable googleSearch Tool for gemini-2.0-flash-exp (#4997)" (#5003)
This reverts commit cde0d1a6c1.
2024-12-13 12:03:44 +08:00
lobehubbot c7b04d1df8 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-12 17:23:52 +00:00
semantic-release-bot fb56a44167 🔖 chore(release): v1.36.18 [skip ci]
### [Version&nbsp;1.36.18](https://github.com/lobehub/lobe-chat/compare/v1.36.17...v1.36.18)
<sup>Released on **2024-12-12**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix claude first message can not be `assistant`.

<br/>

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

#### What's fixed

* **misc**: Fix claude first message can not be `assistant`, closes [#5001](https://github.com/lobehub/lobe-chat/issues/5001) ([063cd61](https://github.com/lobehub/lobe-chat/commit/063cd61))

</details>

<div align="right">

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

</div>
2024-12-12 17:22:55 +00:00
Arvin Xu 063cd61362 🐛 fix: fix claude first message can not be assistant (#5001) 2024-12-13 01:15:07 +08:00
lobehubbot bd083fae56 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-12 16:42:31 +00:00
semantic-release-bot 09975251ff 🔖 chore(release): v1.36.17 [skip ci]
### [Version&nbsp;1.36.17](https://github.com/lobehub/lobe-chat/compare/v1.36.16...v1.36.17)
<sup>Released on **2024-12-12**</sup>

<br/>

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

</details>

<div align="right">

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

</div>
2024-12-12 16:41:35 +00:00
Arvin Xu ec6097407b ️ perf: downset tokenizer threshold to reduce browser memory usage (#5000)
* ️ perf: down token account

* Update index.ts
2024-12-13 00:33:54 +08:00
lobehubbot 23fe3dfbee 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-12 15:10:02 +00:00
semantic-release-bot 881a2353ee 🔖 chore(release): v1.36.16 [skip ci]
### [Version&nbsp;1.36.16](https://github.com/lobehub/lobe-chat/compare/v1.36.15...v1.36.16)
<sup>Released on **2024-12-12**</sup>

#### ♻ Code Refactoring

- **misc**: Refactor the file model method.

<br/>

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

#### Code refactoring

* **misc**: Refactor the file model method, closes [#4998](https://github.com/lobehub/lobe-chat/issues/4998) ([00af34e](https://github.com/lobehub/lobe-chat/commit/00af34e))

</details>

<div align="right">

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

</div>
2024-12-12 15:09:05 +00:00
Arvin Xu 00af34e4f8 ♻️ refactor: refactor the file model method (#4998)
* ♻️ refactor: refactor the file models

* ♻️ refactor: refactor the file models

*  test: add tests for file models

*  test: add tests for file models
2024-12-12 23:01:13 +08:00
lobehubbot 889ae07e32 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-12 14:47:40 +00:00
semantic-release-bot 872e6716f2 🔖 chore(release): v1.36.15 [skip ci]
### [Version&nbsp;1.36.15](https://github.com/lobehub/lobe-chat/compare/v1.36.14...v1.36.15)
<sup>Released on **2024-12-12**</sup>

#### 💄 Styles

- **misc**: Enable googleSearch Tool for gemini-2.0-flash-exp.

<br/>

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

#### Styles

* **misc**: Enable googleSearch Tool for gemini-2.0-flash-exp, closes [#4997](https://github.com/lobehub/lobe-chat/issues/4997) ([cde0d1a](https://github.com/lobehub/lobe-chat/commit/cde0d1a))

</details>

<div align="right">

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

</div>
2024-12-12 14:46:42 +00:00
sxjeru cde0d1a6c1 💄 style: Enable googleSearch Tool for gemini-2.0-flash-exp (#4997)
* Update index.ts

* Update index.ts
2024-12-12 22:39:01 +08:00
lobehubbot a7eb8008ea 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-12 06:04:02 +00:00
semantic-release-bot d5c261a236 🔖 chore(release): v1.36.14 [skip ci]
### [Version&nbsp;1.36.14](https://github.com/lobehub/lobe-chat/compare/v1.36.13...v1.36.14)
<sup>Released on **2024-12-12**</sup>

#### ♻ Code Refactoring

- **misc**: Refactor database file model to remove server env.

<br/>

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

#### Code refactoring

* **misc**: Refactor database file model to remove server env, closes [#4990](https://github.com/lobehub/lobe-chat/issues/4990) ([284f790](https://github.com/lobehub/lobe-chat/commit/284f790))

</details>

<div align="right">

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

</div>
2024-12-12 06:03:04 +00:00
Arvin Xu 284f790419 ♻️ refactor: refactor database file model to remove server env (#4990)
* refactor the db model

* Update file.ts

* fix test
2024-12-12 13:55:19 +08:00
Caijinglong a3fe8e257a 📝 docs: Add env LLM_VISION_IMAGE_USE_BASE64 to s3 (#4977) 2024-12-12 10:39:33 +08:00
lobehubbot 80d976e8c4 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-11 16:31:49 +00:00
semantic-release-bot bba904834d 🔖 chore(release): v1.36.13 [skip ci]
### [Version&nbsp;1.36.13](https://github.com/lobehub/lobe-chat/compare/v1.36.12...v1.36.13)
<sup>Released on **2024-12-11**</sup>

#### 💄 Styles

- **misc**: Add Gemini 2.0 Flash Exp model.

<br/>

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

#### Styles

* **misc**: Add Gemini 2.0 Flash Exp model, closes [#4981](https://github.com/lobehub/lobe-chat/issues/4981) ([aab0c53](https://github.com/lobehub/lobe-chat/commit/aab0c53))

</details>

<div align="right">

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

</div>
2024-12-11 16:30:54 +00:00
sxjeru aab0c5394a 💄 style: Add Gemini 2.0 Flash Exp model (#4981) 2024-12-12 00:22:57 +08:00
lobehubbot e9b7f82367 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-11 14:43:11 +00:00
semantic-release-bot 83150b5a59 🔖 chore(release): v1.36.12 [skip ci]
### [Version&nbsp;1.36.12](https://github.com/lobehub/lobe-chat/compare/v1.36.11...v1.36.12)
<sup>Released on **2024-12-11**</sup>

#### ♻ Code Refactoring

- **misc**: Update sql and types.

<br/>

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

#### Code refactoring

* **misc**: Update sql and types, closes [#4979](https://github.com/lobehub/lobe-chat/issues/4979) ([8243f01](https://github.com/lobehub/lobe-chat/commit/8243f01))

</details>

<div align="right">

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

</div>
2024-12-11 14:42:15 +00:00
Arvin Xu 8243f0102c ♻️ refactor: update sql and types (#4979) 2024-12-11 22:34:31 +08:00
lobehubbot 74fd0dc523 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-11 07:49:52 +00:00
semantic-release-bot f1f3890bee 🔖 chore(release): v1.36.11 [skip ci]
### [Version&nbsp;1.36.11](https://github.com/lobehub/lobe-chat/compare/v1.36.10...v1.36.11)
<sup>Released on **2024-12-11**</sup>

#### ♻ Code Refactoring

- **misc**: Refactor data importer to repos.

<br/>

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

#### Code refactoring

* **misc**: Refactor data importer to repos, closes [#4974](https://github.com/lobehub/lobe-chat/issues/4974) ([0259fec](https://github.com/lobehub/lobe-chat/commit/0259fec))

</details>

<div align="right">

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

</div>
2024-12-11 07:48:57 +00:00
Arvin Xu 0259fec1b4 ♻️ refactor: refactor data importer to repos (#4974)
* refactor data importer

* Update importer.ts

* fix tests
2024-12-11 15:41:14 +08:00
lobehubbot ba095b8684 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-10 16:39:20 +00:00
semantic-release-bot f8ab7e46d9 🔖 chore(release): v1.36.10 [skip ci]
### [Version&nbsp;1.36.10](https://github.com/lobehub/lobe-chat/compare/v1.36.9...v1.36.10)
<sup>Released on **2024-12-10**</sup>

#### ♻ Code Refactoring

- **misc**: Clean the `gpt-4-vision-preview` models.

<br/>

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

#### Code refactoring

* **misc**: Clean the `gpt-4-vision-preview` models, closes [#4967](https://github.com/lobehub/lobe-chat/issues/4967) ([7094ea6](https://github.com/lobehub/lobe-chat/commit/7094ea6))

</details>

<div align="right">

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

</div>
2024-12-10 16:38:25 +00:00
Arvin Xu 7094ea653d ♻️ refactor: clean the gpt-4-vision-preview models (#4967)
* ♻️ refactor: clean the gpt-4 vision-preview models

* 🌐 chore: update locale
2024-12-11 00:30:20 +08:00
lobehubbot 423c680ab8 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-10 15:46:18 +00:00
semantic-release-bot 087c19ba70 🔖 chore(release): v1.36.9 [skip ci]
### [Version&nbsp;1.36.9](https://github.com/lobehub/lobe-chat/compare/v1.36.8...v1.36.9)
<sup>Released on **2024-12-10**</sup>

#### ♻ Code Refactoring

- **misc**: Refactor the clerk user service implement.

#### 🐛 Bug Fixes

- **misc**: Nullptr errors in NextAuth adapter.

<br/>

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

#### Code refactoring

* **misc**: Refactor the clerk user service implement, closes [#4965](https://github.com/lobehub/lobe-chat/issues/4965) ([059810b](https://github.com/lobehub/lobe-chat/commit/059810b))

#### What's fixed

* **misc**: Nullptr errors in NextAuth adapter, closes [#4960](https://github.com/lobehub/lobe-chat/issues/4960) ([d242ee0](https://github.com/lobehub/lobe-chat/commit/d242ee0))

</details>

<div align="right">

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

</div>
2024-12-10 15:45:17 +00:00
Yao Cai d242ee0714 🐛 fix: nullptr errors in NextAuth adapter (#4960)
* 🐛 fix: nullptr errors in adapter

*  test: pass tests
2024-12-10 23:37:11 +08:00
Arvin Xu 059810bb77 ♻️ refactor: refactor the clerk user service implement (#4965)
* ♻️ refactor: refactor the user service implement

* 🔨 chore: improve script

* 🌐 chore: update locale
2024-12-10 23:32:27 +08:00
lobehubbot 520dde8728 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-10 14:58:01 +00:00
semantic-release-bot e28548ee40 🔖 chore(release): v1.36.8 [skip ci]
### [Version&nbsp;1.36.8](https://github.com/lobehub/lobe-chat/compare/v1.36.7...v1.36.8)
<sup>Released on **2024-12-10**</sup>

#### 💄 Styles

- **misc**: Add `GLM-4V-Flash` from Zhipu.

<br/>

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

#### Styles

* **misc**: Add `GLM-4V-Flash` from Zhipu, closes [#4958](https://github.com/lobehub/lobe-chat/issues/4958) ([17ea86c](https://github.com/lobehub/lobe-chat/commit/17ea86c))

</details>

<div align="right">

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

</div>
2024-12-10 14:57:00 +00:00
Zhijie He 17ea86ca75 💄 style: add GLM-4V-Flash from Zhipu (#4958)
* 💄 style: add `GLM-4V-Flash` from Zhipu

* 💄 style: add releasedAt info
2024-12-10 22:49:18 +08:00
lobehubbot 7d90451d05 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-10 14:41:10 +00:00
semantic-release-bot a045a4e4d1 🔖 chore(release): v1.36.7 [skip ci]
### [Version&nbsp;1.36.7](https://github.com/lobehub/lobe-chat/compare/v1.36.6...v1.36.7)
<sup>Released on **2024-12-10**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix pricing with 0 digit.

<br/>

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

#### What's fixed

* **misc**: Fix pricing with 0 digit, closes [#4964](https://github.com/lobehub/lobe-chat/issues/4964) ([c1061b4](https://github.com/lobehub/lobe-chat/commit/c1061b4))

</details>

<div align="right">

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

</div>
2024-12-10 14:40:10 +00:00
Arvin Xu c1061b492d 🐛 fix: fix pricing with 0 digit (#4964) 2024-12-10 22:32:16 +08:00
Lumia 3c34cedfaf 📝 docs: add Dokploy deployment guide for lobechat-database (#4929)
* Add files via upload

在 Dokploy 上部署服务端数据库版

* Create dokploy.mdx

Deploying Server Database Version on Dokploy.

* Update dokploy.zh-CN.mdx

* Update dokploy.mdx
2024-12-10 22:11:07 +08:00
lobehubbot 86c4c537ee 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-10 02:50:45 +00:00
semantic-release-bot 33ad380cf8 🔖 chore(release): v1.36.6 [skip ci]
### [Version&nbsp;1.36.6](https://github.com/lobehub/lobe-chat/compare/v1.36.5...v1.36.6)
<sup>Released on **2024-12-10**</sup>

#### 💄 Styles

- **misc**: Update groq, add llama3.3, Upgrade lobe-ui.

<br/>

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

#### Styles

* **misc**: Update groq, add llama3.3, closes [#4942](https://github.com/lobehub/lobe-chat/issues/4942) ([68e4379](https://github.com/lobehub/lobe-chat/commit/68e4379))
* **misc**: Upgrade lobe-ui, closes [#4950](https://github.com/lobehub/lobe-chat/issues/4950) ([54ce087](https://github.com/lobehub/lobe-chat/commit/54ce087))

</details>

<div align="right">

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

</div>
2024-12-10 02:49:46 +00:00
CanisMinor 54ce0871ec 💄 style: Upgrade lobe-ui (#4950) 2024-12-10 10:42:08 +08:00
Caijinglong 68e4379e63 💄 style: Update groq, add llama3.3 (#4942)
- Add llama3.3
- Set `modelList.showModelFetcher` to true
2024-12-10 10:36:12 +08:00
lobehubbot 303c1a5aa6 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-09 07:33:06 +00:00
semantic-release-bot a6bb2fcc6a 🔖 chore(release): v1.36.5 [skip ci]
### [Version&nbsp;1.36.5](https://github.com/lobehub/lobe-chat/compare/v1.36.4...v1.36.5)
<sup>Released on **2024-12-09**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix wrong email linking in next-auth db adapter.

<br/>

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

#### What's fixed

* **misc**: Fix wrong email linking in next-auth db adapter, closes [#4919](https://github.com/lobehub/lobe-chat/issues/4919) ([af45a28](https://github.com/lobehub/lobe-chat/commit/af45a28))

</details>

<div align="right">

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

</div>
2024-12-09 07:32:05 +00:00
Yao Cai af45a28d6b 🐛 fix: fix wrong email linking in next-auth db adapter (#4919)
* 🐛 fix: wrong email linking

* 🧪 test: nextauth account linking
2024-12-09 15:23:51 +08:00
lobehubbot d2d86a9933 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-09 07:06:37 +00:00
semantic-release-bot 3bfb69f722 🔖 chore(release): v1.36.4 [skip ci]
### [Version&nbsp;1.36.4](https://github.com/lobehub/lobe-chat/compare/v1.36.3...v1.36.4)
<sup>Released on **2024-12-09**</sup>

<br/>

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

</details>

<div align="right">

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

</div>
2024-12-09 07:05:30 +00:00
Arvin Xu fcea43b77c 👷 build: pin re-resizable@6.10.1 to fix build (#4941) 2024-12-09 14:57:54 +08:00
renovate[bot] 5d1261ecd6 Update dependency drizzle-kit to ^0.29.0 (#4926)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-09 01:01:59 +08:00
renovate[bot] 08c1f1d4ed Update dependency drizzle-orm to ^0.37.0 (#4927)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-09 01:01:45 +08:00
Arvin Xu cb3a8fa88e 📝 docs: update changelog docs (#4935)
* 📝 docs: update changelog

* 📝 docs: update changelog
2024-12-09 01:01:16 +08:00
lobehubbot 2a09c7665b 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-08 16:59:17 +00:00
semantic-release-bot bfd3e4d6e1 🔖 chore(release): v1.36.3 [skip ci]
### [Version&nbsp;1.36.3](https://github.com/lobehub/lobe-chat/compare/v1.36.2...v1.36.3)
<sup>Released on **2024-12-08**</sup>

#### 🐛 Bug Fixes

- **misc**: Support request headers for chat.

<br/>

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

#### What's fixed

* **misc**: Support request headers for chat, closes [#4934](https://github.com/lobehub/lobe-chat/issues/4934) ([8cdc062](https://github.com/lobehub/lobe-chat/commit/8cdc062))

</details>

<div align="right">

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

</div>
2024-12-08 16:58:20 +00:00
Arvin Xu 8cdc06276f 🐛 fix: support request headers for chat (#4934) 2024-12-09 00:50:31 +08:00
lobehubbot a1b5c260a7 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-07 06:54:59 +00:00
semantic-release-bot 5afbb75d7c 🔖 chore(release): v1.36.2 [skip ci]
### [Version&nbsp;1.36.2](https://github.com/lobehub/lobe-chat/compare/v1.36.1...v1.36.2)
<sup>Released on **2024-12-07**</sup>

#### ♻ Code Refactoring

- **misc**: Refactor async params route to adapt next15 breaking change.

<br/>

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

#### Code refactoring

* **misc**: Refactor async params route to adapt next15 breaking change, closes [#4905](https://github.com/lobehub/lobe-chat/issues/4905) ([5d61950](https://github.com/lobehub/lobe-chat/commit/5d61950))

</details>

<div align="right">

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

</div>
2024-12-07 06:54:01 +00:00
Arvin Xu e71974daa8 ️ perf: add react scan monitor (#4915) 2024-12-07 14:46:33 +08:00
Arvin Xu 5d61950453 ♻️ refactor: refactor async params route to adapt next15 breaking change (#4905)
* ♻️ refactor: refactor async route params

*  test: fix test

* revert

* fix tests

* Update index.ts
2024-12-07 14:46:09 +08:00
lobehubbot 757a28e354 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-07 06:17:28 +00:00
semantic-release-bot 7fc2859f50 🔖 chore(release): v1.36.1 [skip ci]
### [Version&nbsp;1.36.1](https://github.com/lobehub/lobe-chat/compare/v1.36.0...v1.36.1)
<sup>Released on **2024-12-07**</sup>

#### ♻ Code Refactoring

- **misc**: Remove proxy url settings for NextAuth.

#### 💄 Styles

- **misc**: Add gemini-exp-1206 model.

<br/>

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

#### Code refactoring

* **misc**: Remove proxy url settings for NextAuth, closes [#4826](https://github.com/lobehub/lobe-chat/issues/4826) ([a502c17](https://github.com/lobehub/lobe-chat/commit/a502c17))

#### Styles

* **misc**: Add gemini-exp-1206 model, closes [#4909](https://github.com/lobehub/lobe-chat/issues/4909) ([9ff2c03](https://github.com/lobehub/lobe-chat/commit/9ff2c03))

</details>

<div align="right">

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

</div>
2024-12-07 06:16:30 +00:00
Yao Cai a502c175bc ♻️ refactor: Remove proxy url settings for NextAuth (#4826)
* ♻️ refactor: remove proxyurl

* ♻️ refactor: remove unused import

* ♻️ refactor: add debug option for nextauth

* 🚨 style: fix lint error
2024-12-07 14:08:52 +08:00
sxjeru 9ff2c0314e 💄 style: Add gemini-exp-1206 model (#4909) 2024-12-07 14:08:01 +08:00
lobehubbot ab108d929b 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-06 13:20:10 +00:00
semantic-release-bot e17a9c454b 🔖 chore(release): v1.36.0 [skip ci]
## [Version&nbsp;1.36.0](https://github.com/lobehub/lobe-chat/compare/v1.35.14...v1.36.0)
<sup>Released on **2024-12-06**</sup>

####  Features

- **misc**: Add Higress ai model provider.

<br/>

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

#### What's improved

* **misc**: Add Higress ai model provider, closes [#4755](https://github.com/lobehub/lobe-chat/issues/4755) ([835bbf6](https://github.com/lobehub/lobe-chat/commit/835bbf6))

</details>

<div align="right">

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

</div>
2024-12-06 13:19:13 +00:00
Cherry 835bbf6e97 feat: add Higress ai model provider (#4755)
* feat: add Higress ai model provider

* 📝 docs(bot): Auto sync agents & plugin to readme

* perf: 替换lodash导入,去除废弃PROXY_URL和MODEL_LIST

* perf: 去除agentRuntime多余higress配置

---------

Co-authored-by: 八月 <rentingting.rtt@alibaba-inc.com>
2024-12-06 21:11:35 +08:00
lobehubbot 3c6895ce9d 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-06 12:14:01 +00:00
semantic-release-bot b046b96000 🔖 chore(release): v1.35.14 [skip ci]
### [Version&nbsp;1.35.14](https://github.com/lobehub/lobe-chat/compare/v1.35.13...v1.35.14)
<sup>Released on **2024-12-06**</sup>

#### ♻ Code Refactoring

- **misc**: Refactor page params to adapt next15 breaking change.

<br/>

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

#### Code refactoring

* **misc**: Refactor page params to adapt next15 breaking change, closes [#4904](https://github.com/lobehub/lobe-chat/issues/4904) ([45ec7b4](https://github.com/lobehub/lobe-chat/commit/45ec7b4))

</details>

<div align="right">

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

</div>
2024-12-06 12:12:58 +00:00
Arvin Xu 871f5b92f6 🔨 chore: improve migrate scripts (#4902) 2024-12-06 20:05:13 +08:00
Arvin Xu 45ec7b4c04 ♻️ refactor: refactor page params to adapt next15 breaking change (#4904)
* refactor the page async params

* fix

* fix
2024-12-06 19:56:54 +08:00
lobehubbot 61f6677464 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-06 03:53:51 +00:00
semantic-release-bot 8801a9a266 🔖 chore(release): v1.35.13 [skip ci]
### [Version&nbsp;1.35.13](https://github.com/lobehub/lobe-chat/compare/v1.35.12...v1.35.13)
<sup>Released on **2024-12-06**</sup>

<br/>

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

</details>

<div align="right">

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

</div>
2024-12-06 03:52:56 +00:00
Arvin Xu ddf929a9aa 👷 build: pin @type/react@18.3.13 to fix build (#4899) 2024-12-06 11:45:16 +08:00
lobehubbot edc8a4bf85 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-05 05:56:03 +00:00
semantic-release-bot f75bb3c3e9 🔖 chore(release): v1.35.12 [skip ci]
### [Version&nbsp;1.35.12](https://github.com/lobehub/lobe-chat/compare/v1.35.11...v1.35.12)
<sup>Released on **2024-12-05**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix typo of prompts.

<br/>

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

#### What's fixed

* **misc**: Fix typo of prompts, closes [#4837](https://github.com/lobehub/lobe-chat/issues/4837) ([9350ef0](https://github.com/lobehub/lobe-chat/commit/9350ef0))

</details>

<div align="right">

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

</div>
2024-12-05 05:55:07 +00:00
ArtofWork 9350ef0259 🐛 fix: fix typo of prompts (#4837)
Co-authored-by: Arvin Xu <arvinx@foxmail.com>
2024-12-05 13:47:38 +08:00
Yao Cai c0439c0fd8 📝 docs: support use custom host in docker-compose setup script & regenerate secrets (#4576) 2024-12-05 09:33:11 +08:00
lobehubbot d50d3760c6 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-04 17:12:43 +00:00
semantic-release-bot b17f6854f6 🔖 chore(release): v1.35.11 [skip ci]
### [Version&nbsp;1.35.11](https://github.com/lobehub/lobe-chat/compare/v1.35.10...v1.35.11)
<sup>Released on **2024-12-04**</sup>

<br/>

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

</details>

<div align="right">

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

</div>
2024-12-04 17:11:23 +00:00
Arvin Xu 58bd33a79a 👷 build: pin zustand@5.0.1 to fix bulid (#4887) 2024-12-05 01:03:15 +08:00
lobehubbot 323bffac3c 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-03 14:03:10 +00:00
semantic-release-bot 66f5493bc1 🔖 chore(release): v1.35.10 [skip ci]
### [Version&nbsp;1.35.10](https://github.com/lobehub/lobe-chat/compare/v1.35.9...v1.35.10)
<sup>Released on **2024-12-03**</sup>

#### ♻ Code Refactoring

- **misc**: Refactor the server db model implement.

<br/>

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

#### Code refactoring

* **misc**: Refactor the server db model implement, closes [#4878](https://github.com/lobehub/lobe-chat/issues/4878) ([3814853](https://github.com/lobehub/lobe-chat/commit/3814853))

</details>

<div align="right">

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

</div>
2024-12-03 14:02:15 +00:00
Arvin Xu 3814853668 ♻️ refactor: refactor the server db model implement (#4878)
* refactor db

* update tests

* fix test and build

* add tests

* add tests

* add test for files

* add test for chunks

* remove unused method

* add message tests
2024-12-03 21:54:14 +08:00
lobehubbot 1fa7a3cf19 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-03 11:54:49 +00:00
semantic-release-bot c5d91dc547 🔖 chore(release): v1.35.9 [skip ci]
### [Version&nbsp;1.35.9](https://github.com/lobehub/lobe-chat/compare/v1.35.8...v1.35.9)
<sup>Released on **2024-12-03**</sup>

<br/>

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

</details>

<div align="right">

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

</div>
2024-12-03 11:53:57 +00:00
Arvin Xu 051c8dcb3b 👷 build: unpinned @browserbasehq/stagehand (#4876) 2024-12-03 19:46:28 +08:00
lobehubbot 3ce92b3968 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-03 06:24:07 +00:00
semantic-release-bot 6f6f842921 🔖 chore(release): v1.35.8 [skip ci]
### [Version&nbsp;1.35.8](https://github.com/lobehub/lobe-chat/compare/v1.35.7...v1.35.8)
<sup>Released on **2024-12-03**</sup>

#### ♻ Code Refactoring

- **misc**: Move schema and migration folder.

<br/>

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

#### Code refactoring

* **misc**: Move schema and migration folder, closes [#4874](https://github.com/lobehub/lobe-chat/issues/4874) ([9aa16d4](https://github.com/lobehub/lobe-chat/commit/9aa16d4))

</details>

<div align="right">

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

</div>
2024-12-03 06:23:14 +00:00
Arvin Xu 9aa16d4715 ♻️ refactor: move schema and migration folder (#4874)
* move schema folder

* fix tests

* fix vercel build
2024-12-03 14:15:41 +08:00
lobehubbot b7b583dde2 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-03 05:58:50 +00:00
semantic-release-bot 28903f2cc1 🔖 chore(release): v1.35.7 [skip ci]
### [Version&nbsp;1.35.7](https://github.com/lobehub/lobe-chat/compare/v1.35.6...v1.35.7)
<sup>Released on **2024-12-03**</sup>

<br/>

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

</details>

<div align="right">

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

</div>
2024-12-03 05:57:56 +00:00
Arvin Xu 6640eebcf7 👷 build: pin @browserbasehq/stagehand@1.3.0 to fix pnpm install (#4875) 2024-12-03 13:50:12 +08:00
lobehubbot 2b6b1b36e4 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-02 17:14:56 +00:00
semantic-release-bot 75b1851672 🔖 chore(release): v1.35.6 [skip ci]
### [Version&nbsp;1.35.6](https://github.com/lobehub/lobe-chat/compare/v1.35.5...v1.35.6)
<sup>Released on **2024-12-02**</sup>

#### ♻ Code Refactoring

- **misc**: Add user server api key method in the server mode.

#### 💄 Styles

- **misc**: Add QwQ 32B Preview model.

<br/>

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

#### Code refactoring

* **misc**: Add user server api key method in the server mode, closes [#4870](https://github.com/lobehub/lobe-chat/issues/4870) ([875463a](https://github.com/lobehub/lobe-chat/commit/875463a))

#### Styles

* **misc**: Add QwQ 32B Preview model, closes [#4867](https://github.com/lobehub/lobe-chat/issues/4867) ([edd93e0](https://github.com/lobehub/lobe-chat/commit/edd93e0))

</details>

<div align="right">

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

</div>
2024-12-02 17:14:00 +00:00
柴米油盐的梦想 edd93e03a9 💄 style: add QwQ 32B Preview model (#4867) 2024-12-03 01:06:28 +08:00
Arvin Xu 875463a061 ♻️ refactor: add user server api key method in the server mode (#4870)
* ♻️ refactor: add user server api key method

* Update user.ts
2024-12-03 01:06:14 +08:00
lobehubbot 77c7aa36d3 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-02 11:48:11 +00:00
semantic-release-bot ee2e2defb8 🔖 chore(release): v1.35.5 [skip ci]
### [Version&nbsp;1.35.5](https://github.com/lobehub/lobe-chat/compare/v1.35.4...v1.35.5)
<sup>Released on **2024-12-02**</sup>

#### ♻ Code Refactoring

- **misc**: Deprecated the current client mode code.

<br/>

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

#### Code refactoring

* **misc**: Deprecated the current client mode code, closes [#4866](https://github.com/lobehub/lobe-chat/issues/4866) ([7dff458](https://github.com/lobehub/lobe-chat/commit/7dff458))

</details>

<div align="right">

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

</div>
2024-12-02 11:47:14 +00:00
Arvin Xu 7dff458563 ♻️ refactor: deprecated the current client mode code (#4866) 2024-12-02 19:39:36 +08:00
TC e290230040 📝 docs: update provider docs (#4865)
* 📝 docs: update docs for providers

* 📝 docs: update provider doc

* docs: add doc for cloudflare

* 📝 docs: update provider docs

---------

Co-authored-by: GH Action - Upstream Sync <action@github.com>
2024-12-02 16:25:48 +08:00
lobehubbot aa47cd8bc6 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-02 05:45:47 +00:00
semantic-release-bot 62d8585158 🔖 chore(release): v1.35.4 [skip ci]
### [Version&nbsp;1.35.4](https://github.com/lobehub/lobe-chat/compare/v1.35.3...v1.35.4)
<sup>Released on **2024-12-02**</sup>

<br/>

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

</details>

<div align="right">

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

</div>
2024-12-02 05:44:52 +00:00
Arvin Xu 9731b0d050 ️ perf: update agent index url (#4861)
* update agent index

* fix test

* improve url

* fix test
2024-12-02 13:37:05 +08:00
lobehubbot 7b11deb4c9 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-01 16:23:15 +00:00
semantic-release-bot 46e9bb53c7 🔖 chore(release): v1.35.3 [skip ci]
### [Version&nbsp;1.35.3](https://github.com/lobehub/lobe-chat/compare/v1.35.2...v1.35.3)
<sup>Released on **2024-12-01**</sup>

#### 💄 Styles

- **misc**: Add gpt-4o-2024-11-20 model.

<br/>

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

#### Styles

* **misc**: Add gpt-4o-2024-11-20 model, closes [#4855](https://github.com/lobehub/lobe-chat/issues/4855) ([bc3b396](https://github.com/lobehub/lobe-chat/commit/bc3b396))

</details>

<div align="right">

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

</div>
2024-12-01 16:22:22 +00:00
LovelyGuYiMeng bc3b39659a 💄 style: add gpt-4o-2024-11-20 model (#4855)
* Update openai.ts

* Update modelProvider.test.ts

* Update openai.ts
2024-12-02 00:14:47 +08:00
lobehubbot 5d29d8318a 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-01 14:39:23 +00:00
semantic-release-bot a99e1cb924 🔖 chore(release): v1.35.2 [skip ci]
### [Version&nbsp;1.35.2](https://github.com/lobehub/lobe-chat/compare/v1.35.1...v1.35.2)
<sup>Released on **2024-12-01**</sup>

#### 💄 Styles

- **misc**: Improve i18n.

<br/>

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

#### Styles

* **misc**: Improve i18n, closes [#4857](https://github.com/lobehub/lobe-chat/issues/4857) ([4b7dbc0](https://github.com/lobehub/lobe-chat/commit/4b7dbc0))

</details>

<div align="right">

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

</div>
2024-12-01 14:38:27 +00:00
Arvin Xu 4b7dbc0d5b 💄 style: improve i18n (#4857)
* style: improve i18n

* 📝 docs: update docs

* 📝 docs: update docs
2024-12-01 22:30:36 +08:00
lobehubbot 174bb1dd56 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-01 07:22:58 +00:00
semantic-release-bot d6bc8edec4 🔖 chore(release): v1.35.1 [skip ci]
### [Version&nbsp;1.35.1](https://github.com/lobehub/lobe-chat/compare/v1.35.0...v1.35.1)
<sup>Released on **2024-12-01**</sup>

#### 💄 Styles

- **misc**: Update ollama models.

<br/>

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

#### Styles

* **misc**: Update ollama models, closes [#4853](https://github.com/lobehub/lobe-chat/issues/4853) ([18f0a3c](https://github.com/lobehub/lobe-chat/commit/18f0a3c))

</details>

<div align="right">

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

</div>
2024-12-01 07:22:02 +00:00
Arvin Xu 18f0a3ccae 💄 style: update ollama models (#4853)
* 💄 style: update ollama models

* style: improve i18n
2024-12-01 15:14:30 +08:00
Arvin Xu ab30cbaf1e 📝 docs: update changelog docs (#4850)
* 📝 docs: update docs

* 📝 docs: update docs
2024-12-01 13:39:40 +08:00
lobehubbot 8176c2e292 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-01 05:04:45 +00:00
semantic-release-bot 1f97a620b3 🔖 chore(release): v1.35.0 [skip ci]
## [Version&nbsp;1.35.0](https://github.com/lobehub/lobe-chat/compare/v1.34.6...v1.35.0)
<sup>Released on **2024-12-01**</sup>

####  Features

- **misc**: Support ollama tools use.

<br/>

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

#### What's improved

* **misc**: Support ollama tools use, closes [#3327](https://github.com/lobehub/lobe-chat/issues/3327) ([72d8835](https://github.com/lobehub/lobe-chat/commit/72d8835))

</details>

<div align="right">

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

</div>
2024-12-01 05:03:45 +00:00
Arvin Xu 72d88353d9 feat: support ollama tools use (#3327)
* ♻️ refactor: refactor to support debug ollama chat stream

*  feat: support ollama tools using

*  test: fix test

* 🐛 fix: api url in ollama
2024-12-01 12:56:07 +08:00
Jannik Maierhöfer 2569b09910 📝 docs: add langfuse in docs (#4801) 2024-12-01 12:28:07 +08:00
lobehubbot 8df3adcdc3 📝 docs(bot): Auto sync agents & plugin to readme 2024-12-01 04:07:12 +00:00
semantic-release-bot 93bcd7d81d 🔖 chore(release): v1.34.6 [skip ci]
### [Version&nbsp;1.34.6](https://github.com/lobehub/lobe-chat/compare/v1.34.5...v1.34.6)
<sup>Released on **2024-12-01**</sup>

#### 💄 Styles

- **misc**: Add `QWEN_PROXY_URL` support for Qwen, update model list, add `qwq-32b-preview`.

<br/>

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

#### Styles

* **misc**: Add `QWEN_PROXY_URL` support for Qwen, closes [#4842](https://github.com/lobehub/lobe-chat/issues/4842) ([1b8dad6](https://github.com/lobehub/lobe-chat/commit/1b8dad6))
* **misc**: Update model list, add `qwq-32b-preview`, closes [#4839](https://github.com/lobehub/lobe-chat/issues/4839) ([32b8596](https://github.com/lobehub/lobe-chat/commit/32b8596))

</details>

<div align="right">

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

</div>
2024-12-01 04:06:02 +00:00
Zhijie He 1b8dad6e0f 💄 style: add QWEN_PROXY_URL support for Qwen (#4842) 2024-12-01 11:58:14 +08:00
renovate[bot] e590048e21 Update pnpm to v9.14.4 (#4845)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-01 11:57:33 +08:00
Zhijie He 32b85965b9 💄 style: update model list, add qwq-32b-preview (#4839)
* 💄 style: update SiliconCloud model list

* 💄 style: update model tag

* 💄 style: update model tag

* 💄 style: update qwen model list, add `qwq-32b-preview`

* 💄 style: update model list

* 🐛 fix: fix typo
2024-12-01 11:57:19 +08:00
Arvin Xu 2136421630 📝 docs: add changelog docs (#4830)
* 🚧 wip: update markdown

* add md and index
2024-11-29 22:26:29 +08:00
lobehubbot c7780b21a0 📝 docs(bot): Auto sync agents & plugin to readme 2024-11-28 05:54:42 +00:00
semantic-release-bot c052429922 🔖 chore(release): v1.34.5 [skip ci]
### [Version&nbsp;1.34.5](https://github.com/lobehub/lobe-chat/compare/v1.34.4...v1.34.5)
<sup>Released on **2024-11-28**</sup>

#### 💄 Styles

- **misc**: Add Google LearnLM model.

<br/>

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

#### Styles

* **misc**: Add Google LearnLM model, closes [#4821](https://github.com/lobehub/lobe-chat/issues/4821) ([f900c0a](https://github.com/lobehub/lobe-chat/commit/f900c0a))

</details>

<div align="right">

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

</div>
2024-11-28 05:53:47 +00:00
sxjeru f900c0a34f 💄 style: Add Google LearnLM model (#4821) 2024-11-28 13:46:05 +08:00
lobehubbot 478edc1c04 📝 docs(bot): Auto sync agents & plugin to readme 2024-11-27 19:08:53 +00:00
semantic-release-bot cd1e773417 🔖 chore(release): v1.34.4 [skip ci]
### [Version&nbsp;1.34.4](https://github.com/lobehub/lobe-chat/compare/v1.34.3...v1.34.4)
<sup>Released on **2024-11-27**</sup>

#### 💄 Styles

- **misc**: Add switch portal thread.

<br/>

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

#### Styles

* **misc**: Add switch portal thread, closes [#4819](https://github.com/lobehub/lobe-chat/issues/4819) ([8dbf3ce](https://github.com/lobehub/lobe-chat/commit/8dbf3ce))

</details>

<div align="right">

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

</div>
2024-11-27 19:07:55 +00:00
Arvin Xu 8dbf3ce52f 💄 style: add switch portal thread (#4819)
* 💄 style: improve i18n

* 💄 style: add switch portal thread

* style: improve i18n
2024-11-28 03:00:18 +08:00
lobehubbot b4093799ca 📝 docs(bot): Auto sync agents & plugin to readme 2024-11-27 17:55:54 +00:00
semantic-release-bot 3d1b99a267 🔖 chore(release): v1.34.3 [skip ci]
### [Version&nbsp;1.34.3](https://github.com/lobehub/lobe-chat/compare/v1.34.2...v1.34.3)
<sup>Released on **2024-11-27**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix fallback behavior of default mode in AgentRuntime.

<br/>

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

#### What's fixed

* **misc**: Fix fallback behavior of default mode in AgentRuntime, closes [#4813](https://github.com/lobehub/lobe-chat/issues/4813) ([e7cb62e](https://github.com/lobehub/lobe-chat/commit/e7cb62e))

</details>

<div align="right">

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

</div>
2024-11-27 17:54:56 +00:00
Zhijie He e7cb62ea0f 🐛 fix: fix fallback behavior of default mode in AgentRuntime (#4813)
* 🐛 fix: fix fallback behavior of default mode in AgentRuntime

* ♻️ refactor: optimize fallback behavior

* 🔨 chore: add unit test
2024-11-28 01:47:05 +08:00
lobehubbot 0a7203b5cf 📝 docs(bot): Auto sync agents & plugin to readme 2024-11-27 04:34:46 +00:00
semantic-release-bot 838cea483c 🔖 chore(release): v1.34.2 [skip ci]
### [Version&nbsp;1.34.2](https://github.com/lobehub/lobe-chat/compare/v1.34.1...v1.34.2)
<sup>Released on **2024-11-27**</sup>

#### 💄 Styles

- **misc**: Improve thread i18n locale.

<br/>

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

#### Styles

* **misc**: Improve thread i18n locale, closes [#4807](https://github.com/lobehub/lobe-chat/issues/4807) ([3da1704](https://github.com/lobehub/lobe-chat/commit/3da1704))

</details>

<div align="right">

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

</div>
2024-11-27 04:33:52 +00:00
Arvin Xu 3da1704f29 💄 style: improve thread i18n locale (#4807) 2024-11-27 12:26:06 +08:00
lobehubbot d726f33bc2 📝 docs(bot): Auto sync agents & plugin to readme 2024-11-26 18:31:17 +00:00
semantic-release-bot 41899fab58 🔖 chore(release): v1.34.1 [skip ci]
### [Version&nbsp;1.34.1](https://github.com/lobehub/lobe-chat/compare/v1.34.0...v1.34.1)
<sup>Released on **2024-11-26**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix Qwen baseUrl calling.

<br/>

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

#### What's fixed

* **misc**: Fix Qwen baseUrl calling, closes [#4799](https://github.com/lobehub/lobe-chat/issues/4799) ([8fd7eb7](https://github.com/lobehub/lobe-chat/commit/8fd7eb7))

</details>

<div align="right">

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

</div>
2024-11-26 18:30:20 +00:00
Zhijie He 8fd7eb7f86 🐛 fix: fix Qwen baseUrl calling (#4799)
* 🐛 fix: fix Qwen baseUrl calling

* ♻️ refactor: refactor baseURL import logic

* 🔨 chore: rollback changes

* 🔨 chore: add unit test
2024-11-27 02:22:32 +08:00
lobehubbot 66c820b759 📝 docs(bot): Auto sync agents & plugin to readme 2024-11-26 13:57:29 +00:00
semantic-release-bot aa6c170748 🔖 chore(release): v1.34.0 [skip ci]
## [Version&nbsp;1.34.0](https://github.com/lobehub/lobe-chat/compare/v1.33.5...v1.34.0)
<sup>Released on **2024-11-26**</sup>

####  Features

- **misc**: Forkable Chat Mode.

<br/>

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

#### What's improved

* **misc**: Forkable Chat Mode, closes [#4632](https://github.com/lobehub/lobe-chat/issues/4632) ([832f0ce](https://github.com/lobehub/lobe-chat/commit/832f0ce))

</details>

<div align="right">

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

</div>
2024-11-26 13:56:23 +00:00
Arvin Xu 832f0ceb35 feat: Forkable Chat Mode (#4632)
*  feat: 初步完成 forkable 对话能力

 feat: 支持自动总结

portal thread 支持 plugin 调用

 test: fix tests

💄 style: improve topic thread style

💄 style: support action bar

💄 style: finish footer part

♻️ refactor: refactor the token

 feat: 初步完成 thread 新建与继续对话

 feat: 支持并完善 main thread 下的对话能力

 feat: 支持切换 thread 激活态

💄 style: fix style

🐛 fix: fix the thread open logic

💄 style: finish thread style

 feat: 初步实现分支话题选择和子话题切换

💄 style: finish thread in chat

💄 style: show thread item in chat

 feat: support portal thread id

 feat: 增加 thread 展示项

💄 style: 强提示用户子话题暂不支持上传文件/图片等

️ perf: refactor to improve chat performance

* 🐛 fix: fix thread history length

* 🐛 fix: fix plugin in portal thread

* 🐛 fix: disable delete on source message

* 发送 Thread 消息时只 loading Thread 的 send button

* fix lint

* 激活 Thread 的情况下暂不支持创建子 Thread

* fix lint

* 支持 portal 的移动端展示

* improve portal thread style

* 🌐 chore: update i18n

* 🌐 chore: update i18n

* 🐛 fix: fix tool display

* 🐛 fix: not fetch thread on client side

* ♻️ refactor: refactor the migration sql
2024-11-26 21:48:37 +08:00
lobehubbot d9a11bb763 📝 docs(bot): Auto sync agents & plugin to readme 2024-11-26 09:56:07 +00:00
semantic-release-bot f17313e896 🔖 chore(release): v1.33.5 [skip ci]
### [Version&nbsp;1.33.5](https://github.com/lobehub/lobe-chat/compare/v1.33.4...v1.33.5)
<sup>Released on **2024-11-26**</sup>

#### 💄 Styles

- **misc**: Update the description translation of Gitee AI.

<br/>

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

#### Styles

* **misc**: Update the description translation of Gitee AI, closes [#4793](https://github.com/lobehub/lobe-chat/issues/4793) ([6f8eddc](https://github.com/lobehub/lobe-chat/commit/6f8eddc))

</details>

<div align="right">

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

</div>
2024-11-26 09:55:10 +00:00
Liu 6f8eddcfc1 💄 style: update the description translation of Gitee AI (#4793) 2024-11-26 17:47:26 +08:00
canisminor1990 11f0816b25 📝 docs: Update static changelog [skip ci] 2024-11-26 17:25:31 +08:00
canisminor1990 8e123dd242 📝 docs: Fix changelog filename [skip ci] 2024-11-26 15:05:14 +08:00
CanisMinor 19da5e419d 🔧 chore: Add changelog workflow (#4662)
* 🔧 chore: Add changelog workflow

* 🔧 chore: Update schema

* 🔧 chore: Update schema

* 🔧 chore: Update changelog workflow

* 🔧 chore: Update changelog json

* 🔧 chore: Update changelog

* 📝 docs: Update Changelog
2024-11-26 14:48:06 +08:00
semantic-release-bot 19a0c5710c 🔖 chore(release): v1.33.4 [skip ci]
### [Version&nbsp;1.33.4](https://github.com/lobehub/lobe-chat/compare/v1.33.3...v1.33.4)
<sup>Released on **2024-11-26**</sup>

#### ♻ Code Refactoring

- **misc**: Refactor `getLlmOptionsFromPayload` from AgentRuntime.

<br/>

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

#### Code refactoring

* **misc**: Refactor `getLlmOptionsFromPayload` from AgentRuntime, closes [#4790](https://github.com/lobehub/lobe-chat/issues/4790) ([e8948e6](https://github.com/lobehub/lobe-chat/commit/e8948e6))

</details>

<div align="right">

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

</div>
2024-11-26 03:45:51 +00:00
Zhijie He e8948e6c15 ♻️ refactor: refactor getLlmOptionsFromPayload from AgentRuntime (#4790)
* ♻️ refactor: refactor `getLlmOptionsFromPayload` from AgentRuntime

* 🔨 chore: format coding

* 🔨 chore: cleanup

* 🐛 fix: fix typo

* 🔨 chore: rollback changes

* 🐛 fix: fix CI error
2024-11-26 11:37:34 +08:00
semantic-release-bot b04f599982 🔖 chore(release): v1.33.3 [skip ci]
### [Version&nbsp;1.33.3](https://github.com/lobehub/lobe-chat/compare/v1.33.2...v1.33.3)
<sup>Released on **2024-11-25**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix `fetchOnClient` functional for Moonshot.

<br/>

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

#### What's fixed

* **misc**: Fix `fetchOnClient` functional for Moonshot, closes [#4787](https://github.com/lobehub/lobe-chat/issues/4787) ([bef89a7](https://github.com/lobehub/lobe-chat/commit/bef89a7))

</details>

<div align="right">

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

</div>
2024-11-25 17:16:52 +00:00
Zhijie He bef89a7f1f 🐛 fix: fix fetchOnClient functional for Moonshot (#4787)
* 🐛 fix: fix `fetchOnClient` functional for Moonshot

* 🔨 chore: cleanup code
2024-11-26 01:09:12 +08:00
semantic-release-bot 6b34f44cec 🔖 chore(release): v1.33.2 [skip ci]
### [Version&nbsp;1.33.2](https://github.com/lobehub/lobe-chat/compare/v1.33.1...v1.33.2)
<sup>Released on **2024-11-25**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix multi-turns tools calling.

<br/>

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

#### What's fixed

* **misc**: Fix multi-turns tools calling, closes [#4789](https://github.com/lobehub/lobe-chat/issues/4789) ([9d8845f](https://github.com/lobehub/lobe-chat/commit/9d8845f))

</details>

<div align="right">

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

</div>
2024-11-25 13:25:06 +00:00
Arvin Xu 9d8845fbac 🐛 fix: fix multi-turns tools calling (#4789)
* 🐛 fix: fix tools calling

* 🐛 fix: fix tools calling
2024-11-25 21:17:24 +08:00
semantic-release-bot b57d996e56 🔖 chore(release): v1.33.1 [skip ci]
### [Version&nbsp;1.33.1](https://github.com/lobehub/lobe-chat/compare/v1.33.0...v1.33.1)
<sup>Released on **2024-11-25**</sup>

#### 💄 Styles

- **misc**: Add gemini-exp-1121 model.

<br/>

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

#### Styles

* **misc**: Add gemini-exp-1121 model, closes [#4783](https://github.com/lobehub/lobe-chat/issues/4783) ([3b2cd88](https://github.com/lobehub/lobe-chat/commit/3b2cd88))

</details>

<div align="right">

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

</div>
2024-11-25 05:18:41 +00:00
xgbstar1 3b2cd88868 💄 style: Add gemini-exp-1121 model (#4783) 2024-11-25 13:11:07 +08:00
semantic-release-bot 35e228f340 🔖 chore(release): v1.33.0 [skip ci]
## [Version&nbsp;1.33.0](https://github.com/lobehub/lobe-chat/compare/v1.32.9...v1.33.0)
<sup>Released on **2024-11-25**</sup>

####  Features

- **misc**: Add Gitee AI model provider.

<br/>

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

#### What's improved

* **misc**: Add Gitee AI model provider, closes [#4716](https://github.com/lobehub/lobe-chat/issues/4716) ([f1cb0af](https://github.com/lobehub/lobe-chat/commit/f1cb0af))

</details>

<div align="right">

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

</div>
2024-11-25 02:30:17 +00:00
Zhijie He f1cb0afc0e feat: add Gitee AI model provider (#4716)
*  feat: add Gitee model provider

* 🐛 fix: fix `code-raccoon-v1` topP issue

* 💄 style: update model list

* 👷 build: add docker env

* 🐛 fix: fix CI error

* 🔨 chore: cleanup code

* 💄 style: update modelProvider display name

* 💄 style: update Gitee AI branding
2024-11-25 10:22:41 +08:00
semantic-release-bot 2a5711777f 🔖 chore(release): v1.32.9 [skip ci]
### [Version&nbsp;1.32.9](https://github.com/lobehub/lobe-chat/compare/v1.32.8...v1.32.9)
<sup>Released on **2024-11-24**</sup>

#### 💄 Styles

- **misc**: Support to reset fetched models.

<br/>

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

#### Styles

* **misc**: Support to reset fetched models, closes [#4260](https://github.com/lobehub/lobe-chat/issues/4260) ([22480a9](https://github.com/lobehub/lobe-chat/commit/22480a9))

</details>

<div align="right">

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

</div>
2024-11-24 19:01:31 +00:00
vual 22480a9d3d 💄 style: support to reset fetched models (#4260)
* 增加【清除获取的模型】的功能,主要是用于在获取模型列表后,不想要了,需要恢复系统自带的模型。

* revert

* 🌐 chore: update locale

* 🎨 refactor: refactor code

---------

Co-authored-by: arvinxx <arvinx@foxmail.com>
2024-11-25 02:53:07 +08:00
semantic-release-bot 795055b333 🔖 chore(release): v1.32.8 [skip ci]
### [Version&nbsp;1.32.8](https://github.com/lobehub/lobe-chat/compare/v1.32.7...v1.32.8)
<sup>Released on **2024-11-24**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix `XAI_PROXY_URL` env missing.

<br/>

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

#### What's fixed

* **misc**: Fix `XAI_PROXY_URL` env missing, closes [#4747](https://github.com/lobehub/lobe-chat/issues/4747) ([7c9e88e](https://github.com/lobehub/lobe-chat/commit/7c9e88e))

</details>

<div align="right">

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

</div>
2024-11-24 15:30:19 +00:00
Zhijie He 7c9e88eb60 🐛 fix: fix XAI_PROXY_URL env missing (#4747)
* 🐛 fix: fix `XAI_PROXY_URL` env missing

* ♻️ refactor: refactor `*_PROXY_URL`, get var from ENV

* 🐛 fix: fix `MOONSHOT_PROXY_URL` behavior
2024-11-24 23:22:37 +08:00
semantic-release-bot a7a208b006 🔖 chore(release): v1.32.7 [skip ci]
### [Version&nbsp;1.32.7](https://github.com/lobehub/lobe-chat/compare/v1.32.6...v1.32.7)
<sup>Released on **2024-11-24**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix tool message display.

<br/>

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

#### What's fixed

* **misc**: Fix tool message display, closes [#4776](https://github.com/lobehub/lobe-chat/issues/4776) ([9d9b2a2](https://github.com/lobehub/lobe-chat/commit/9d9b2a2))

</details>

<div align="right">

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

</div>
2024-11-24 12:27:10 +00:00
Arvin Xu 9d9b2a2799 🐛 fix: fix tool message display (#4776) 2024-11-24 20:19:41 +08:00
semantic-release-bot 5ab57dca5f 🔖 chore(release): v1.32.6 [skip ci]
### [Version&nbsp;1.32.6](https://github.com/lobehub/lobe-chat/compare/v1.32.5...v1.32.6)
<sup>Released on **2024-11-24**</sup>

<br/>

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

</details>

<div align="right">

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

</div>
2024-11-24 11:39:49 +00:00
柴米油盐的梦想 3f55e2ad12 💄 sytle: update HuggingFace models (#4757) 2024-11-24 19:32:09 +08:00
Arvin Xu ec9d15164c 👷 build: pin langfuse@3.29.1 to fix netlify build (#4775) 2024-11-24 19:29:03 +08:00
semantic-release-bot 866f61060e 🔖 chore(release): v1.32.5 [skip ci]
### [Version&nbsp;1.32.5](https://github.com/lobehub/lobe-chat/compare/v1.32.4...v1.32.5)
<sup>Released on **2024-11-24**</sup>

#### ♻ Code Refactoring

- **misc**: Refactor the main chat.

<br/>

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

#### Code refactoring

* **misc**: Refactor the main chat, closes [#4773](https://github.com/lobehub/lobe-chat/issues/4773) ([6973f4e](https://github.com/lobehub/lobe-chat/commit/6973f4e))

</details>

<div align="right">

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

</div>
2024-11-24 10:37:41 +00:00
Arvin Xu 6973f4eebd ♻️ refactor: refactor the main chat (#4773)
* ♻️ refactor: refactor the main chat

* ♻️ refactor: refactor welcome
2024-11-24 18:29:19 +08:00
renovate[bot] d41f955009 Update pnpm to v9.14.2 (#4766)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-24 17:43:05 +08:00
semantic-release-bot 6b0a37db86 🔖 chore(release): v1.32.4 [skip ci]
### [Version&nbsp;1.32.4](https://github.com/lobehub/lobe-chat/compare/v1.32.3...v1.32.4)
<sup>Released on **2024-11-20**</sup>

#### ♻ Code Refactoring

- **misc**: Refactor the default locale.

<br/>

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

#### Code refactoring

* **misc**: Refactor the default locale, closes [#4729](https://github.com/lobehub/lobe-chat/issues/4729) ([3f8d3db](https://github.com/lobehub/lobe-chat/commit/3f8d3db))

</details>

<div align="right">

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

</div>
2024-11-20 15:33:30 +00:00
Arvin Xu 3f8d3db52f ♻️ refactor: refactor the default locale (#4729)
* ♻️ refactor: refactor the default locale

* 🌐 chore: update locale
2024-11-20 23:25:37 +08:00
lobehubbot 20142594c6 📝 docs(bot): Auto sync agents & plugin to readme 2024-11-20 15:18:14 +00:00
semantic-release-bot 59a4d20916 🔖 chore(release): v1.32.3 [skip ci]
### [Version&nbsp;1.32.3](https://github.com/lobehub/lobe-chat/compare/v1.32.2...v1.32.3)
<sup>Released on **2024-11-20**</sup>

#### 💄 Styles

- **misc**: Add grok-vision-beta model, update Mistral model list, add `pixtral-large-latest`.

<br/>

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

#### Styles

* **misc**: Add grok-vision-beta model, closes [#4734](https://github.com/lobehub/lobe-chat/issues/4734) ([744ea30](https://github.com/lobehub/lobe-chat/commit/744ea30))
* **misc**: Update Mistral model list, add `pixtral-large-latest`, closes [#4744](https://github.com/lobehub/lobe-chat/issues/4744) ([7ee6fdd](https://github.com/lobehub/lobe-chat/commit/7ee6fdd))

</details>

<div align="right">

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

</div>
2024-11-20 15:17:09 +00:00
Zhijie He 7ee6fdd555 💄 style: update Mistral model list, add pixtral-large-latest (#4744)
* 💄 style: update Mistral model list, add `pixtral-large-latest`

* 💄 style: add functionCall tag
2024-11-20 23:08:59 +08:00
sxjeru 744ea30130 💄 style: Add grok-vision-beta model (#4734)
* Update xai.ts

* Update xai.ts

* Update xai.ts
2024-11-20 23:08:12 +08:00
semantic-release-bot 75a9b00898 🔖 chore(release): v1.32.2 [skip ci]
### [Version&nbsp;1.32.2](https://github.com/lobehub/lobe-chat/compare/v1.32.1...v1.32.2)
<sup>Released on **2024-11-19**</sup>

<br/>

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

</details>

<div align="right">

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

</div>
2024-11-19 14:00:44 +00:00
Arvin Xu f711cefca3 ️ perf: fix slow delete file sql (#4738) 2024-11-19 21:52:44 +08:00
semantic-release-bot 41d92d8382 🔖 chore(release): v1.32.1 [skip ci]
### [Version&nbsp;1.32.1](https://github.com/lobehub/lobe-chat/compare/v1.32.0...v1.32.1)
<sup>Released on **2024-11-19**</sup>

#### 🐛 Bug Fixes

- **misc**: Keyword search for chat history & sessions.

#### 💄 Styles

- **misc**: Support o1 models using streaming.

<br/>

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

#### What's fixed

* **misc**: Keyword search for chat history & sessions, closes [#4725](https://github.com/lobehub/lobe-chat/issues/4725) ([415d772](https://github.com/lobehub/lobe-chat/commit/415d772))

#### Styles

* **misc**: Support o1 models using streaming, closes [#4732](https://github.com/lobehub/lobe-chat/issues/4732) ([7e9e71a](https://github.com/lobehub/lobe-chat/commit/7e9e71a))

</details>

<div align="right">

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

</div>
2024-11-19 03:40:37 +00:00
Arvin Xu 7e9e71accc 💄 style: support o1 models using streaming (#4732) 2024-11-19 11:32:49 +08:00
Yao Cai 415d7721ec 🐛 fix: keyword search for chat history & sessions (#4725)
* 🐛 fix: sql for keyword search

* 🐛 fix: display search topics in time mode

* 🐛 fix: keyword search on sessions

* 🧪 test: adjust tests to new keyword search
2024-11-19 11:32:36 +08:00
semantic-release-bot c154cb584a 🔖 chore(release): v1.32.0 [skip ci]
## [Version&nbsp;1.32.0](https://github.com/lobehub/lobe-chat/compare/v1.31.11...v1.32.0)
<sup>Released on **2024-11-19**</sup>

####  Features

- **misc**: Add support InternLM (书生浦语) provider.

<br/>

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

#### What's improved

* **misc**: Add support InternLM (书生浦语) provider, closes [#4711](https://github.com/lobehub/lobe-chat/issues/4711) ([aaae059](https://github.com/lobehub/lobe-chat/commit/aaae059))

</details>

<div align="right">

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

</div>
2024-11-19 02:54:04 +00:00
Zhijie He aaae0596ac feat: add support InternLM (书生浦语) provider (#4711)
*  feat: add support InternLM (书生浦语) provider

* 🐛 fix: fix tools calling, disable streaming, not support

* 💄 style: disable Client Fetch mode, not support

* 🔨 chore: cleanup code
2024-11-19 10:46:07 +08:00
semantic-release-bot c59f33809b 🔖 chore(release): v1.31.11 [skip ci]
### [Version&nbsp;1.31.11](https://github.com/lobehub/lobe-chat/compare/v1.31.10...v1.31.11)
<sup>Released on **2024-11-18**</sup>

#### 🐛 Bug Fixes

- **misc**: Connection check logic.

<br/>

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

#### What's fixed

* **misc**: Connection check logic, closes [#4722](https://github.com/lobehub/lobe-chat/issues/4722) ([b361840](https://github.com/lobehub/lobe-chat/commit/b361840))

</details>

<div align="right">

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

</div>
2024-11-18 18:17:18 +00:00
renovate[bot] 9e8b29a155 Update dependency @cfworker/json-schema to v3 (#4715)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-19 02:09:15 +08:00
renovate[bot] 12a4338a52 Update pnpm to v9.13.2 (#4713)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-19 02:04:37 +08:00
QuentinHsu b361840cb2 🐛 fix: connection check logic (#4722) 2024-11-19 02:04:13 +08:00
QuentinHsu 7232019a7b 🌐 chore: update i18n (#4720) 2024-11-17 23:50:25 +08:00
QuentinHsu 38ae7f944e 🌐 chore: update i18n (#4719) 2024-11-17 19:47:41 +08:00
semantic-release-bot 9a12e1cabe 🔖 chore(release): v1.31.10 [skip ci]
### [Version&nbsp;1.31.10](https://github.com/lobehub/lobe-chat/compare/v1.31.9...v1.31.10)
<sup>Released on **2024-11-16**</sup>

<br/>

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

</details>

<div align="right">

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

</div>
2024-11-16 17:01:31 +00:00
Arvin Xu 5512a8206c ️ perf: refactor to improve chat performance (#4708)
* ️ perf: refactor to improve chat performance

* ️ perf: refactor to improve chat performance
2024-11-17 00:53:47 +08:00
semantic-release-bot 9f118a4b83 🔖 chore(release): v1.31.9 [skip ci]
### [Version&nbsp;1.31.9](https://github.com/lobehub/lobe-chat/compare/v1.31.8...v1.31.9)
<sup>Released on **2024-11-16**</sup>

#### 💄 Styles

- **misc**: Add gemini-exp-1114 model.

<br/>

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

#### Styles

* **misc**: Add gemini-exp-1114 model, closes [#4702](https://github.com/lobehub/lobe-chat/issues/4702) ([b3306f2](https://github.com/lobehub/lobe-chat/commit/b3306f2))

</details>

<div align="right">

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

</div>
2024-11-16 04:34:41 +00:00
sxjeru b3306f2101 💄 style: Add gemini-exp-1114 model (#4702) 2024-11-16 12:27:01 +08:00
semantic-release-bot 3e63e5bb85 🔖 chore(release): v1.31.8 [skip ci]
### [Version&nbsp;1.31.8](https://github.com/lobehub/lobe-chat/compare/v1.31.7...v1.31.8)
<sup>Released on **2024-11-15**</sup>

#### ♻ Code Refactoring

- **misc**: Move ChatInput to features/ChatInput.

<br/>

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

#### Code refactoring

* **misc**: Move ChatInput to features/ChatInput, closes [#4699](https://github.com/lobehub/lobe-chat/issues/4699) ([5737d3f](https://github.com/lobehub/lobe-chat/commit/5737d3f))

</details>

<div align="right">

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

</div>
2024-11-15 14:49:34 +00:00
Arvin Xu 5737d3fd37 ♻️ refactor: move ChatInput to features/ChatInput (#4699) 2024-11-15 22:41:45 +08:00
lobehubbot a723f1a577 📝 docs(bot): Auto sync agents & plugin to readme 2024-11-15 14:23:33 +00:00
semantic-release-bot 601582c54d 🔖 chore(release): v1.31.7 [skip ci]
### [Version&nbsp;1.31.7](https://github.com/lobehub/lobe-chat/compare/v1.31.6...v1.31.7)
<sup>Released on **2024-11-15**</sup>

#### ♻ Code Refactoring

- **misc**: `genServerLLMConfig` function, get *_MODEL_LIST from env.

<br/>

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

#### Code refactoring

* **misc**: `genServerLLMConfig` function, get *_MODEL_LIST from env, closes [#4694](https://github.com/lobehub/lobe-chat/issues/4694) ([d84f369](https://github.com/lobehub/lobe-chat/commit/d84f369))

</details>

<div align="right">

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

</div>
2024-11-15 14:22:30 +00:00
Zhijie He d84f369d85 ♻️ refactor: genServerLLMConfig function, get *_MODEL_LIST from env (#4694)
* 🐛 fix: fix `CLOUDFLARE_MODEL_LIST` not working

* ♻️ refactor: get `*_MODEL_LIST` from env

* 🔨 chore: udpate CI for testing `*_MODEL_LIST` from env

* 🔨 chore: improve const
2024-11-15 22:14:39 +08:00
TC 32630fa42d 📝 docs: add docs for cloudflare (#4685)
* 📝 docs: update docs for providers

* 📝 docs: update provider doc

* docs: add doc for cloudflare
2024-11-14 10:44:51 +08:00
semantic-release-bot 771bf87d66 🔖 chore(release): v1.31.6 [skip ci]
### [Version&nbsp;1.31.6](https://github.com/lobehub/lobe-chat/compare/v1.31.5...v1.31.6)
<sup>Released on **2024-11-13**</sup>

#### ♻ Code Refactoring

- **misc**: Refactor the chat conversation implement.

<br/>

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

#### Code refactoring

* **misc**: Refactor the chat conversation implement, closes [#4689](https://github.com/lobehub/lobe-chat/issues/4689) ([85b1630](https://github.com/lobehub/lobe-chat/commit/85b1630))

</details>

<div align="right">

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

</div>
2024-11-13 16:14:31 +00:00
Arvin Xu 85b163037d ♻️ refactor: refactor the chat conversation implement (#4689) 2024-11-14 00:06:18 +08:00
Arvin Xu 80fbd9afb3 🌐 chore: update locales (#4684) 2024-11-13 20:16:35 +08:00
semantic-release-bot f6e4d00922 🔖 chore(release): v1.31.5 [skip ci]
### [Version&nbsp;1.31.5](https://github.com/lobehub/lobe-chat/compare/v1.31.4...v1.31.5)
<sup>Released on **2024-11-12**</sup>

#### 💄 Styles

- **misc**: Update some provider modellist & fix ai360 baseurl.

<br/>

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

#### Styles

* **misc**: Update some provider modellist & fix ai360 baseurl, closes [#4679](https://github.com/lobehub/lobe-chat/issues/4679) ([1b19fae](https://github.com/lobehub/lobe-chat/commit/1b19fae))

</details>

<div align="right">

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

</div>
2024-11-12 15:15:26 +00:00
LovelyGuYiMeng 1b19fae6c8 💄 style: update some provider modellist & fix ai360 baseurl (#4679)
* Update deepseek.ts

* Update siliconcloud.ts

* Update wenxin.ts

* Update qwen.ts

* Update baichuan.ts

* Update siliconcloud.ts

* Update index.ts

* Update index.test.ts
2024-11-12 23:07:37 +08:00
semantic-release-bot 7cface2972 🔖 chore(release): v1.31.4 [skip ci]
### [Version&nbsp;1.31.4](https://github.com/lobehub/lobe-chat/compare/v1.31.3...v1.31.4)
<sup>Released on **2024-11-12**</sup>

#### 💄 Styles

- **misc**: Fix Cloudflare Workers AI Sort.

<br/>

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

#### Styles

* **misc**: Fix Cloudflare Workers AI Sort, closes [#4672](https://github.com/lobehub/lobe-chat/issues/4672) ([353ba70](https://github.com/lobehub/lobe-chat/commit/353ba70))

</details>

<div align="right">

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

</div>
2024-11-12 14:48:03 +00:00
LovelyGuYiMeng 353ba70b25 💄 style: Fix Cloudflare Workers AI Sort (#4672) 2024-11-12 22:40:12 +08:00
semantic-release-bot 46e467e00a 🔖 chore(release): v1.31.3 [skip ci]
### [Version&nbsp;1.31.3](https://github.com/lobehub/lobe-chat/compare/v1.31.2...v1.31.3)
<sup>Released on **2024-11-12**</sup>

#### ♻ Code Refactoring

- **misc**: Refactor `languageModel` & `DEFAULT_LLM_CONFIG` generate.

<br/>

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

#### Code refactoring

* **misc**: Refactor `languageModel` & `DEFAULT_LLM_CONFIG` generate, closes [#4649](https://github.com/lobehub/lobe-chat/issues/4649) ([2045131](https://github.com/lobehub/lobe-chat/commit/2045131))

</details>

<div align="right">

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

</div>
2024-11-12 13:32:01 +00:00
Zhijie He 2045131c00 ♻️ refactor: refactor languageModel & DEFAULT_LLM_CONFIG generate (#4649)
* ♻️ refactor: refactor `languageModel` generate

* 🔨 chore: minor code

* 🔨 chore: minor code

* 🔨 chore: split function & add unit test

* 🔨 chore: minor code & improve `specificConfig` injection

* ♻️ refactor: refactor `DEFAULT_LLM_CONFIG` generate

* ♻️ refactor: move `genUserLLMConfig ` & `genServerLLMConfig ` to `@/utils/genLLMConfig`

* 🔨 chore: move back `genLLMConfig.ts`, add parm support for `genUserLLMConfig`

* 🔨 chore: split `genUserLLMConfig`

* ♻️ refactor: add unit test, refactor `genServerLLMConfig`
2024-11-12 21:24:04 +08:00
semantic-release-bot 349787edbd 🔖 chore(release): v1.31.2 [skip ci]
### [Version&nbsp;1.31.2](https://github.com/lobehub/lobe-chat/compare/v1.31.1...v1.31.2)
<sup>Released on **2024-11-12**</sup>

#### 💄 Styles

- **misc**: Update deepseek model.

<br/>

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

#### Styles

* **misc**: Update deepseek model, closes [#4674](https://github.com/lobehub/lobe-chat/issues/4674) ([5ab2986](https://github.com/lobehub/lobe-chat/commit/5ab2986))

</details>

<div align="right">

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

</div>
2024-11-12 07:08:44 +00:00
sxjeru 5ab2986182 💄 style: Update deepseek model (#4674)
* Update deepseek.ts

* Update deepseek.ts
2024-11-12 15:00:54 +08:00
semantic-release-bot 575c1eafc2 🔖 chore(release): v1.31.1 [skip ci]
### [Version&nbsp;1.31.1](https://github.com/lobehub/lobe-chat/compare/v1.31.0...v1.31.1)
<sup>Released on **2024-11-12**</sup>

#### 💄 Styles

- **misc**: Fix Windows always showing scrollbar.

<br/>

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

#### Styles

* **misc**: Fix Windows always showing scrollbar, closes [#4502](https://github.com/lobehub/lobe-chat/issues/4502) ([780a2a9](https://github.com/lobehub/lobe-chat/commit/780a2a9))

</details>

<div align="right">

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

</div>
2024-11-12 03:26:38 +00:00
coulsontl 6af7b52901 👷 build: support to ignore \n with XXX_MODEL_LIST env (#4660)
* chore: 解析自定义模型时兼容模型名称为空的情况

* chore: supplementary single test code
2024-11-12 11:18:52 +08:00
mushan0x0 780a2a980a 💄 style: fix Windows always showing scrollbar (#4502) 2024-11-12 11:16:07 +08:00
semantic-release-bot c209c17157 🔖 chore(release): v1.31.0 [skip ci]
## [Version&nbsp;1.31.0](https://github.com/lobehub/lobe-chat/compare/v1.30.0...v1.31.0)
<sup>Released on **2024-11-11**</sup>

####  Features

- **misc**: Add support xAI provider.

<br/>

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

#### What's improved

* **misc**: Add support xAI provider, closes [#4627](https://github.com/lobehub/lobe-chat/issues/4627) ([49e1e08](https://github.com/lobehub/lobe-chat/commit/49e1e08))

</details>

<div align="right">

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

</div>
2024-11-11 17:59:04 +00:00
Zhijie He 49e1e08818 feat: add support xAI provider (#4627)
*  feat: add support xAI provider

* 💄 style: update model info

* 🐛 fix: fix CI error

* 👷 build: add docker env

* 💄 style: add desc for xAI
2024-11-12 01:51:18 +08:00
waterhydroxyl 308d97debd 📝 docs: Update docs/usage/features/database.zh-CN.mdx (#4637)
* ```
Add initial placeholder file

Created an initial placeholder file '1.txt' to set up project structure. This file will serve as a base for future content.
```

* Update `docs/usage/features/database.zh-CN.mdx`

* Delete 1.txt
2024-11-12 01:37:22 +08:00
semantic-release-bot 1410f3e458 🔖 chore(release): v1.30.0 [skip ci]
## [Version&nbsp;1.30.0](https://github.com/lobehub/lobe-chat/compare/v1.29.6...v1.30.0)
<sup>Released on **2024-11-11**</sup>

####  Features

- **misc**: Support Cloudflare Workers AI.

<br/>

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

#### What's improved

* **misc**: Support Cloudflare Workers AI, closes [#3402](https://github.com/lobehub/lobe-chat/issues/3402) [/github.com/vercel/next.js/issues/38736#issuecomment-1278917422](https://github.com//github.com/vercel/next.js/issues/38736/issues/issuecomment-1278917422) ([efb7adf](https://github.com/lobehub/lobe-chat/commit/efb7adf))

</details>

<div align="right">

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

</div>
2024-11-11 17:28:59 +00:00
BrandonStudio efb7adf89a feat: Support Cloudflare Workers AI (#3402)
* Delete .nvmrc

* feat: Add Cloudflare as a model provider

This commit adds support for Cloudflare as a model provider. It includes changes to the `ModelProvider` enum, the `UserKeyVaults` interface, the `getServerGlobalConfig` function, the `DEFAULT_LLM_CONFIG` constant, the `getLLMConfig` function, the `AgentRuntime` class, and the `DEFAULT_MODEL_PROVIDER_LIST` constant.

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix icon

* fix

* Create .nvmrc

* Delete src/config/modelProviders/.nvmrc

* CF -> CLOUDFLARE

* revert

* chore: Update agentRuntime.ts and auth.ts to support Cloudflare account ID in payload

* Add provider setting

* fix

* Update cloudflare.ts

* fix

* Update cloudflare.ts

* accountID

* fix

* i18n

* save changes

* commit check

* disable function calling for now

* does not catch errors when fetching models

* ready to add base url

* commit check

* revert change

* revert string boolean check

* fix type error on Vercel.
refer to https://github.com/vercel/next.js/issues/38736#issuecomment-1278917422

* i18n by groq/llama-3.1-8b-instant

* rename env var

* add test

* Revert changes that are not relavant to Cloudflare and result in merge conflicts.

* add test for models()

* move helper code to standalone file

* add test for helper methods

* remove encoder

* Merge main into cf-chat-m

* remove brand

* remove template comment

* add provider card

* Update lobe-icons

* Fix setting layout

* minor modification of model list

---------

Co-authored-by: sxjeru <sxjeru@gmail.com>
2024-11-12 01:21:16 +08:00
semantic-release-bot b4514cf4f0 🔖 chore(release): v1.29.6 [skip ci]
### [Version&nbsp;1.29.6](https://github.com/lobehub/lobe-chat/compare/v1.29.5...v1.29.6)
<sup>Released on **2024-11-10**</sup>

#### 💄 Styles

- **misc**: Add Sonnet 3.5 v2 inference model to BedRock.

<br/>

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

#### Styles

* **misc**: Add Sonnet 3.5 v2 inference model to BedRock, closes [#4652](https://github.com/lobehub/lobe-chat/issues/4652) ([1a8584d](https://github.com/lobehub/lobe-chat/commit/1a8584d))

</details>

<div align="right">

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

</div>
2024-11-10 14:51:38 +00:00
Yoon Kyong Sik 1a8584d92f 💄 style: Add Sonnet 3.5 v2 inference model to BedRock (#4652)
* Update bedrock.ts

Modify Claude 3.5 Sonnet v2 id for access using us-east1 via us-east2.

* Update bedrock.ts

* Update bedrock.ts

* Update bedrock.ts
2024-11-10 22:44:02 +08:00
semantic-release-bot 2ee4004134 🔖 chore(release): v1.29.5 [skip ci]
### [Version&nbsp;1.29.5](https://github.com/lobehub/lobe-chat/compare/v1.29.4...v1.29.5)
<sup>Released on **2024-11-10**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix summary range.

<br/>

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

#### What's fixed

* **misc**: Fix summary range, closes [#4664](https://github.com/lobehub/lobe-chat/issues/4664) ([140c301](https://github.com/lobehub/lobe-chat/commit/140c301))

</details>

<div align="right">

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

</div>
2024-11-10 14:27:14 +00:00
Arvin Xu 140c3013c8 🐛 fix: fix summary range (#4664)
* ♻️ refactor: refactor the home loading page

* 🐛 fix: fix ui range
2024-11-10 22:19:34 +08:00
renovate[bot] d4a218accc Update dependency drizzle-kit to ^0.28.0 (#4658)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-10 19:40:34 +08:00
renovate[bot] bce8e2f386 Update dependency @anthropic-ai/sdk to ^0.32.0 (#4657)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-10 17:48:30 +08:00
semantic-release-bot 7f12bb8616 🔖 chore(release): v1.29.4 [skip ci]
### [Version&nbsp;1.29.4](https://github.com/lobehub/lobe-chat/compare/v1.29.3...v1.29.4)
<sup>Released on **2024-11-09**</sup>

#### 🐛 Bug Fixes

- **misc**: Disregard remoteModelCards when showModelFetcher is disabled.

<br/>

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

#### What's fixed

* **misc**: Disregard remoteModelCards when showModelFetcher is disabled, closes [#4644](https://github.com/lobehub/lobe-chat/issues/4644) ([a4431f2](https://github.com/lobehub/lobe-chat/commit/a4431f2))

</details>

<div align="right">

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

</div>
2024-11-09 17:22:06 +00:00
BrandonStudio a4431f2caa 🐛 fix: disregard remoteModelCards when showModelFetcher is disabled (#4644) 2024-11-10 01:14:46 +08:00
semantic-release-bot 9f993685d8 🔖 chore(release): v1.29.3 [skip ci]
### [Version&nbsp;1.29.3](https://github.com/lobehub/lobe-chat/compare/v1.29.2...v1.29.3)
<sup>Released on **2024-11-09**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix the display model of history summary.

<br/>

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

#### What's fixed

* **misc**: Fix the display model of history summary, closes [#4656](https://github.com/lobehub/lobe-chat/issues/4656) ([66cf2c1](https://github.com/lobehub/lobe-chat/commit/66cf2c1))

</details>

<div align="right">

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

</div>
2024-11-09 15:25:32 +00:00
Arvin Xu 66cf2c1368 🐛 fix: fix the display model of history summary (#4656) 2024-11-09 23:17:41 +08:00
semantic-release-bot 070aa23b29 🔖 chore(release): v1.29.2 [skip ci]
### [Version&nbsp;1.29.2](https://github.com/lobehub/lobe-chat/compare/v1.29.1...v1.29.2)
<sup>Released on **2024-11-09**</sup>

#### 💄 Styles

- **misc**: Allow users to disable SSRF or set a whitelist.

<br/>

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

#### Styles

* **misc**: Allow users to disable SSRF or set a whitelist, closes [#4633](https://github.com/lobehub/lobe-chat/issues/4633) ([7175145](https://github.com/lobehub/lobe-chat/commit/7175145))

</details>

<div align="right">

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

</div>
2024-11-09 13:53:19 +00:00
coulsontl 7175145d8a 💄 style: allow users to disable SSRF or set a whitelist (#4633)
* feat: allow users to disable SSRF or set a whitelist

* chore: add document description

* chore:  refactor code

* chore: modify code specification

---------

Co-authored-by: coulsonpl <184711000+coulsonpl@users.noreply.github.com>
2024-11-09 21:45:19 +08:00
semantic-release-bot 444a91114d 🔖 chore(release): v1.29.1 [skip ci]
### [Version&nbsp;1.29.1](https://github.com/lobehub/lobe-chat/compare/v1.29.0...v1.29.1)
<sup>Released on **2024-11-09**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix topic summary field on server db.

<br/>

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

#### What's fixed

* **misc**: Fix topic summary field on server db, closes [#4655](https://github.com/lobehub/lobe-chat/issues/4655) ([ce10f9a](https://github.com/lobehub/lobe-chat/commit/ce10f9a))

</details>

<div align="right">

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

</div>
2024-11-09 13:39:12 +00:00
Arvin Xu ce10f9ae36 🐛 fix: fix topic summary field on server db (#4655)
* 🐛 fix: fix topic summary field

* 🐛 fix: add antd icons deps
2024-11-09 21:31:30 +08:00
semantic-release-bot a4355fc69b 🔖 chore(release): v1.29.0 [skip ci]
## [Version&nbsp;1.29.0](https://github.com/lobehub/lobe-chat/compare/v1.28.6...v1.29.0)
<sup>Released on **2024-11-09**</sup>

####  Features

- **misc**: Support compress history messages.

<br/>

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

#### What's improved

* **misc**: Support compress history messages, closes [#4639](https://github.com/lobehub/lobe-chat/issues/4639) ([145bbb4](https://github.com/lobehub/lobe-chat/commit/145bbb4))

</details>

<div align="right">

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

</div>
2024-11-09 10:33:25 +00:00
Arvin Xu 145bbb4b12 feat: support compress history messages (#4639)
*  feat: implement support summary history messages

* 💄 style: add history ui

* 💄 style: add history ui

* update

*  feat: support summary history

*  feat: support summary history

* 🚨 ci: fix type

* ♻️ refactor: refactor migration

*  test: fix tests

* 📸 test: update snapshots

*  test: add test for chatMessage

* ♻️ refactor: refactor the chat actions and add tests

*  test: add test for summaryHistory chain

* ♻️ refactor: set history default 8

* 🌐 chore: update i18n

*  feat: support control CompressHistory

*  test: fix tests

*  test: fix tests

*  test: fix tests

* 🌐 chore: update i18n
2024-11-09 18:25:17 +08:00
semantic-release-bot 85334dca0e 🔖 chore(release): v1.28.6 [skip ci]
### [Version&nbsp;1.28.6](https://github.com/lobehub/lobe-chat/compare/v1.28.5...v1.28.6)
<sup>Released on **2024-11-09**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix env typo of MS Entra ID.

<br/>

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

#### What's fixed

* **misc**: Fix env typo of MS Entra ID, closes [#4651](https://github.com/lobehub/lobe-chat/issues/4651) ([f145252](https://github.com/lobehub/lobe-chat/commit/f145252))

</details>

<div align="right">

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

</div>
2024-11-09 09:17:43 +00:00
BrandonStudio f145252e74 🐛 fix: Fix env typo of MS Entra ID (#4651) 2024-11-09 17:10:20 +08:00
semantic-release-bot fdd8f8eef5 🔖 chore(release): v1.28.5 [skip ci]
### [Version&nbsp;1.28.5](https://github.com/lobehub/lobe-chat/compare/v1.28.4...v1.28.5)
<sup>Released on **2024-11-08**</sup>

<br/>

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

</details>

<div align="right">

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

</div>
2024-11-08 05:01:28 +00:00
Arvin Xu 5a542b4891 ️ perf: reduce server service bundle size by refactoring with constant fold (#4641)
* refactor

* clean code
2024-11-08 12:53:57 +08:00
semantic-release-bot 672743111e 🔖 chore(release): v1.28.4 [skip ci]
### [Version&nbsp;1.28.4](https://github.com/lobehub/lobe-chat/compare/v1.28.3...v1.28.4)
<sup>Released on **2024-11-07**</sup>

#### 🐛 Bug Fixes

- **misc**: Disable model fetch for GitHub.

<br/>

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

#### What's fixed

* **misc**: Disable model fetch for GitHub, closes [#4638](https://github.com/lobehub/lobe-chat/issues/4638) ([e1f6a3a](https://github.com/lobehub/lobe-chat/commit/e1f6a3a))

</details>

<div align="right">

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

</div>
2024-11-07 08:41:50 +00:00
BrandonStudio e1f6a3aa13 🐛 fix: Disable model fetch for GitHub (#4638) 2024-11-07 16:34:06 +08:00
semantic-release-bot 31a5157f91 🔖 chore(release): v1.28.3 [skip ci]
### [Version&nbsp;1.28.3](https://github.com/lobehub/lobe-chat/compare/v1.28.2...v1.28.3)
<sup>Released on **2024-11-06**</sup>

#### ♻ Code Refactoring

- **misc**: Move portal code to features folder.

<br/>

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

#### Code refactoring

* **misc**: Move portal code to features folder, closes [#4631](https://github.com/lobehub/lobe-chat/issues/4631) ([bb4ab9c](https://github.com/lobehub/lobe-chat/commit/bb4ab9c))

</details>

<div align="right">

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

</div>
2024-11-06 17:13:04 +00:00
Arvin Xu bb4ab9c567 ♻️ refactor: move portal code to features folder (#4631) 2024-11-07 01:05:24 +08:00
semantic-release-bot 87e51dc95e 🔖 chore(release): v1.28.2 [skip ci]
### [Version&nbsp;1.28.2](https://github.com/lobehub/lobe-chat/compare/v1.28.1...v1.28.2)
<sup>Released on **2024-11-06**</sup>

#### ♻ Code Refactoring

- **misc**: Refactor and clean some code.

<br/>

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

#### Code refactoring

* **misc**: Refactor and clean some code, closes [#4629](https://github.com/lobehub/lobe-chat/issues/4629) ([ad3a154](https://github.com/lobehub/lobe-chat/commit/ad3a154))

</details>

<div align="right">

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

</div>
2024-11-06 15:43:08 +00:00
Arvin Xu ad3a15452d ♻️ refactor: refactor and clean some code (#4629)
* ♻️ refactor: refactor a few code

* Update .gitignore
2024-11-06 23:35:17 +08:00
semantic-release-bot bb25f318a4 🔖 chore(release): v1.28.1 [skip ci]
### [Version&nbsp;1.28.1](https://github.com/lobehub/lobe-chat/compare/v1.28.0...v1.28.1)
<sup>Released on **2024-11-06**</sup>

#### ♻ Code Refactoring

- **misc**: Update database fields.

<br/>

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

#### Code refactoring

* **misc**: Update database fields, closes [#4626](https://github.com/lobehub/lobe-chat/issues/4626) ([b851c35](https://github.com/lobehub/lobe-chat/commit/b851c35))

</details>

<div align="right">

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

</div>
2024-11-06 14:08:28 +00:00
Arvin Xu b851c35f6d 🗃️ refactor: update database fields (#4626)
* 🗃️ refactor: update database fields

*  test: fix tests
2024-11-06 22:00:41 +08:00
semantic-release-bot 4f50dfacf2 🔖 chore(release): v1.28.0 [skip ci]
## [Version&nbsp;1.28.0](https://github.com/lobehub/lobe-chat/compare/v1.27.3...v1.28.0)
<sup>Released on **2024-11-05**</sup>

####  Features

- **misc**: Support export as markdown and JSON.

<br/>

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

#### What's improved

* **misc**: Support export as markdown and JSON, closes [#4615](https://github.com/lobehub/lobe-chat/issues/4615) ([16ded12](https://github.com/lobehub/lobe-chat/commit/16ded12))

</details>

<div align="right">

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

</div>
2024-11-05 18:09:36 +00:00
Arvin Xu 16ded12fd0 feat: support export as markdown and JSON (#4615)
*  feat: support share to content & json

* 📱 style: improve mobile

* 🔥 chore: remove shareGPT

* 🌐 chore: add i18n

* 💄 style: screenshot by default

* 🐛 fix: fix system role

* 💄 style: fix style

* 🐛 fix: fix tools and tool_call_id be null
2024-11-06 02:01:48 +08:00
semantic-release-bot 90d7dcb254 🔖 chore(release): v1.27.3 [skip ci]
### [Version&nbsp;1.27.3](https://github.com/lobehub/lobe-chat/compare/v1.27.2...v1.27.3)
<sup>Released on **2024-11-05**</sup>

#### 💄 Styles

- **misc**: Add claude 3.5 haiku model.

<br/>

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

#### Styles

* **misc**: Add claude 3.5 haiku model, closes [#4608](https://github.com/lobehub/lobe-chat/issues/4608) ([0fdf43f](https://github.com/lobehub/lobe-chat/commit/0fdf43f))

</details>

<div align="right">

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

</div>
2024-11-05 04:38:34 +00:00
LovelyGuYiMeng 0fdf43f394 💄 style: add claude 3.5 haiku model (#4608)
* Update anthropic.ts

* Update anthropic.ts

* Update anthropic.ts

* Update anthropic.ts

* Update anthropic.ts
2024-11-05 12:30:59 +08:00
semantic-release-bot bcea6f1f36 🔖 chore(release): v1.27.2 [skip ci]
### [Version&nbsp;1.27.2](https://github.com/lobehub/lobe-chat/compare/v1.27.1...v1.27.2)
<sup>Released on **2024-11-05**</sup>

#### 🐛 Bug Fixes

- **misc**: Remove the 'resetConversation' hot key tip.

#### 💄 Styles

- **misc**: Improve group topic styles.

<br/>

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

#### What's fixed

* **misc**: Remove the 'resetConversation' hot key tip, closes [#4607](https://github.com/lobehub/lobe-chat/issues/4607) ([1a13562](https://github.com/lobehub/lobe-chat/commit/1a13562))

#### Styles

* **misc**: Improve group topic styles, closes [#4610](https://github.com/lobehub/lobe-chat/issues/4610) ([65e816a](https://github.com/lobehub/lobe-chat/commit/65e816a))

</details>

<div align="right">

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

</div>
2024-11-05 04:20:48 +00:00
mushan0x0 1a13562455 🐛 fix: remove the 'resetConversation' hot key tip (#4607) 2024-11-05 12:13:09 +08:00
Arvin Xu 65e816a89a 💄 style: improve group topic styles (#4610) 2024-11-05 12:09:37 +08:00
semantic-release-bot 10a69ffdee 🔖 chore(release): v1.27.1 [skip ci]
### [Version&nbsp;1.27.1](https://github.com/lobehub/lobe-chat/compare/v1.27.0...v1.27.1)
<sup>Released on **2024-11-04**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix `/webapi/plugin/store` server error.

<br/>

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

#### What's fixed

* **misc**: Fix `/webapi/plugin/store` server error, closes [#4605](https://github.com/lobehub/lobe-chat/issues/4605) ([9edaa55](https://github.com/lobehub/lobe-chat/commit/9edaa55))

</details>

<div align="right">

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

</div>
2024-11-04 19:26:52 +00:00
Arvin Xu 9edaa55c21 🐛 fix: fix /webapi/plugin/store server error (#4605)
* 🐛 fix: fix plugin store server error

* ♻️ refactor: support to custom apikey

* 💄 style: pump icons
2024-11-05 03:19:09 +08:00
semantic-release-bot 7371a05d08 🔖 chore(release): v1.27.0 [skip ci]
## [Version&nbsp;1.27.0](https://github.com/lobehub/lobe-chat/compare/v1.26.21...v1.27.0)
<sup>Released on **2024-11-04**</sup>

####  Features

- **misc**: Support group topics by time.

<br/>

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

#### What's improved

* **misc**: Support group topics by time, closes [#4603](https://github.com/lobehub/lobe-chat/issues/4603) ([6ff7089](https://github.com/lobehub/lobe-chat/commit/6ff7089))

</details>

<div align="right">

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

</div>
2024-11-04 18:35:19 +00:00
Arvin Xu 6ff70895f9 feat: support group topics by time (#4603)
*  feat: support change topic display mode

* ♻️ refactor: 重构 locales 实现

* 🧪 test: fix tests

* 💄 style: use byTime mode by default

* 🌐 chore: update locale

* 🔥 chore: clean code

* 🔥 chore: clean code

*  test: add tests

* 💄 style: improve active state

* 💄 style: improve active state
2024-11-05 02:27:09 +08:00
semantic-release-bot df0cc1fd18 🔖 chore(release): v1.26.21 [skip ci]
### [Version&nbsp;1.26.21](https://github.com/lobehub/lobe-chat/compare/v1.26.20...v1.26.21)
<sup>Released on **2024-11-04**</sup>

#### 🐛 Bug Fixes

- **misc**: If enable login and not signed in, return unauthorized error.

<br/>

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

#### What's fixed

* **misc**: If enable login and not signed in, return unauthorized error, closes [#4571](https://github.com/lobehub/lobe-chat/issues/4571) ([e00c90e](https://github.com/lobehub/lobe-chat/commit/e00c90e))

</details>

<div align="right">

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

</div>
2024-11-04 17:55:49 +00:00
vual e00c90ee05 🐛 fix: if enable login and not signed in, return unauthorized error (#4571)
* if enable login and not signed in, return unauthorized error

* if enable login and not signed in, return unauthorized error

* if enable login and not signed in, return unauthorized error

* if enable login and not signed in, return unauthorized error, add test method.

* if enable login and not signed in, return unauthorized error, add test method.

* if enable login and not signed in, return unauthorized error, add test method.

* 修正引包。

* 改成mockImplementationOnce
2024-11-05 01:48:15 +08:00
semantic-release-bot 74f83c1b9c 🔖 chore(release): v1.26.20 [skip ci]
### [Version&nbsp;1.26.20](https://github.com/lobehub/lobe-chat/compare/v1.26.19...v1.26.20)
<sup>Released on **2024-11-04**</sup>

#### 💄 Styles

- **misc**: Disable chunking button for unsupported files.

<br/>

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

#### Styles

* **misc**: Disable chunking button for unsupported files, closes [#4153](https://github.com/lobehub/lobe-chat/issues/4153) ([87ac46d](https://github.com/lobehub/lobe-chat/commit/87ac46d))

</details>

<div align="right">

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

</div>
2024-11-04 05:15:18 +00:00
Bui Trong Khanh Duy 87ac46d514 💄 style: disable chunking button for unsupported files (#4153)
* add sessionToken for bedrock model

* Support google model list

* update relate sessionToken info

* update description and revert gg model list

* update description

* change session token is a custom field

* support google model list

* Hide chunking button for unsupported files

* fix

* fix

* fix

* fix

* fix

* update UT

* fix

* fix

* fix
2024-11-04 13:07:58 +08:00
semantic-release-bot 3b64327704 🔖 chore(release): v1.26.19 [skip ci]
### [Version&nbsp;1.26.19](https://github.com/lobehub/lobe-chat/compare/v1.26.18...v1.26.19)
<sup>Released on **2024-11-03**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix duplicate key value violates unique constraint "slug_user_id_unique" when create inbox session.

<br/>

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

#### What's fixed

* **misc**: Fix duplicate key value violates unique constraint "slug_user_id_unique" when create inbox session, closes [#4596](https://github.com/lobehub/lobe-chat/issues/4596) ([c5af96e](https://github.com/lobehub/lobe-chat/commit/c5af96e))

</details>

<div align="right">

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

</div>
2024-11-03 12:48:00 +00:00
Arvin Xu c5af96e709 🐛 fix: fix duplicate key value violates unique constraint "slug_user_id_unique" when create inbox session (#4596) 2024-11-03 20:40:14 +08:00
semantic-release-bot 46c5306f45 🔖 chore(release): v1.26.18 [skip ci]
### [Version&nbsp;1.26.18](https://github.com/lobehub/lobe-chat/compare/v1.26.17...v1.26.18)
<sup>Released on **2024-11-03**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix MS Entra ID and Azure AD authorization.

<br/>

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

#### What's fixed

* **misc**: Fix MS Entra ID and Azure AD authorization, closes [#4579](https://github.com/lobehub/lobe-chat/issues/4579) ([ced8a08](https://github.com/lobehub/lobe-chat/commit/ced8a08))

</details>

<div align="right">

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

</div>
2024-11-03 11:01:38 +00:00
BrandonStudio ced8a08fc8 🐛 fix: Fix MS Entra ID and Azure AD authorization (#4579)
* feat: Add client credentials for Microsoft Entra ID SSO provider

Add client ID, client secret, and issuer for the Microsoft Entra ID SSO provider in the next-auth library.

* fix env vars

* Fix

* remove onetime reference
2024-11-03 18:53:56 +08:00
vual 72042964ee ️ perf: support to use signedUrl for S3 if bucket is not public-read (#4254)
* 当未把s3存储桶设成公共读时,需要每次生成带签名的预览地址,默认有效期2小时。

* If bucket is not set public read, the preview address needs to be regenerated each time

* If bucket is not set public read, the preview address needs to be regenerated each time,fix test ts,add param to defined s3 preview url expires in.

* fix ci test

---------

Co-authored-by: Arvin Xu <arvinx@foxmail.com>
2024-11-03 18:53:38 +08:00
renovate[bot] ee31f1d30d Update pnpm to v9.12.3 (#4585)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-03 18:01:52 +08:00
renovate[bot] 3ff15e0386 Update dependency @anthropic-ai/sdk to ^0.31.0 (#4586)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-03 18:01:45 +08:00
renovate[bot] 5a3a2f9a4c Update dependency @types/diff to v6 (#4591)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-03 18:01:24 +08:00
renovate[bot] 4d62fa531a Update dependency drizzle-orm to ^0.36.0 (#4589)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-03 18:01:14 +08:00
renovate[bot] 54ef38816c Update dependency drizzle-kit to ^0.27.0 (#4588)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-03 18:00:57 +08:00
renovate[bot] 653222a4b7 Update dependency uuid to v11 (#4592)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-03 17:53:59 +08:00
semantic-release-bot f50fe27dd9 🔖 chore(release): v1.26.17 [skip ci]
### [Version&nbsp;1.26.17](https://github.com/lobehub/lobe-chat/compare/v1.26.16...v1.26.17)
<sup>Released on **2024-10-31**</sup>

#### ♻ Code Refactoring

- **misc**: Improve server log on chat api.

<br/>

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

#### Code refactoring

* **misc**: Improve server log on chat api, closes [#4559](https://github.com/lobehub/lobe-chat/issues/4559) ([cd8a134](https://github.com/lobehub/lobe-chat/commit/cd8a134))

</details>

<div align="right">

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

</div>
2024-10-31 06:09:44 +00:00
Arvin Xu cd8a1346de ♻️ refactor: improve server log on chat api (#4559)
* improve server log type

* fix lint
2024-10-31 14:02:17 +08:00
semantic-release-bot bce512ee9c 🔖 chore(release): v1.26.16 [skip ci]
### [Version&nbsp;1.26.16](https://github.com/lobehub/lobe-chat/compare/v1.26.15...v1.26.16)
<sup>Released on **2024-10-31**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix server `Network connection lost` error.

<br/>

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

#### What's fixed

* **misc**: Fix server `Network connection lost` error, closes [#4556](https://github.com/lobehub/lobe-chat/issues/4556) ([cf40d91](https://github.com/lobehub/lobe-chat/commit/cf40d91))

</details>

<div align="right">

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

</div>
2024-10-31 02:46:37 +00:00
Arvin Xu cf40d91433 🐛 fix: fix server Network connection lost error (#4556) 2024-10-31 10:36:20 +08:00
bestlaw66 d1ff232e07 📝 docs: add deployment on btpanel (#4528)
* Create btpanel.zh-CN.mdx

希望可以加入宝塔面板部署教程,面板这边安装帮助可以跳转官网,论坛可增加部署咱们应用的教程,详情沟通可联系qq1115070458

* 📝 docs: Add documentation for deploying with aaPanel

* Update btpanel.mdx

Update tutorial

* docs: Add documentation for deploying with aaPanel

* 📝 docs: Add documentation for deploying with aaPanel

---------

Co-authored-by: YANGJINZE <91786638+KincaidYang@users.noreply.github.com>
2024-10-31 10:15:21 +08:00
semantic-release-bot b7a5654909 🔖 chore(release): v1.26.15 [skip ci]
### [Version&nbsp;1.26.15](https://github.com/lobehub/lobe-chat/compare/v1.26.14...v1.26.15)
<sup>Released on **2024-10-31**</sup>

#### ♻ Code Refactoring

- **misc**: Refactor embedding as plain vector array.

<br/>

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

#### Code refactoring

* **misc**: Refactor embedding as plain vector array, closes [#4551](https://github.com/lobehub/lobe-chat/issues/4551) ([e2cae36](https://github.com/lobehub/lobe-chat/commit/e2cae36))

</details>

<div align="right">

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

</div>
2024-10-31 01:33:06 +00:00
Henry Yee e2cae368fd ♻️ refactor: refactor embedding as plain vector array (#4551) 2024-10-31 09:25:19 +08:00
Arvin Xu fe47aae733 🐛 fix: fix duplicate error when creating new user (#4554) 2024-10-31 00:00:44 +08:00
semantic-release-bot 56727c0c0f 🔖 chore(release): v1.26.14 [skip ci]
### [Version&nbsp;1.26.14](https://github.com/lobehub/lobe-chat/compare/v1.26.13...v1.26.14)
<sup>Released on **2024-10-30**</sup>

#### 💄 Styles

- **misc**: Add `fa-ir` locale.

<br/>

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

#### Styles

* **misc**: Add `fa-ir` locale, closes [#4553](https://github.com/lobehub/lobe-chat/issues/4553) ([9d9e4bc](https://github.com/lobehub/lobe-chat/commit/9d9e4bc))

</details>

<div align="right">

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

</div>
2024-10-30 15:41:56 +00:00
Arvin Xu 9d9e4bc88a 💄 style: add fa-ir locale (#4553)
* add fa-ir

* update locale

* add font support

* improve i18n

* 💄 style: improve style

* update locale

*  test: fix tests
2024-10-30 23:34:17 +08:00
arvinxx 50e565fc92 Revert " test: fix duplicate key error of user"
This reverts commit 76eb9b428c.
2024-10-30 23:29:42 +08:00
arvinxx 76eb9b428c test: fix duplicate key error of user 2024-10-30 23:27:53 +08:00
semantic-release-bot 73a955095d 🔖 chore(release): v1.26.13 [skip ci]
### [Version&nbsp;1.26.13](https://github.com/lobehub/lobe-chat/compare/v1.26.12...v1.26.13)
<sup>Released on **2024-10-30**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix the artifacts interface not scrolling.

<br/>

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

#### What's fixed

* **misc**: Fix the artifacts interface not scrolling, closes [#4499](https://github.com/lobehub/lobe-chat/issues/4499) ([8b6e630](https://github.com/lobehub/lobe-chat/commit/8b6e630))

</details>

<div align="right">

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

</div>
2024-10-30 03:40:53 +00:00
mushan0x0 8b6e6305fc 🐛 fix: fix the artifacts interface not scrolling (#4499) 2024-10-30 11:33:14 +08:00
semantic-release-bot 4d3b3abed3 🔖 chore(release): v1.26.12 [skip ci]
### [Version&nbsp;1.26.12](https://github.com/lobehub/lobe-chat/compare/v1.26.11...v1.26.12)
<sup>Released on **2024-10-30**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix file image prompts in client mode.

<br/>

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

#### What's fixed

* **misc**: Fix file image prompts in client mode, closes [#4548](https://github.com/lobehub/lobe-chat/issues/4548) ([1b66639](https://github.com/lobehub/lobe-chat/commit/1b66639))

</details>

<div align="right">

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

</div>
2024-10-30 03:12:45 +00:00
Arvin Xu 1b66639728 🐛 fix: fix file image prompts in client mode (#4548)
* 🐛 fix: fix file prompts in client mode

* fix tests
2024-10-30 11:04:58 +08:00
semantic-release-bot a03dcfbfff 🔖 chore(release): v1.26.11 [skip ci]
### [Version&nbsp;1.26.11](https://github.com/lobehub/lobe-chat/compare/v1.26.10...v1.26.11)
<sup>Released on **2024-10-29**</sup>

<br/>

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

</details>

<div align="right">

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

</div>
2024-10-29 18:54:49 +00:00
Arvin Xu b4e3f601ab ️ perf: improve knowledge base RAG prompts (#4544)
* ️ perf: improve knowledge base qa prompts

* ️ perf: improve knowledge base qa performance

* ️ perf: improve knowledge base qa performance

*  test: add tests

*  test: add tests for rag actions

*  test: fix tests
2024-10-30 02:47:16 +08:00
semantic-release-bot 58397db39b 🔖 chore(release): v1.26.10 [skip ci]
### [Version&nbsp;1.26.10](https://github.com/lobehub/lobe-chat/compare/v1.26.9...v1.26.10)
<sup>Released on **2024-10-29**</sup>

#### ♻ Code Refactoring

- **misc**: Refactor the aiChat slice actions.

<br/>

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

#### Code refactoring

* **misc**: Refactor the aiChat slice actions, closes [#4542](https://github.com/lobehub/lobe-chat/issues/4542) ([8b33ba4](https://github.com/lobehub/lobe-chat/commit/8b33ba4))

</details>

<div align="right">

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

</div>
2024-10-29 17:07:59 +00:00
Arvin Xu 8b33ba47d1 ♻️ refactor: refactor the aiChat slice actions (#4542)
*  test: add test for files prompts

* ♻️ refactor: refactor the aiChat store
2024-10-30 01:00:34 +08:00
semantic-release-bot 2543f7e4a0 🔖 chore(release): v1.26.9 [skip ci]
### [Version&nbsp;1.26.9](https://github.com/lobehub/lobe-chat/compare/v1.26.8...v1.26.9)
<sup>Released on **2024-10-29**</sup>

<br/>

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

</details>

<div align="right">

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

</div>
2024-10-29 16:09:49 +00:00
Arvin Xu c805cc2ee5 ️ perf: support more files and images meta info when upload files (#4541)
*  feat: support more files and images meta info

*  feat: support more files and images meta info
2024-10-30 00:02:02 +08:00
semantic-release-bot d5f029e07f 🔖 chore(release): v1.26.8 [skip ci]
### [Version&nbsp;1.26.8](https://github.com/lobehub/lobe-chat/compare/v1.26.7...v1.26.8)
<sup>Released on **2024-10-29**</sup>

#### 🐛 Bug Fixes

- **misc**: Update zhipu param process.

<br/>

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

#### What's fixed

* **misc**: Update zhipu param process, closes [#4523](https://github.com/lobehub/lobe-chat/issues/4523) ([3317fbd](https://github.com/lobehub/lobe-chat/commit/3317fbd))

</details>

<div align="right">

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

</div>
2024-10-29 13:25:35 +00:00
sxjeru 3317fbdba1 🐛 fix: Update zhipu param process (#4523)
* Update index.ts

* Update index.ts

* Update index.ts

* Update index.test.ts

* Update index.ts
2024-10-29 21:18:19 +08:00
semantic-release-bot 20f1320f6c 🔖 chore(release): v1.26.7 [skip ci]
### [Version&nbsp;1.26.7](https://github.com/lobehub/lobe-chat/compare/v1.26.6...v1.26.7)
<sup>Released on **2024-10-29**</sup>

#### 🐛 Bug Fixes

- **misc**: Remove PWA Install in Firefox and Arc.

<br/>

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

#### What's fixed

* **misc**: Remove PWA Install in Firefox and Arc, closes [#4532](https://github.com/lobehub/lobe-chat/issues/4532) ([4a380c5](https://github.com/lobehub/lobe-chat/commit/4a380c5))

</details>

<div align="right">

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

</div>
2024-10-29 13:14:33 +00:00
CanisMinor 4a380c57d3 🐛 fix: Remove PWA Install in Firefox and Arc (#4532)
* 🐛 fix: Remove PWA Install in Firefox and Arc

* 🐛 fix: Add test

*  feat: Add release

* 🐛 fix: Fix arc

* 🐛 fix: Fix pwa install

*  test: Add test

* 🐛 fix: Fix test

* 🐛 fix: Fix manifest screenshot size

* 🐛 fix: Fix pwa check in windows
2024-10-29 21:07:10 +08:00
semantic-release-bot 70e1ee49c1 🔖 chore(release): v1.26.6 [skip ci]
### [Version&nbsp;1.26.6](https://github.com/lobehub/lobe-chat/compare/v1.26.5...v1.26.6)
<sup>Released on **2024-10-29**</sup>

#### 💄 Styles

- **misc**: Add Qwen2.5-72B-Instruct model on HF provider.

<br/>

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

#### Styles

* **misc**: Add Qwen2.5-72B-Instruct model on HF provider, closes [#4530](https://github.com/lobehub/lobe-chat/issues/4530) ([d3c2f7a](https://github.com/lobehub/lobe-chat/commit/d3c2f7a))

</details>

<div align="right">

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

</div>
2024-10-29 13:04:01 +00:00
kuangquanshuisn d3c2f7a218 💄 style: add Qwen2.5-72B-Instruct model on HF provider (#4530)
增加Qwen2.5-72B-Instruct模型
2024-10-29 20:54:53 +08:00
lobehubbot 7d20978e88 📝 docs(bot): Auto sync agents & plugin to readme 2024-10-29 12:52:28 +00:00
semantic-release-bot b5c5ee0aac 🔖 chore(release): v1.26.5 [skip ci]
### [Version&nbsp;1.26.5](https://github.com/lobehub/lobe-chat/compare/v1.26.4...v1.26.5)
<sup>Released on **2024-10-29**</sup>

#### 💄 Styles

- **misc**: Improve user guide when user not login.

<br/>

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

#### Styles

* **misc**: Improve user guide when user not login, closes [#4531](https://github.com/lobehub/lobe-chat/issues/4531) ([7513e3b](https://github.com/lobehub/lobe-chat/commit/7513e3b))

</details>

<div align="right">

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

</div>
2024-10-29 12:51:26 +00:00
CanisMinor 7513e3bb40 💄 style: improve user guide when user not login (#4531)
* 💄 style: Update LoginRequired notication style

* 🐛 fix: Fix signUpUrl

* 🐛 fix: Add signUpForceRedirectUrl

* 🐛 fix: Add forceRedirectUrl

* 🐛 fix: Rm ForceRedirectUrl
2024-10-29 20:43:55 +08:00
semantic-release-bot 3e467ae35c 🔖 chore(release): v1.26.4 [skip ci]
### [Version&nbsp;1.26.4](https://github.com/lobehub/lobe-chat/compare/v1.26.3...v1.26.4)
<sup>Released on **2024-10-28**</sup>

#### 🐛 Bug Fixes

- **misc**: Remove the 'resetConversation' hot key.

<br/>

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

#### What's fixed

* **misc**: Remove the 'resetConversation' hot key, closes [#4526](https://github.com/lobehub/lobe-chat/issues/4526) ([653e694](https://github.com/lobehub/lobe-chat/commit/653e694))

</details>

<div align="right">

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

</div>
2024-10-28 16:40:41 +00:00
mushan0x0 653e6945ff 🐛 fix: remove the 'resetConversation' hot key (#4526)
*  feat: remove the 'resetConversation' hot key

* 🔨 chore: clean up unused methods
2024-10-29 00:33:19 +08:00
renovate[bot] 1707d4d324 Update dependency @auth/core to ^0.37.0 (#1828)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-28 12:49:10 +08:00
semantic-release-bot 5ad0d68bca 🔖 chore(release): v1.26.3 [skip ci]
### [Version&nbsp;1.26.3](https://github.com/lobehub/lobe-chat/compare/v1.26.2...v1.26.3)
<sup>Released on **2024-10-28**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix Huggingface API interrupting when the output exceeds 140 tokens.

#### 💄 Styles

- **misc**: Remove SenseChat-Vision model, due to model limitation.

<br/>

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

#### What's fixed

* **misc**: Fix Huggingface API interrupting when the output exceeds 140 tokens, closes [#4524](https://github.com/lobehub/lobe-chat/issues/4524) ([49acdd7](https://github.com/lobehub/lobe-chat/commit/49acdd7))

#### Styles

* **misc**: Remove SenseChat-Vision model, due to model limitation, closes [#4493](https://github.com/lobehub/lobe-chat/issues/4493) ([2aea033](https://github.com/lobehub/lobe-chat/commit/2aea033))

</details>

<div align="right">

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

</div>
2024-10-28 04:28:23 +00:00
kuangquanshuisn 49acdd7e5d 🐛 fix: fix Huggingface API interrupting when the output exceeds 140 tokens (#4524)
解决Huggingface API在输出超过140多个token时中断的问题
2024-10-28 12:21:03 +08:00
Ankur Singh afb06c61d7 📝 docs: Remove repetitive word (#4525) 2024-10-28 12:19:25 +08:00
Zhijie He 2aea033847 💄 style: remove SenseChat-Vision model, due to model limitation (#4493)
* ♻️ refactor: SenseNova, remove message convert

* 💄 style: remove `SenseChat-Vision` model, due to model limitation
2024-10-28 12:15:59 +08:00
semantic-release-bot e6f25337f7 🔖 chore(release): v1.26.2 [skip ci]
### [Version&nbsp;1.26.2](https://github.com/lobehub/lobe-chat/compare/v1.26.1...v1.26.2)
<sup>Released on **2024-10-28**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix page not switch when clicking on the pin assistant.

<br/>

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

#### What's fixed

* **misc**: Fix page not switch when clicking on the pin assistant, closes [#4521](https://github.com/lobehub/lobe-chat/issues/4521) ([30b424a](https://github.com/lobehub/lobe-chat/commit/30b424a))

</details>

<div align="right">

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

</div>
2024-10-28 02:27:34 +00:00
mushan0x0 30b424af00 🐛 fix: fix page not switch when clicking on the pin assistant (#4521)
* 🐛 fix: fix page error when clicking on the pin assistant

* 🔨 chore: move the `useSwitchSession` file to `hooks`
2024-10-28 10:20:08 +08:00
lobehubbot 8697c14ec9 📝 docs(bot): Auto sync agents & plugin to readme 2024-10-27 18:40:27 +00:00
semantic-release-bot 0b1be114a0 🔖 chore(release): v1.26.1 [skip ci]
### [Version&nbsp;1.26.1](https://github.com/lobehub/lobe-chat/compare/v1.26.0...v1.26.1)
<sup>Released on **2024-10-27**</sup>

#### ♻ Code Refactoring

- **misc**: Refactor the plugin prompts to xml format.

<br/>

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

#### Code refactoring

* **misc**: Refactor the plugin prompts to xml format, closes [#4520](https://github.com/lobehub/lobe-chat/issues/4520) ([49be146](https://github.com/lobehub/lobe-chat/commit/49be146))

</details>

<div align="right">

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

</div>
2024-10-27 18:39:30 +00:00
Arvin Xu 49be146ece ♻️ refactor: refactor the plugin prompts to xml format (#4520)
* ♻️ refactor: refactor the plugin prompts

*  test: fix tests
2024-10-28 02:31:53 +08:00
semantic-release-bot a6a18022d1 🔖 chore(release): v1.26.0 [skip ci]
## [Version&nbsp;1.26.0](https://github.com/lobehub/lobe-chat/compare/v1.25.3...v1.26.0)
<sup>Released on **2024-10-27**</sup>

####  Features

- **misc**:  experimentally support to pin assistant to sidebar.

<br/>

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

#### What's improved

* **misc**:  experimentally support to pin assistant to sidebar, closes [#4514](https://github.com/lobehub/lobe-chat/issues/4514) ([6e55865](https://github.com/lobehub/lobe-chat/commit/6e55865))

</details>

<div align="right">

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

</div>
2024-10-27 09:46:59 +00:00
Arvin Xu 6e55865135 feat: experimentally support to pin assistant to sidebar (#4514)
*  feat: support pin assistant at side

*  feat: add a feature flag

*  test: fix tests

* 💄 style: fix avtar meta

* 💄 style: fix pin mode style

* 💄 style: add hotkeys
2024-10-27 17:39:42 +08:00
semantic-release-bot ef9e395239 🔖 chore(release): v1.25.3 [skip ci]
### [Version&nbsp;1.25.3](https://github.com/lobehub/lobe-chat/compare/v1.25.2...v1.25.3)
<sup>Released on **2024-10-27**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix the issue of the switch assistant portal not closing.

<br/>

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

#### What's fixed

* **misc**: Fix the issue of the switch assistant portal not closing, closes [#4500](https://github.com/lobehub/lobe-chat/issues/4500) ([83f896b](https://github.com/lobehub/lobe-chat/commit/83f896b))

</details>

<div align="right">

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

</div>
2024-10-27 09:07:59 +00:00
mushan0x0 83f896b8c3 🐛 fix: fix the issue of the switch assistant portal not closing (#4500) 2024-10-27 17:00:45 +08:00
semantic-release-bot 29432e15da 🔖 chore(release): v1.25.2 [skip ci]
### [Version&nbsp;1.25.2](https://github.com/lobehub/lobe-chat/compare/v1.25.1...v1.25.2)
<sup>Released on **2024-10-27**</sup>

#### 💄 Styles

- **misc**: Update stepfun models.

<br/>

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

#### Styles

* **misc**: Update stepfun models, closes [#4512](https://github.com/lobehub/lobe-chat/issues/4512) ([4a26d8a](https://github.com/lobehub/lobe-chat/commit/4a26d8a))

</details>

<div align="right">

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

</div>
2024-10-27 08:33:24 +00:00
sxjeru 4a26d8a03d 💄 style: Update stepfun models (#4512) 2024-10-27 16:25:51 +08:00
renovate[bot] 7f1500470f Update dependency @anthropic-ai/sdk to ^0.30.0 (#4504) 2024-10-27 11:47:29 +08:00
semantic-release-bot ac3eae335b 🔖 chore(release): v1.25.1 [skip ci]
### [Version&nbsp;1.25.1](https://github.com/lobehub/lobe-chat/compare/v1.25.0...v1.25.1)
<sup>Released on **2024-10-26**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix `modelList` merge.

<br/>

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

#### What's fixed

* **misc**: Fix `modelList` merge, closes [#4491](https://github.com/lobehub/lobe-chat/issues/4491) ([ea422d8](https://github.com/lobehub/lobe-chat/commit/ea422d8))

</details>

<div align="right">

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

</div>
2024-10-26 16:02:43 +00:00
Zhijie He ea422d86f3 🐛 fix: fix modelList merge (#4491)
* 🐛 fix: fix `modelList` merge

* ♻️ refactor: minor logic

* ♻️ refactor: minor code
2024-10-26 23:55:24 +08:00
semantic-release-bot 1a86d84a99 🔖 chore(release): v1.25.0 [skip ci]
## [Version&nbsp;1.25.0](https://github.com/lobehub/lobe-chat/compare/v1.24.2...v1.25.0)
<sup>Released on **2024-10-26**</sup>

####  Features

- **misc**: Support ZEN mode.

<br/>

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

#### What's improved

* **misc**: Support ZEN mode, closes [#4496](https://github.com/lobehub/lobe-chat/issues/4496) ([1a5c7ae](https://github.com/lobehub/lobe-chat/commit/1a5c7ae))

</details>

<div align="right">

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

</div>
2024-10-26 10:55:20 +00:00
Arvin Xu 1a5c7ae84e feat: support ZEN mode (#4496)
*  feat: add zen mode

* 💄 style: improve style

* 💄 style: 新增 Zen Mode

* 💄 style: 新增 Zen Mode

* update locale

* add tests

* 💄 style: fix text
2024-10-26 18:48:05 +08:00
semantic-release-bot f97b6ca393 🔖 chore(release): v1.24.2 [skip ci]
### [Version&nbsp;1.24.2](https://github.com/lobehub/lobe-chat/compare/v1.24.1...v1.24.2)
<sup>Released on **2024-10-26**</sup>

#### 💄 Styles

- **misc**: Update Google Model list, add `gemini-1.5-flash-8b`.

<br/>

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

#### Styles

* **misc**: Update Google Model list, add `gemini-1.5-flash-8b`, closes [#4495](https://github.com/lobehub/lobe-chat/issues/4495) ([499c479](https://github.com/lobehub/lobe-chat/commit/499c479))

</details>

<div align="right">

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

</div>
2024-10-26 10:18:38 +00:00
Zhijie He 499c4791c2 💄 style: update Google Model list, add gemini-1.5-flash-8b (#4495)
* 💄 style: update Google Model list, add `gemini-1.5-flash-8b`

* 💄 style: sort model list
2024-10-26 18:11:20 +08:00
semantic-release-bot 910bbeffb5 🔖 chore(release): v1.24.1 [skip ci]
### [Version&nbsp;1.24.1](https://github.com/lobehub/lobe-chat/compare/v1.24.0...v1.24.1)
<sup>Released on **2024-10-25**</sup>

#### ♻ Code Refactoring

- **misc**: Refactor the Google Gen AI.

<br/>

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

#### Code refactoring

* **misc**: Refactor the Google Gen AI, closes [#4484](https://github.com/lobehub/lobe-chat/issues/4484) ([b890e8d](https://github.com/lobehub/lobe-chat/commit/b890e8d))

</details>

<div align="right">

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

</div>
2024-10-25 14:59:00 +00:00
Arvin Xu b890e8d9bb ♻️ refactor: refactor the Google Gen AI (#4484) 2024-10-25 22:50:25 +08:00
semantic-release-bot 8f83863547 🔖 chore(release): v1.24.0 [skip ci]
## [Version&nbsp;1.24.0](https://github.com/lobehub/lobe-chat/compare/v1.23.1...v1.24.0)
<sup>Released on **2024-10-25**</sup>

####  Features

- **misc**: Add SenseNova (商汤) model provider.

<br/>

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

#### What's improved

* **misc**: Add SenseNova (商汤) model provider, closes [#4162](https://github.com/lobehub/lobe-chat/issues/4162) ([7a4e0b3](https://github.com/lobehub/lobe-chat/commit/7a4e0b3))

</details>

<div align="right">

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

</div>
2024-10-25 13:11:53 +00:00
Zhijie He 7a4e0b3e92 feat: add SenseNova (商汤) model provider (#4162)
*  feat: add SenseCore (商汤) model provider

* 💄 style: update model list, fix `frequency_penalty`, `temperature`, `top_p` value range

* 🔨 chore: add jwt api token calculate

* 🔨 chore: remove `SENSECORE_API_KEY` ENV

* Update authToken.ts

* 🔨 chore: add debug logs

* ♻️ refactor: rollback changes, remove JWT

* 👷 build: add docker ENV, `SENSECORE_API_KEY` & `SENSECORE_MODEL_LIST`

* 🔨 chore: cleanup

* 🔨 chore: cleanup

* 🔨 chore: rename `sensecore` to `sensenova`

* 💄 style: update model list

* 💄 style: sort model list

*  feat: add jwt token generator for SenseNova

* ♻️ refactor: support two different type of `API TOKEN`

* Update authToken.ts

* 💄 style: add custom form for SenseNova

* 💄 style: fix custom form calling & adjust icon size

* 🐛 fix: fix CI error

* 💄 style: adjust icon size

* 🐛 fix: fix `sensenovaAccessKeySecret` not store in key

* 🐛 fix: try to fix loading key from ENV

* 🐛 fix: try to fix loading key from ENV

* 🐛 fix: seems be the root cause, typo

* 💄 style: remove title

* 🐛 fix: fix build error

* 🔨 chore: add i18n

* 🐛 fix: fix PR conflicts

* 🐛 fix: fix route ci error

* 🐛 fix: fix PR conflicts

* ♻️ refactor: move `generateJwtTokenSenseNova` to `LobeSenseNovaAI.generateJWTToken`

* Update index.ts

* rollback changes, submit wrong branch

* 🐛 fix: fix CI error, refactor the chat webapi

* ♻️ refactor: replace deprecated module `crypto-js` to `crypto-es`

* Revert "♻️ refactor: replace deprecated module `crypto-js` to `crypto-es`"

This reverts commit 9655c92121.

* ♻️ refactor: replace `crypto-js` to `jose`, only support ENV now (Part 1)

* Revert "♻️ refactor: replace `crypto-js` to `jose`, only support ENV now (Part 1)"

* ♻️ refactor: using `jose` to generate the APIToken

* 🔨 chore: remove debug code

* 🔨 chore: cleanup package, remove `crypto-js`

* 🔨 chore: add unit test

* 🔨 chore: optimize jwt generate process
2024-10-25 21:04:26 +08:00
bugyaluwang b2fbde4249 🔧 chore: use dpdm-fast to make lint faster (#4389) 2024-10-25 21:00:14 +08:00
semantic-release-bot 582ab80437 🔖 chore(release): v1.23.1 [skip ci]
### [Version&nbsp;1.23.1](https://github.com/lobehub/lobe-chat/compare/v1.23.0...v1.23.1)
<sup>Released on **2024-10-25**</sup>

#### 💄 Styles

- **misc**: Add `*_MODEL_LIST` env to all models, update Spark model id & display name.

<br/>

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

#### Styles

* **misc**: Add `*_MODEL_LIST` env to all models, closes [#4481](https://github.com/lobehub/lobe-chat/issues/4481) ([a969b9c](https://github.com/lobehub/lobe-chat/commit/a969b9c))
* **misc**: Update Spark model id & display name, closes [#4482](https://github.com/lobehub/lobe-chat/issues/4482) ([852dd47](https://github.com/lobehub/lobe-chat/commit/852dd47))

</details>

<div align="right">

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

</div>
2024-10-25 12:40:11 +00:00
Zhijie He 852dd47dde 💄 style: update Spark model id & display name (#4482) 2024-10-25 20:32:54 +08:00
Zhijie He a969b9c202 💄 style: add *_MODEL_LIST env to all models (#4481) 2024-10-25 20:32:34 +08:00
semantic-release-bot 1696b37f86 🔖 chore(release): v1.23.0 [skip ci]
## [Version&nbsp;1.23.0](https://github.com/lobehub/lobe-chat/compare/v1.22.27...v1.23.0)
<sup>Released on **2024-10-25**</sup>

####  Features

- **misc**: Support system agent config.

<br/>

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

#### What's improved

* **misc**: Support system agent config, closes [#4474](https://github.com/lobehub/lobe-chat/issues/4474) ([63ba4d3](https://github.com/lobehub/lobe-chat/commit/63ba4d3))

</details>

<div align="right">

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

</div>
2024-10-25 04:30:07 +00:00
Arvin Xu 63ba4d3b7f feat: support system agent config (#4474)
* 💄 style: support custom system agent

* 💄 style: support disable query rewrite agent

* 🐛 fix: fix ModelSelect id issue

* fix issue

* fix
2024-10-25 12:22:40 +08:00
semantic-release-bot e8ef3c49c6 🔖 chore(release): v1.22.27 [skip ci]
### [Version&nbsp;1.22.27](https://github.com/lobehub/lobe-chat/compare/v1.22.26...v1.22.27)
<sup>Released on **2024-10-25**</sup>

#### 💄 Styles

- **misc**: Add bedrock claude-3.5-sonnect-v2.

<br/>

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

#### Styles

* **misc**: Add bedrock claude-3.5-sonnect-v2, closes [#4468](https://github.com/lobehub/lobe-chat/issues/4468) ([a7fc251](https://github.com/lobehub/lobe-chat/commit/a7fc251))

</details>

<div align="right">

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

</div>
2024-10-25 03:28:26 +00:00
Yuan a7fc251723 💄 style: add bedrock claude-3.5-sonnect-v2 (#4468) 2024-10-25 11:21:01 +08:00
Christian Rodriguez 9fb26410f7 Update docs/self-hosting/server-database.mdx (#4467) 2024-10-24 10:38:34 +08:00
semantic-release-bot 7ef2c8226d 🔖 chore(release): v1.22.26 [skip ci]
### [Version&nbsp;1.22.26](https://github.com/lobehub/lobe-chat/compare/v1.22.25...v1.22.26)
<sup>Released on **2024-10-23**</sup>

#### 💄 Styles

- **misc**: Fix some custom branding detail.

<br/>

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

#### Styles

* **misc**: Fix some custom branding detail, closes [#4465](https://github.com/lobehub/lobe-chat/issues/4465) ([3fb1f6a](https://github.com/lobehub/lobe-chat/commit/3fb1f6a))

</details>

<div align="right">

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

</div>
2024-10-23 18:26:38 +00:00
Arvin Xu 3fb1f6a93a 💄 style: fix some custom branding detail (#4465) 2024-10-24 02:19:14 +08:00
semantic-release-bot 9bcaa853c1 🔖 chore(release): v1.22.25 [skip ci]
### [Version&nbsp;1.22.25](https://github.com/lobehub/lobe-chat/compare/v1.22.24...v1.22.25)
<sup>Released on **2024-10-23**</sup>

#### ♻ Code Refactoring

- **misc**: Remove unused user tables.

<br/>

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

#### Code refactoring

* **misc**: Remove unused user tables, closes [#4464](https://github.com/lobehub/lobe-chat/issues/4464) ([c85a270](https://github.com/lobehub/lobe-chat/commit/c85a270))

</details>

<div align="right">

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

</div>
2024-10-23 16:42:33 +00:00
Arvin Xu c85a270a35 ♻️ refactor: remove unused user tables (#4464) 2024-10-24 00:34:58 +08:00
semantic-release-bot 429476580a 🔖 chore(release): v1.22.24 [skip ci]
### [Version&nbsp;1.22.24](https://github.com/lobehub/lobe-chat/compare/v1.22.23...v1.22.24)
<sup>Released on **2024-10-23**</sup>

#### ♻ Code Refactoring

- **misc**: Support `plugin` flag.

<br/>

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

#### Code refactoring

* **misc**: Support `plugin` flag, closes [#4463](https://github.com/lobehub/lobe-chat/issues/4463) ([9b4be23](https://github.com/lobehub/lobe-chat/commit/9b4be23))

</details>

<div align="right">

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

</div>
2024-10-23 16:07:42 +00:00
Arvin Xu 9b4be23fd9 ♻️ refactor: support plugin flag (#4463)
* ♻️ refactor: support plugin flag

*  test: add tests
2024-10-24 00:00:15 +08:00
semantic-release-bot 2dbc23ebd1 🔖 chore(release): v1.22.23 [skip ci]
### [Version&nbsp;1.22.23](https://github.com/lobehub/lobe-chat/compare/v1.22.22...v1.22.23)
<sup>Released on **2024-10-23**</sup>

#### 💄 Styles

- **misc**: Improve error i18n.

<br/>

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

#### Styles

* **misc**: Improve error i18n, closes [#4462](https://github.com/lobehub/lobe-chat/issues/4462) ([74fb5e7](https://github.com/lobehub/lobe-chat/commit/74fb5e7))

</details>

<div align="right">

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

</div>
2024-10-23 14:48:12 +00:00
Arvin Xu 74fb5e74ed 🌐 style: improve error i18n (#4462) 2024-10-23 22:40:23 +08:00
semantic-release-bot 920086d51c 🔖 chore(release): v1.22.22 [skip ci]
### [Version&nbsp;1.22.22](https://github.com/lobehub/lobe-chat/compare/v1.22.21...v1.22.22)
<sup>Released on **2024-10-23**</sup>

#### 💄 Styles

- **misc**: Improve i18n.

<br/>

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

#### Styles

* **misc**: Improve i18n, closes [#4461](https://github.com/lobehub/lobe-chat/issues/4461) ([4c37928](https://github.com/lobehub/lobe-chat/commit/4c37928))

</details>

<div align="right">

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

</div>
2024-10-23 13:49:10 +00:00
Arvin Xu 4c379288e2 💄 style: improve i18n (#4461)
* 🌐 style: improve i18n

* 🌐 style: improve i18n

* 🌐 style: improve i18n

* 🌐 style: improve i18n
2024-10-23 21:41:25 +08:00
semantic-release-bot b544e52f9e 🔖 chore(release): v1.22.21 [skip ci]
### [Version&nbsp;1.22.21](https://github.com/lobehub/lobe-chat/compare/v1.22.20...v1.22.21)
<sup>Released on **2024-10-23**</sup>

#### ♻ Code Refactoring

- **misc**: Refactor cookie/headers to async mode.

<br/>

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

#### Code refactoring

* **misc**: Refactor cookie/headers to async mode, closes [#4459](https://github.com/lobehub/lobe-chat/issues/4459) ([98c5d21](https://github.com/lobehub/lobe-chat/commit/98c5d21))

</details>

<div align="right">

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

</div>
2024-10-23 12:46:03 +00:00
sxjeru 297b113359 💄 style: Add step-1.5v-turbo model (#4456) 2024-10-23 20:38:45 +08:00
Arvin Xu 98c5d21e67 ♻️ refactor: refactor cookie/headers to async mode (#4459)
* ♻️ refactor: refactor async api request

* ♻️ refactor: refactor async api request

* ♻️ refactor: refactor async api request
2024-10-23 20:37:40 +08:00
semantic-release-bot 79a58428ba 🔖 chore(release): v1.22.20 [skip ci]
### [Version&nbsp;1.22.20](https://github.com/lobehub/lobe-chat/compare/v1.22.19...v1.22.20)
<sup>Released on **2024-10-23**</sup>

#### 💄 Styles

- **misc**: Add new claude-3.5-sonnet model.

<br/>

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

#### Styles

* **misc**: Add new claude-3.5-sonnet model, closes [#4452](https://github.com/lobehub/lobe-chat/issues/4452) ([7102393](https://github.com/lobehub/lobe-chat/commit/7102393))

</details>

<div align="right">

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

</div>
2024-10-23 07:54:38 +00:00
LovelyGuYiMeng 7102393384 💄 style: add new claude-3.5-sonnet model (#4452)
* Update anthropic.ts

* Update anthropic.ts

* Update anthropic.ts
2024-10-23 15:47:15 +08:00
semantic-release-bot 507be8d748 🔖 chore(release): v1.22.19 [skip ci]
### [Version&nbsp;1.22.19](https://github.com/lobehub/lobe-chat/compare/v1.22.18...v1.22.19)
<sup>Released on **2024-10-22**</sup>

#### ♻ Code Refactoring

- **misc**: Move responsive to server utils folder.

<br/>

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

#### Code refactoring

* **misc**: Move responsive to server utils folder, closes [#4447](https://github.com/lobehub/lobe-chat/issues/4447) ([fe7fe64](https://github.com/lobehub/lobe-chat/commit/fe7fe64))

</details>

<div align="right">

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

</div>
2024-10-22 17:24:40 +00:00
Arvin Xu fe7fe644c2 ♻️ refactor: move responsive to server utils folder (#4447) 2024-10-23 01:17:14 +08:00
semantic-release-bot aceec09baa 🔖 chore(release): v1.22.18 [skip ci]
### [Version&nbsp;1.22.18](https://github.com/lobehub/lobe-chat/compare/v1.22.17...v1.22.18)
<sup>Released on **2024-10-22**</sup>

<br/>

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

</details>

<div align="right">

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

</div>
2024-10-22 14:32:20 +00:00
Arvin Xu 4429c2b5fc ️ perf: use antd cssvar mode to improve performance (#4446)
* try cssvar

* Update package.json
2024-10-22 22:24:48 +08:00
renovate[bot] f338b10ba6 Update dependency zustand to v5 (#4421)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-22 20:09:44 +08:00
semantic-release-bot 80ebb25841 🔖 chore(release): v1.22.17 [skip ci]
### [Version&nbsp;1.22.17](https://github.com/lobehub/lobe-chat/compare/v1.22.16...v1.22.17)
<sup>Released on **2024-10-22**</sup>

#### ♻ Code Refactoring

- **misc**: Fix dynamic import in rsc layout.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Code refactoring

* **misc**: Fix dynamic import in rsc layout, closes [#4445](https://github.com/lobehub/lobe-chat/issues/4445) ([011d62a](https://github.com/lobehub/lobe-chat/commit/011d62a))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-10-22 07:30:43 +00:00
Arvin Xu 011d62a1ec ♻️ refactor: fix dynamic import in rsc layout (#4445) 2024-10-22 15:23:16 +08:00
renovate[bot] f104f65798 Update pnpm to v9.12.2 (#4417)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-22 13:45:21 +08:00
renovate[bot] 45f8faeae1 Update dependency drizzle-kit to ^0.26.0 (#4418)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-22 10:44:29 +08:00
renovate[bot] ab8a820393 Update dependency drizzle-orm to ^0.35.0 (#4419)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-22 10:44:18 +08:00
Arvin Xu 655f99be9a 🎨 chore: clean deps (#4442) 2024-10-22 09:00:47 +08:00
semantic-release-bot d47a444e55 🔖 chore(release): v1.22.16 [skip ci]
### [Version&nbsp;1.22.16](https://github.com/lobehub/lobe-chat/compare/v1.22.15...v1.22.16)
<sup>Released on **2024-10-21**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix azure-ad.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Fix azure-ad, closes [#4438](https://github.com/lobehub/lobe-chat/issues/4438) ([8077317](https://github.com/lobehub/lobe-chat/commit/8077317))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-10-21 15:14:20 +00:00
Arvin Xu 8077317299 🐛 fix: fix azure-ad (#4438) 2024-10-21 23:06:58 +08:00
Arvin Xu ea725b9121 🌐 chore: update i18n (#4437) 2024-10-21 22:37:17 +08:00
lobehubbot 0c53a83ad7 📝 docs(bot): Auto sync agents & plugin to readme 2024-10-21 14:17:19 +00:00
semantic-release-bot 54a0027eb0 🔖 chore(release): v1.22.15 [skip ci]
### [Version&nbsp;1.22.15](https://github.com/lobehub/lobe-chat/compare/v1.22.14...v1.22.15)
<sup>Released on **2024-10-21**</sup>

#### ♻ Code Refactoring

- **misc**: Update format utils and shared layout.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Code refactoring

* **misc**: Update format utils and shared layout, closes [#4431](https://github.com/lobehub/lobe-chat/issues/4431) ([56ed073](https://github.com/lobehub/lobe-chat/commit/56ed073))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-10-21 14:16:22 +00:00
CanisMinor 56ed073941 ♻️ refactor: Update format utils and shared layout (#4431)
* 🔧 chore: Update format utils

* 💄 style: Update layout
2024-10-21 22:08:45 +08:00
semantic-release-bot fc1d0a6869 🔖 chore(release): v1.22.14 [skip ci]
### [Version&nbsp;1.22.14](https://github.com/lobehub/lobe-chat/compare/v1.22.13...v1.22.14)
<sup>Released on **2024-10-20**</sup>

#### 💄 Styles

- **misc**: Update wenxin 4.0 turbo model to latest.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Update wenxin 4.0 turbo model to latest, closes [#4428](https://github.com/lobehub/lobe-chat/issues/4428) ([3389fbb](https://github.com/lobehub/lobe-chat/commit/3389fbb))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-10-20 18:29:00 +00:00
renovate[bot] d8de6ced39 Update dependency @langchain/community to ^0.3.0 (#3968)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-21 02:21:39 +08:00
gomico 5963a3d408 📝 docs: Update docker.zh-CN.mdx (#4391)
* Update `docs/self-hosting/server-database/docker.zh-CN.mdx`

* Update docker.zh-CN.mdx
2024-10-21 02:20:24 +08:00
LovelyGuYiMeng 3389fbb1c3 💄 style: update wenxin 4.0 turbo model to latest (#4428)
* 💄 style: update wenxin 4.0 turbo model to latest

* Update mistral.ts
2024-10-21 02:18:18 +08:00
semantic-release-bot 14f16b122f 🔖 chore(release): v1.22.13 [skip ci]
### [Version&nbsp;1.22.13](https://github.com/lobehub/lobe-chat/compare/v1.22.12...v1.22.13)
<sup>Released on **2024-10-20**</sup>

#### 💄 Styles

- **misc**: Add Ministral model, update Together AI model list, add function call & vision.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Add Ministral model, closes [#4427](https://github.com/lobehub/lobe-chat/issues/4427) ([2042df8](https://github.com/lobehub/lobe-chat/commit/2042df8))
* **misc**: Update Together AI model list, add function call & vision, closes [#4393](https://github.com/lobehub/lobe-chat/issues/4393) ([d7fbf1b](https://github.com/lobehub/lobe-chat/commit/d7fbf1b))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-10-20 16:10:48 +00:00
LovelyGuYiMeng 2042df8adb 💄 style: add Ministral model (#4427)
* Update zhipu.ts

* Update hunyuan.ts

* Update mistral.ts

* Update mistral.ts

* Update mistral.ts
2024-10-21 00:03:21 +08:00
Zhijie He d7fbf1b1fa 💄 style: update Together AI model list, add function call & vision (#4393)
* 💄 style: update Together AI model list, add function call & vision

* 🐛 fix: fix typo

* 🐛 fix: fix typo in GitHub providers (`Phi-3.5-mini-instruct`)
2024-10-21 00:03:10 +08:00
semantic-release-bot 2a2b8d8521 🔖 chore(release): v1.22.12 [skip ci]
### [Version&nbsp;1.22.12](https://github.com/lobehub/lobe-chat/compare/v1.22.11...v1.22.12)
<sup>Released on **2024-10-20**</sup>

#### 💄 Styles

- **misc**: Add Llama 3.1 Nemotron 70B model & reorder some provider model list.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Add Llama 3.1 Nemotron 70B model & reorder some provider model list, closes [#4424](https://github.com/lobehub/lobe-chat/issues/4424) ([9355a3d](https://github.com/lobehub/lobe-chat/commit/9355a3d))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-10-20 14:07:05 +00:00
LovelyGuYiMeng 9355a3dc35 💄 style: add Llama 3.1 Nemotron 70B model & reorder some provider model list (#4424)
* Update siliconcloud.ts

* Update siliconcloud.ts

* Update siliconcloud.ts

* Update moonshot.ts

* Update stepfun.ts

* Update zeroone.ts

* Update zhipu.ts

* Update zhipu.ts

* Update zhipu.ts
2024-10-20 21:59:31 +08:00
semantic-release-bot 5d284d5f2c 🔖 chore(release): v1.22.11 [skip ci]
### [Version&nbsp;1.22.11](https://github.com/lobehub/lobe-chat/compare/v1.22.10...v1.22.11)
<sup>Released on **2024-10-20**</sup>

#### ♻ Code Refactoring

- **misc**: Refactor azure ad to ms entra id.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Code refactoring

* **misc**: Refactor azure ad to ms entra id, closes [#4168](https://github.com/lobehub/lobe-chat/issues/4168) ([4fa9588](https://github.com/lobehub/lobe-chat/commit/4fa9588))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-10-20 13:00:59 +00:00
EINDEX 4fa95881cc ♻️ refactor: refactor azure ad to ms entra id (#4168)
* 📝 docs: update entra id sso document

*  feat: support microsoft-entra-id sso login

* 📝 docs: update azure-ad releated document

* 🐛 fix: remove useless code.

* fix doc

* remove useless code

* remove useless env

* remove useless env
2024-10-20 20:53:54 +08:00
lobehubbot d07d8a81a0 📝 docs(bot): Auto sync agents & plugin to readme 2024-10-20 03:47:24 +00:00
semantic-release-bot 035c38a464 🔖 chore(release): v1.22.10 [skip ci]
### [Version&nbsp;1.22.10](https://github.com/lobehub/lobe-chat/compare/v1.22.9...v1.22.10)
<sup>Released on **2024-10-20**</sup>

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-10-20 03:46:19 +00:00
Arvin Xu f68154ec88 👷 build: fix vercel build (#4423) 2024-10-20 11:38:57 +08:00
lyh_rain e4666531fc 📝 docs(self hosting): Add deployment link for Alibaba Cloud international-site (#4368) 2024-10-20 11:28:59 +08:00
semantic-release-bot 92bf98a4b4 🔖 chore(release): v1.22.9 [skip ci]
### [Version&nbsp;1.22.9](https://github.com/lobehub/lobe-chat/compare/v1.22.8...v1.22.9)
<sup>Released on **2024-10-18**</sup>

#### 💄 Styles

- **misc**: Update Fireworks AI model list.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Update Fireworks AI model list, closes [#4394](https://github.com/lobehub/lobe-chat/issues/4394) ([fe8ffdd](https://github.com/lobehub/lobe-chat/commit/fe8ffdd))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-10-18 15:17:32 +00:00
Jason 3aec08330c 📝 docs: add Novita AI in zh-CN readme (#4387) 2024-10-18 23:09:55 +08:00
Zhijie He fe8ffddc6e 💄 style: update Fireworks AI model list (#4394) 2024-10-18 23:09:09 +08:00
semantic-release-bot 433f70d6f1 🔖 chore(release): v1.22.8 [skip ci]
### [Version&nbsp;1.22.8](https://github.com/lobehub/lobe-chat/compare/v1.22.7...v1.22.8)
<sup>Released on **2024-10-17**</sup>

#### 💄 Styles

- **misc**: Add Yi-Lightning model.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Add Yi-Lightning model, closes [#4390](https://github.com/lobehub/lobe-chat/issues/4390) ([9e9fb9a](https://github.com/lobehub/lobe-chat/commit/9e9fb9a))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-10-17 13:59:58 +00:00
sxjeru 9e9fb9a482 💄 style: Add Yi-Lightning model (#4390)
* Update zeroone.ts

* Update zeroone.ts

* Update zeroone.ts

* Update zeroone.ts

* Update zeroone.ts
2024-10-17 21:52:19 +08:00
semantic-release-bot 2b7bc5011a 🔖 chore(release): v1.22.7 [skip ci]
### [Version&nbsp;1.22.7](https://github.com/lobehub/lobe-chat/compare/v1.22.6...v1.22.7)
<sup>Released on **2024-10-17**</sup>

#### 💄 Styles

- **misc**: Add qwen vision model & update qwen2.5 72b to 128k for siliconcloud.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Add qwen vision model & update qwen2.5 72b to 128k for siliconcloud, closes [#4380](https://github.com/lobehub/lobe-chat/issues/4380) ([e8c009b](https://github.com/lobehub/lobe-chat/commit/e8c009b))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-10-17 04:38:19 +00:00
LovelyGuYiMeng e8c009b1ba 💄 style: add qwen vision model & update qwen2.5 72b to 128k for siliconcloud (#4380)
* Update siliconcloud.ts

* Update siliconcloud.ts

* Update siliconcloud.ts

* Update huggingface.ts

* Update siliconcloud.ts

* Update siliconcloud.ts

* Update siliconcloud.ts

* Update siliconcloud.ts
2024-10-17 12:30:59 +08:00
lobehubbot 41c55f88fd 📝 docs(bot): Auto sync agents & plugin to readme 2024-10-15 04:08:46 +00:00
Arthals e189e5c589 📝docs: fix style tag bug (#4376) 2024-10-15 12:01:28 +08:00
lobehubbot 6facd4fbe2 📝 docs(bot): Auto sync agents & plugin to readme 2024-10-14 13:57:44 +00:00
Arthals 2820697103 📝docs: align variable names (#4369) 2024-10-14 21:50:22 +08:00
Dnaynu 04b58f8ad4 📝 docs: Fix typo in README (#4366)
Corrected "Lean more" to "Learn more" in [README.md].

This pull request addresses a minor typo found in repository. The typo has been corrected to improve clarity and maintain the quality of the documentation.

This change is purely cosmetic and does not affect functionality.
2024-10-14 11:22:28 +08:00
Lumia 6d07f53c86 📝 docs: Update cloudflare-zero-trust zh-CN (#4363) 2024-10-14 10:26:39 +08:00
semantic-release-bot 3bd7791a9f 🔖 chore(release): v1.22.6 [skip ci]
### [Version&nbsp;1.22.6](https://github.com/lobehub/lobe-chat/compare/v1.22.5...v1.22.6)
<sup>Released on **2024-10-13**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix images not go in to chat context.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Fix images not go in to chat context, closes [#4361](https://github.com/lobehub/lobe-chat/issues/4361) ([f17ab49](https://github.com/lobehub/lobe-chat/commit/f17ab49))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-10-13 18:05:31 +00:00
Arvin Xu f17ab49772 🐛 fix: fix images not go in to chat context (#4361)
* 💡 chore: add jsdoc

* 🐛 fix: fix the image not in ai chat message

* 💡 chore: add jsdoc

* 🐛 fix: fix
2024-10-14 01:58:10 +08:00
semantic-release-bot ed7e4e37d8 🔖 chore(release): v1.22.5 [skip ci]
### [Version&nbsp;1.22.5](https://github.com/lobehub/lobe-chat/compare/v1.22.4...v1.22.5)
<sup>Released on **2024-10-13**</sup>

#### 💄 Styles

- **misc**: Reorder github model list & updata info & add new model.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Reorder github model list & updata info & add new model, closes [#4360](https://github.com/lobehub/lobe-chat/issues/4360) ([e7767a5](https://github.com/lobehub/lobe-chat/commit/e7767a5))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-10-13 17:25:08 +00:00
LovelyGuYiMeng e7767a569e 💄 style: Reorder github model list & updata info & add new model (#4360)
* Update huggingface.ts

* Update github.ts

* Update github.ts

* Update github.ts

* Update huggingface.ts
2024-10-14 01:17:44 +08:00
semantic-release-bot 6965943719 🔖 chore(release): v1.22.4 [skip ci]
### [Version&nbsp;1.22.4](https://github.com/lobehub/lobe-chat/compare/v1.22.3...v1.22.4)
<sup>Released on **2024-10-13**</sup>

#### ♻ Code Refactoring

- **misc**: Separate message slice and aiChat slice.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Code refactoring

* **misc**: Separate message slice and aiChat slice, closes [#4359](https://github.com/lobehub/lobe-chat/issues/4359) ([7d037f6](https://github.com/lobehub/lobe-chat/commit/7d037f6))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-10-13 16:02:45 +00:00
Arvin Xu 7d037f67ba ♻️ refactor: separate message slice and aiChat slice (#4359)
* ♻️ refactor: separate message slice and ai-chat slice

* 🎨 chore: clean code

* ♻️ refactor: refactor the initialState

* ♻️ refactor: refactor the initialState

*  test: add more tests
2024-10-13 23:55:29 +08:00
semantic-release-bot 99308de4fc 🔖 chore(release): v1.22.3 [skip ci]
### [Version&nbsp;1.22.3](https://github.com/lobehub/lobe-chat/compare/v1.22.2...v1.22.3)
<sup>Released on **2024-10-13**</sup>

#### 💄 Styles

- **misc**: Support multi-windows for PWA.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Support multi-windows for PWA, closes [#4334](https://github.com/lobehub/lobe-chat/issues/4334) ([0284606](https://github.com/lobehub/lobe-chat/commit/0284606))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-10-13 14:33:51 +00:00
BrandonStudio 0284606213 💄 style: support multi-windows for PWA (#4334)
Support multi-window on desktop devices
2024-10-13 22:26:33 +08:00
semantic-release-bot 55646232f7 🔖 chore(release): v1.22.2 [skip ci]
### [Version&nbsp;1.22.2](https://github.com/lobehub/lobe-chat/compare/v1.22.1...v1.22.2)
<sup>Released on **2024-10-13**</sup>

#### 🐛 Bug Fixes

- **misc**: Allow use email as name in logto.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Allow use email as name in logto, closes [#4350](https://github.com/lobehub/lobe-chat/issues/4350) ([d5a046a](https://github.com/lobehub/lobe-chat/commit/d5a046a))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-10-13 07:55:12 +00:00
Yao Cai d5a046a9e5 🐛 fix: allow use email as name in logto (#4350) 2024-10-13 15:47:51 +08:00
Arthals c04afbadaa 📝docs: docker compose project name (#4349) 2024-10-13 12:09:16 +08:00
Arthals 62cbf1c032 📝docs: add casdoor docker compose document (#4338)
* 📝docs: Casdoor

* 📝docs: Docker-compose

* 📝docs: Docker-compose

* 📝docs: English ver.

* 📝docs: Incorporate review suggestions

* 📝docs: Incorporate review suggestions
2024-10-13 10:49:20 +08:00
renovate[bot] 1873cc2cd2 Update pnpm to v9.12.1 (#4342)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-13 09:32:09 +08:00
renovate[bot] 4e8f3b98cb Update dependency @neondatabase/serverless to ^0.10.0 (#4343)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-13 09:31:49 +08:00
renovate[bot] 7f2a516040 Update dependency drizzle-kit to ^0.25.0 (#4344)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-13 09:31:30 +08:00
renovate[bot] 65c654812f Update dependency drizzle-orm to ^0.34.0 (#4345)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-13 09:31:01 +08:00
semantic-release-bot a733c9651f 🔖 chore(release): v1.22.1 [skip ci]
### [Version&nbsp;1.22.1](https://github.com/lobehub/lobe-chat/compare/v1.22.0...v1.22.1)
<sup>Released on **2024-10-12**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix function calling issue, disable stream when using tools.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Fix function calling issue, disable stream when using tools, closes [#4335](https://github.com/lobehub/lobe-chat/issues/4335) ([9f8e0a9](https://github.com/lobehub/lobe-chat/commit/9f8e0a9))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-10-12 16:40:14 +00:00
Zhijie He 9f8e0a9258 🐛 fix: fix function calling issue, disable stream when using tools (#4335) 2024-10-13 00:32:58 +08:00
semantic-release-bot acfbbf2562 🔖 chore(release): v1.22.0 [skip ci]
## [Version&nbsp;1.22.0](https://github.com/lobehub/lobe-chat/compare/v1.21.16...v1.22.0)
<sup>Released on **2024-10-12**</sup>

#### ♻ Code Refactoring

- **misc**: Refactor the chat webapi.

####  Features

- **misc**: Add HuggingFace Model Provider.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Code refactoring

* **misc**: Refactor the chat webapi, closes [#4339](https://github.com/lobehub/lobe-chat/issues/4339) ([4722444](https://github.com/lobehub/lobe-chat/commit/4722444))

#### What's improved

* **misc**: Add HuggingFace Model Provider, closes [#4225](https://github.com/lobehub/lobe-chat/issues/4225) ([d310931](https://github.com/lobehub/lobe-chat/commit/d310931))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-10-12 14:42:37 +00:00
Arvin Xu d3109318c8 feat: add HuggingFace Model Provider (#4225)
* 🚧 wip: add hf runtime

* 💄 style: add HUGGINGFACE_MODEL_LIST

* 🚨 chore: fix lint

* 🎨 chore: fix code

* support handle stream error

* fix

* add i18n

* refactor with openai runtime

* refactor: refactor the HF implement

* 🐛 fix: fix

* 🐛 fix: fix

* 🐛 fix: fix
2024-10-12 22:35:13 +08:00
Arvin Xu 4722444a80 ♻️ refactor: refactor the chat webapi (#4339) 2024-10-12 22:34:55 +08:00
TC 8bb3c8f641 📝 docs: update wenxin provider docs (#4333)
* 📝 docs: update docs for providers

* 📝 docs: update provider doc
2024-10-12 14:47:53 +08:00
lobehubbot 609cf5b3f8 📝 docs(bot): Auto sync agents & plugin to readme 2024-10-12 06:35:33 +00:00
lyh_rain 42690293c3 📝 docs(self-hosting): Add deployment link for Alibaba Cloud' domestic-site (#4331)
Co-authored-by: bupt_rain <lyh376240@alibaba-inc.com>
2024-10-12 14:28:06 +08:00
renovate[bot] 5f4dcab95b Update dependency langchain to ^0.3.0 (#3970)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-12 11:27:24 +08:00
semantic-release-bot 43a89b9d89 🔖 chore(release): v1.21.16 [skip ci]
### [Version&nbsp;1.21.16](https://github.com/lobehub/lobe-chat/compare/v1.21.15...v1.21.16)
<sup>Released on **2024-10-12**</sup>

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-10-12 02:56:00 +00:00
stone-w4tch3r e1cbe81b91 👷 build: Simplify custom builds for NEXT_PUBLIC vars (#4252)
* feat: add build-args support for NEXT_PUBLIC_xxx environment variables

* build: Add GitHub Action to build and publish Docker image with custom NEXT_PUBLIC variable

* fix: Add NEXT_PUBLIC_BASE_PATH to Dockerfile.database

* feat: use base lobe-caht repository for build and set manual trigger

* docs: add guide for building custom image with overridden NEXT_PUBLIC variables

* doc: added comments to custom-build.yml

* doc: improved custom build instructions

* fix: moved workflow to documentation

* fix: removed NEXT_PUBLIC_S3_DOMAIN
2024-10-12 10:48:48 +08:00
semantic-release-bot 69583b14b4 🔖 chore(release): v1.21.15 [skip ci]
### [Version&nbsp;1.21.15](https://github.com/lobehub/lobe-chat/compare/v1.21.14...v1.21.15)
<sup>Released on **2024-10-12**</sup>

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-10-12 02:38:26 +00:00
Zhijie He f2ee6307ac 💄styles: update siliconflow models info (function_call) (#4329) 2024-10-12 10:30:45 +08:00
dupl 1edd6f61f4 👷 build: fix netlify deployment failed (#4328) 2024-10-12 10:29:42 +08:00
semantic-release-bot 71877240a4 🔖 chore(release): v1.21.14 [skip ci]
### [Version&nbsp;1.21.14](https://github.com/lobehub/lobe-chat/compare/v1.21.13...v1.21.14)
<sup>Released on **2024-10-12**</sup>

#### 💄 Styles

- **misc**: Fix artifacts render markdown.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Fix artifacts render markdown, closes [#4327](https://github.com/lobehub/lobe-chat/issues/4327) ([6bb6ea6](https://github.com/lobehub/lobe-chat/commit/6bb6ea6))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-10-12 00:45:15 +00:00
Arvin Xu 6bb6ea6c9d 💄 style: fix artifacts render markdown (#4327) 2024-10-12 09:37:28 +09:00
TC eda92e20d9 📝 docs: update docs for providers (#4326) 2024-10-12 00:43:32 +08:00
semantic-release-bot 23c5bf7bc6 🔖 chore(release): v1.21.13 [skip ci]
### [Version&nbsp;1.21.13](https://github.com/lobehub/lobe-chat/compare/v1.21.12...v1.21.13)
<sup>Released on **2024-10-11**</sup>

#### ♻ Code Refactoring

- **misc**: Refactor agent runtime implement of stream and ZHIPU provider.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Code refactoring

* **misc**: Refactor agent runtime implement of stream and ZHIPU provider, closes [#4323](https://github.com/lobehub/lobe-chat/issues/4323) ([59661a1](https://github.com/lobehub/lobe-chat/commit/59661a1))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-10-11 15:58:18 +00:00
Arvin Xu 59661a1735 ♻️ refactor: refactor agent runtime implement of stream and ZHIPU provider (#4323)
* ♻️ refactor: refactor stream implement

* ♻️ refactor: refactor the Zhipu AI to the OpenAICompatible

* 🎨 chore: clean wenxin code

* 🐛 fix: fix ZHIPU payload
2024-10-11 23:50:55 +08:00
semantic-release-bot e68f81f947 🔖 chore(release): v1.21.12 [skip ci]
### [Version&nbsp;1.21.12](https://github.com/lobehub/lobe-chat/compare/v1.21.11...v1.21.12)
<sup>Released on **2024-10-11**</sup>

#### ♻ Code Refactoring

- **misc**: Refactor the jwt code.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Code refactoring

* **misc**: Refactor the jwt code, closes [#4322](https://github.com/lobehub/lobe-chat/issues/4322) ([b7258b9](https://github.com/lobehub/lobe-chat/commit/b7258b9))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-10-11 13:11:58 +00:00
Arvin Xu b7258b95e5 ♻️ refactor: refactor the jwt code (#4322)
* ♻️ refactor: refactor the jwt code

* clean

* fix lint
2024-10-11 21:04:26 +08:00
renovate[bot] 16bce6dc3f Update dependency @anthropic-ai/sdk to ^0.29.0 (#4266)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-11 17:00:54 +08:00
semantic-release-bot 78a937a96e 🔖 chore(release): v1.21.11 [skip ci]
### [Version&nbsp;1.21.11](https://github.com/lobehub/lobe-chat/compare/v1.21.10...v1.21.11)
<sup>Released on **2024-10-11**</sup>

#### ♻ Code Refactoring

- **misc**: Refactor the backend code for better organization.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Code refactoring

* **misc**: Refactor the backend code for better organization, closes [#4287](https://github.com/lobehub/lobe-chat/issues/4287) ([9a369ac](https://github.com/lobehub/lobe-chat/commit/9a369ac))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-10-11 08:53:23 +00:00
Arvin Xu 9a369ac088 ♻️ refactor: refactor the backend code for better organization (#4287)
* ♻️ refactor: move AgentRuntime

* ♻️ refactor: move errorResponse

* ♻️ refactor: move auth middleware

* ♻️ refactor: move createBizOpenAI

* 🐛 fix: fix rewriteQuery

* fix
2024-10-11 16:45:39 +08:00
semantic-release-bot 04af49a7b6 🔖 chore(release): v1.21.10 [skip ci]
### [Version&nbsp;1.21.10](https://github.com/lobehub/lobe-chat/compare/v1.21.9...v1.21.10)
<sup>Released on **2024-10-11**</sup>

#### 💄 Styles

- **misc**: Updata gpt-4o model info.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Updata gpt-4o model info, closes [#4318](https://github.com/lobehub/lobe-chat/issues/4318) ([fa27ddf](https://github.com/lobehub/lobe-chat/commit/fa27ddf))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-10-11 07:32:46 +00:00
LovelyGuYiMeng c68ef380c3 🔨 chore: fix gpt-4o model ci (#4319)
* Update openai.ts

* Update openrouter.ts

* Update modelProvider.test.ts

* Update index.test.ts.snap
2024-10-11 15:25:20 +08:00
LovelyGuYiMeng fa27ddf20d 💄 style: updata gpt-4o model info (#4318)
* Update openai.ts

* Update openrouter.ts
2024-10-11 14:31:41 +08:00
semantic-release-bot e52a3e6082 🔖 chore(release): v1.21.9 [skip ci]
### [Version&nbsp;1.21.9](https://github.com/lobehub/lobe-chat/compare/v1.21.8...v1.21.9)
<sup>Released on **2024-10-10**</sup>

#### 💄 Styles

- **misc**: Update qwen vl model to latest.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Update qwen vl model to latest, closes [#4307](https://github.com/lobehub/lobe-chat/issues/4307) ([25a7ea2](https://github.com/lobehub/lobe-chat/commit/25a7ea2))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-10-10 15:27:59 +00:00
LovelyGuYiMeng 25a7ea2f96 💄 style: update qwen vl model to latest (#4307)
* Update qwen.ts

* Update qwen.ts
2024-10-10 23:20:28 +08:00
lobehubbot 9bfd64e35a 📝 docs(bot): Auto sync agents & plugin to readme 2024-10-10 11:48:11 +00:00
Yao Cai b36d466cb5 ♻️ docs: Maintainable configurations for casdoor initialization (#4259)
* ♻️ refactor: make init_data.json visible

* ♻️ refactor: remove unused webapi records

* ♻️ refactor: remove unused signin methods

* :refactor: recycle: remove unused tokens

* ♻️ refactor: remove unused providers

* 🐛 fix: wrong redirectUrls

* 💄 style: use lobe branding

* 👷 ci: specific docker compose file version

* ♻️ refactor: remove session

* ♻️ refactor: enableLinkWithEmail

*  revert: - version for docker compose

* 🐛 fix: command not work on newest docker
2024-10-10 19:40:25 +08:00
lobehubbot e653418c67 📝 docs(bot): Auto sync agents & plugin to readme 2024-10-08 14:57:20 +00:00
semantic-release-bot a86b725563 🔖 chore(release): v1.21.8 [skip ci]
### [Version&nbsp;1.21.8](https://github.com/lobehub/lobe-chat/compare/v1.21.7...v1.21.8)
<sup>Released on **2024-10-08**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix auto rewrite query when user message is too long.

#### 💄 Styles

- **misc**: Support yml in file chunk.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Fix auto rewrite query when user message is too long, closes [#4288](https://github.com/lobehub/lobe-chat/issues/4288) ([a2d3d32](https://github.com/lobehub/lobe-chat/commit/a2d3d32))

#### Styles

* **misc**: Support yml in file chunk, closes [#4283](https://github.com/lobehub/lobe-chat/issues/4283) ([cec7ec0](https://github.com/lobehub/lobe-chat/commit/cec7ec0))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-10-08 14:56:17 +00:00
彼方 cec7ec0ea3 💄 style: support yml in file chunk (#4283)
新增.yml格式,并且删除重复的.md格式
2024-10-08 22:48:55 +08:00
Arvin Xu a2d3d32c3b 🐛 fix: fix auto rewrite query when user message is too long (#4288)
* 🐛 fix: fix rewriteQuery

* 🐛 fix: fix rewriteQuery
2024-10-08 22:47:50 +08:00
semantic-release-bot 7d1e5c46ae 🔖 chore(release): v1.21.7 [skip ci]
### [Version&nbsp;1.21.7](https://github.com/lobehub/lobe-chat/compare/v1.21.6...v1.21.7)
<sup>Released on **2024-10-08**</sup>

#### ♻ Code Refactoring

- **misc**: Refactor `text-to-image` endpoint.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Code refactoring

* **misc**: Refactor `text-to-image` endpoint, closes [#4272](https://github.com/lobehub/lobe-chat/issues/4272) ([0c02073](https://github.com/lobehub/lobe-chat/commit/0c02073))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-10-08 00:26:23 +00:00
Arvin Xu 0c02073629 ♻️ refactor: refactor text-to-image endpoint (#4272) 2024-10-08 08:19:10 +08:00
renovate[bot] 8a0e45cc06 Update pnpm to v9.12.0 (#4267)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-06 22:14:00 +08:00
lobehubbot 0c322835a9 📝 docs(bot): Auto sync agents & plugin to readme 2024-10-05 16:31:50 +00:00
semantic-release-bot 7e334aa4b7 🔖 chore(release): v1.21.6 [skip ci]
### [Version&nbsp;1.21.6](https://github.com/lobehub/lobe-chat/compare/v1.21.5...v1.21.6)
<sup>Released on **2024-10-05**</sup>

#### ♻ Code Refactoring

- **misc**: Move backend api to (backend) folder group.

#### 🐛 Bug Fixes

- **misc**: Fix txt-to-image api.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Code refactoring

* **misc**: Move backend api to (backend) folder group, closes [#4262](https://github.com/lobehub/lobe-chat/issues/4262) ([d8afb46](https://github.com/lobehub/lobe-chat/commit/d8afb46))

#### What's fixed

* **misc**: Fix txt-to-image api, closes [#4264](https://github.com/lobehub/lobe-chat/issues/4264) ([d1ff4ba](https://github.com/lobehub/lobe-chat/commit/d1ff4ba))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-10-05 16:30:47 +00:00
Arvin Xu d1ff4ba154 🐛 fix: fix txt-to-image api (#4264) 2024-10-06 00:23:23 +08:00
Arvin Xu d8afb467d8 ♻️ refactor: move backend api to (backend) folder group (#4262)
* ♻️ refactor: move backend api to (backend) folder group

*  test: fix tests
2024-10-06 00:16:54 +08:00
semantic-release-bot bdc4f4e719 🔖 chore(release): v1.21.5 [skip ci]
### [Version&nbsp;1.21.5](https://github.com/lobehub/lobe-chat/compare/v1.21.4...v1.21.5)
<sup>Released on **2024-10-05**</sup>

#### 💄 Styles

- **misc**: Support shadcn in Artifacts.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Support shadcn in Artifacts, closes [#4256](https://github.com/lobehub/lobe-chat/issues/4256) ([863bae5](https://github.com/lobehub/lobe-chat/commit/863bae5))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-10-05 13:59:49 +00:00
Arvin Xu 863bae54f0 💄 style: support shadcn in Artifacts (#4256)
* 🐛 fix: support shadcn

* 🐛 fix: support shadcn

* ♻️ refactor: improve shadcn code
2024-10-05 21:52:24 +08:00
semantic-release-bot 3bf7975000 🔖 chore(release): v1.21.4 [skip ci]
### [Version&nbsp;1.21.4](https://github.com/lobehub/lobe-chat/compare/v1.21.3...v1.21.4)
<sup>Released on **2024-10-02**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix recharts deps in the Artifacts React Renderer.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Fix recharts deps in the Artifacts React Renderer, closes [#4245](https://github.com/lobehub/lobe-chat/issues/4245) ([a120d21](https://github.com/lobehub/lobe-chat/commit/a120d21))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-10-02 08:15:15 +00:00
Arvin Xu a120d21de6 🐛 fix: fix recharts deps in the Artifacts React Renderer (#4245) 2024-10-02 16:07:43 +08:00
semantic-release-bot 54f6912773 🔖 chore(release): v1.21.3 [skip ci]
### [Version&nbsp;1.21.3](https://github.com/lobehub/lobe-chat/compare/v1.21.2...v1.21.3)
<sup>Released on **2024-10-01**</sup>

#### ♻ Code Refactoring

- **misc**: Move most `/api` to `/webapi`.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Code refactoring

* **misc**: Move most `/api` to `/webapi`, closes [#4233](https://github.com/lobehub/lobe-chat/issues/4233) ([542c359](https://github.com/lobehub/lobe-chat/commit/542c359))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-10-01 09:49:08 +00:00
Arvin Xu 542c359f66 ♻️ refactor: move most /api to /webapi (#4233)
* ♻️ refactor: /api to /webapi

*  test: fix tests
2024-10-01 17:41:38 +08:00
semantic-release-bot 160b49090e 🔖 chore(release): v1.21.2 [skip ci]
### [Version&nbsp;1.21.2](https://github.com/lobehub/lobe-chat/compare/v1.21.1...v1.21.2)
<sup>Released on **2024-10-01**</sup>

#### 💄 Styles

- **misc**: Adjust Wenxin icon size.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Adjust Wenxin icon size, closes [#4229](https://github.com/lobehub/lobe-chat/issues/4229) ([6ae79ce](https://github.com/lobehub/lobe-chat/commit/6ae79ce))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-10-01 05:04:50 +00:00
Zhijie He 08ce3f3a10 👷 build: set --dns-result-order=ipv4first as default (#4231) 2024-10-01 12:57:39 +08:00
Zhijie He 6ae79ce434 💄 style: adjust Wenxin icon size (#4229)
* 💄 style: adjust Wenxin icon size

* 💄 style: add extra "一言" for Wenxin

* 🐛 fix: fix `Error: Props should be sorted alphabetically  react/jsx-sort-props`

* 💄 style: remove title

* 🐛 fix: fix build error
2024-10-01 12:52:41 +08:00
lobehubbot 7f50ddac7c 📝 docs(bot): Auto sync agents & plugin to readme 2024-09-30 12:47:28 +00:00
semantic-release-bot 592b63130c 🔖 chore(release): v1.21.1 [skip ci]
### [Version&nbsp;1.21.1](https://github.com/lobehub/lobe-chat/compare/v1.21.0...v1.21.1)
<sup>Released on **2024-09-30**</sup>

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-30 12:46:25 +00:00
Zhijie He 7df27e8a87 👷 build: enhance Self-host CA usage & remove TLS detection (#4223)
* 👷 build: enhance TLS cert checking & Self-host CA usage

* 👷 build: add Wenxin ENV

* 🔨 chore: handle timeout

* Update startServer.js

* 👷 build: remove TLS detection
2024-09-30 20:38:22 +08:00
semantic-release-bot ca9deaae52 🔖 chore(release): v1.21.0 [skip ci]
## [Version&nbsp;1.21.0](https://github.com/lobehub/lobe-chat/compare/v1.20.8...v1.21.0)
<sup>Released on **2024-09-30**</sup>

####  Features

- **misc**: Add wenxin model provider.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's improved

* **misc**: Add wenxin model provider, closes [#4018](https://github.com/lobehub/lobe-chat/issues/4018) ([4483599](https://github.com/lobehub/lobe-chat/commit/4483599))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-30 06:56:06 +00:00
Arvin Xu 4483599683 feat: add wenxin model provider (#4018)
* add wenxinyiyan

* fix locale

* 🐛 fix: support weinxin error handle

* 🚨 chore: fix lint

* 🚨 chore: fix lint

* 优化 api key 提示弹窗

* Update wenxin.ts

* Update wenxin.ts

* Update providers.tsx

* Update index.ts

* Update wenxin.ts

* add i18n

* update i18n

* fix QuotaLimitReached

* add quota limit message

* fix i18n

* fix i18n

* fix i18n

* fix ERNIE-3.5 id

* fix rate limit code and smoothing

---------

Co-authored-by: LovelyGuYiMeng <76251800+LovelyGuYiMeng@users.noreply.github.com>
2024-09-30 14:48:33 +08:00
semantic-release-bot 82b9bbc746 🔖 chore(release): v1.20.8 [skip ci]
### [Version&nbsp;1.20.8](https://github.com/lobehub/lobe-chat/compare/v1.20.7...v1.20.8)
<sup>Released on **2024-09-30**</sup>

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-30 03:35:55 +00:00
Zhijie He 8e87a4ae59 👷 build: remove unnecessary SSL judgments (#4219)
* ♻️ refactor: remove unnecessary SSL judgments

* 🔨 chore: handle `ERR_TLS_CERT_ALTNAME_INVALID` error
2024-09-30 11:29:05 +08:00
Arvin Xu 3f4fe82207 🔨 chore: upgrade shiki to 1.21.0 (#4218) 2024-09-30 11:22:15 +08:00
semantic-release-bot 96eb9da9cf 🔖 chore(release): v1.20.7 [skip ci]
### [Version&nbsp;1.20.7](https://github.com/lobehub/lobe-chat/compare/v1.20.6...v1.20.7)
<sup>Released on **2024-09-29**</sup>

#### 💄 Styles

- **misc**: Update groq model list.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Update groq model list, closes [#4195](https://github.com/lobehub/lobe-chat/issues/4195) ([ef5164d](https://github.com/lobehub/lobe-chat/commit/ef5164d))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-29 19:05:00 +00:00
LovelyGuYiMeng ef5164de6d 💄 style: update groq model list (#4195)
* Update groq.ts

* Update groq.ts
2024-09-30 02:57:50 +08:00
semantic-release-bot 8fa1140a4f 🔖 chore(release): v1.20.6 [skip ci]
### [Version&nbsp;1.20.6](https://github.com/lobehub/lobe-chat/compare/v1.20.5...v1.20.6)
<sup>Released on **2024-09-29**</sup>

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-29 18:40:16 +00:00
Zhijie He fadbc41c01 👷 build: fix zeabur build (#4213)
* 👷 build: add `SKIP_DB_MIGRATION` ENV

* 🔨 chore: change logic

* 💄 style: update error output style

* Update startServer.js

* 👷 build: detect DB_MIGRATION_SCRIPT_PATH, if not exist then skip

* 🔨 chore: improve console log

* 🔨 chore: add skip reason

* 🐛 fix: fix fs calling error

* 🐛 fix: fix `proxychains` conf generate error

* 🔨 chore: fix catch error

* 🐛 fix: fix typo
2024-09-30 02:33:01 +08:00
lobehubbot 376261d3ba 📝 docs(bot): Auto sync agents & plugin to readme 2024-09-29 18:19:29 +00:00
Zixu Zhen b3a2f80578 📝 docs: Prevent '#' and its subsequent comments from affecting the URL of S3 configuration (#4211)
* Prevent URL related comments in env files from affecting usage

* Prevent URL related comments in env files from affecting usage

* Prevent URL related comments in env files from affecting usage

* Prevent URL related comments in env files from affecting usage
2024-09-30 02:12:18 +08:00
semantic-release-bot 86736dbb09 🔖 chore(release): v1.20.5 [skip ci]
### [Version&nbsp;1.20.5](https://github.com/lobehub/lobe-chat/compare/v1.20.4...v1.20.5)
<sup>Released on **2024-09-29**</sup>

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-29 03:40:41 +00:00
Lumia d05afb4a9f 📝 docs: Update docker-compose to use new LOGTO env (#4199)
* Update docker-compose.mdx

* Update docker-compose.zh-CN.mdx
2024-09-29 11:33:14 +08:00
Zhijie He 12dfead151 👷 build: optimize image size under glibc env (#4176) 2024-09-29 11:31:55 +08:00
semantic-release-bot 969f9a6b25 🔖 chore(release): v1.20.4 [skip ci]
### [Version&nbsp;1.20.4](https://github.com/lobehub/lobe-chat/compare/v1.20.3...v1.20.4)
<sup>Released on **2024-09-28**</sup>

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-28 17:36:23 +00:00
CanisMinor d3f1fa6387 perf: remove some blur style to improve performance (#4085)
*  perf: Remove some blur style

* 💄 style: improve Conversation

* 💄 style: improve Conversation

---------

Co-authored-by: arvinxx <arvinx@foxmail.com>
2024-09-29 01:29:20 +08:00
renovate[bot] 6b3e4306b9 Update dependency unstructured-client to ^0.18.0 (#4065)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-28 23:36:06 +08:00
Lumia 88dc3c9617 📝 docs: Add deployment using ZITADEL authentication services (#4081)
* Create docker-compose.yml for local deploy with zitadel

Create docker-compose.yml for local deploy with zitadel

* Create .env.zh-CN.example for local deploy with zitadel

Create .env.zh-CN.example for local deploy with zitadel

* Create .env.example for local deploy with zitadel

Create .env.example for local deploy with zitadel

* Update .env.zh-CN.example

* Create docker-compose.yml for self-hosting with zitadel

Create docker-compose.yml for self-hosting with zitadel

* Create .env.zh-CN.example for self-hosting deploy with zitadel

Create .env.zh-CN.example for self-hosting deploy with zitadel

* Create .env.example for self-host deploy with zitadel

Create .env.example for self-host deploy with zitadel

* Create zitadel-init-steps.yaml

* Create zitadel-config.yaml

* Update docker-compose.yml

* Update docker-compose.yml

* Create zitadel-config.yaml

* Create zitadel-init-steps.yaml

* Update .env.zh-CN.example

* Update .env.example

* Update .env.example

* Update .env.zh-CN.example

* Update zitadel-init-steps.yaml
2024-09-28 23:35:48 +08:00
semantic-release-bot 2c70b90b60 🔖 chore(release): v1.20.3 [skip ci]
### [Version&nbsp;1.20.3](https://github.com/lobehub/lobe-chat/compare/v1.20.2...v1.20.3)
<sup>Released on **2024-09-28**</sup>

#### 🐛 Bug Fixes

- **misc**: Improve delete orphan chunks when delete files.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Improve delete orphan chunks when delete files, closes [#4179](https://github.com/lobehub/lobe-chat/issues/4179) ([f3e0ffe](https://github.com/lobehub/lobe-chat/commit/f3e0ffe))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-28 15:07:42 +00:00
Arvin Xu f3e0ffe433 🐛 fix: improve delete orphan chunks when delete files (#4179)
* 🐛 fix: make deleteOrphanChunks parallels

* 🐛 fix: make deleteOrphanChunks parallels
2024-09-28 23:00:30 +08:00
Caspian Zhao 9aa171213e 📝 docs: add new configuration item of clerk singup (#4188) 2024-09-28 18:31:28 +08:00
Lumia 164a5a0177 📝 docs: update model-provider document (#4181)
* Update model-provider.zh-CN.mdx

增加混元模型

* Update model-provider.mdx

add HUNYUAN Model
2024-09-28 18:30:00 +08:00
semantic-release-bot 302ceeae91 🔖 chore(release): v1.20.2 [skip ci]
### [Version&nbsp;1.20.2](https://github.com/lobehub/lobe-chat/compare/v1.20.1...v1.20.2)
<sup>Released on **2024-09-27**</sup>

#### 💄 Styles

- **misc**: Add zhipu glm-4-flashx model.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Add zhipu glm-4-flashx model, closes [#4173](https://github.com/lobehub/lobe-chat/issues/4173) ([b0c3abc](https://github.com/lobehub/lobe-chat/commit/b0c3abc))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-27 13:20:12 +00:00
LovelyGuYiMeng b0c3abcc19 💄 style: add zhipu glm-4-flashx model (#4173)
* Update zhipu.ts

* Update siliconcloud.ts

* Update siliconcloud.ts

* Update zhipu.ts

* Update siliconcloud.ts
2024-09-27 21:12:51 +08:00
Arvin Xu 63ca869145 👷 build: revert #4025 (#4175)
This reverts commit 7eecb23d22.
2024-09-27 21:07:42 +08:00
semantic-release-bot 794ca8b0f3 🔖 chore(release): v1.20.1 [skip ci]
### [Version&nbsp;1.20.1](https://github.com/lobehub/lobe-chat/compare/v1.20.0...v1.20.1)
<sup>Released on **2024-09-27**</sup>

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-27 12:48:23 +00:00
Zhijie He 7eecb23d22 👷 build: optimize image size under glibc env (#4025)
* 👷 build: optimize image size under `glibc` env

* 👷 build: add `startServer.js` as server launcher

* 🐛 fix: `PROXY_URL` missing

* 🔨 chore: exit if DB migration failed

* 🔨 chore: allow resolve ipv6 address

* 🔨 chore: rollback changes, cleanup code

* 🔨 chore: improve console log

* 🔨 chore: improve error print

* 👷 build: add `isValidSSL` function to check SSL cert

* 🔨 chore: handle `CERT_HAS_EXPIRED` error

* 🔨 chore: cleanup code

* 🔨 chore: improve console log

* 👷 build: check oss & auth issuer ssl connection before running

* 🔨 chore: improve console log

* 🔨 chore: change `SSL` to `TLS`

* 🐛 fix: fix `443` port not display in logs

* 🔨 chore: improve console output

* 🐛 fix: fix error catch

* 🔨 chore: handle corner case

* 👷 build: support self-signed SSL cert, switch to system-wide CA cert

* 🔨 chore: handle `UNABLE_TO_GET_ISSUER_CERT_LOCALLY` error

* 🔨 chore: handle when `*_ISSUER` not existed

* 🔨 chore: handle non-https protocol, skip TLS checking

* 🔨 chore: improve console log

* 🐛 fix: fix proxychains logs not available when host is ip addr

* 👷 build: add DNS server self-check support, split DNS resolve function

* 🔨 chore: improve console.log

* 🔨 chore: print DNS server before db migration

* 🔨 chore: update `isValidIP` & `resolveHostIP` function, ready for IPv6

* 🐛 fix: fix error handle

* 👷 build: set `ENTRYPOINT` to `/bin/node`

* 👷 build: set full path for `proxychains` & `node`, ready for distroless

* 👷 build: pin node LTS version to 20
2024-09-27 20:41:06 +08:00
semantic-release-bot adb78c2877 🔖 chore(release): v1.20.0 [skip ci]
## [Version&nbsp;1.20.0](https://github.com/lobehub/lobe-chat/compare/v1.19.36...v1.20.0)
<sup>Released on **2024-09-27**</sup>

####  Features

- **misc**: Add Hunyuan(Tencent) model provider.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's improved

* **misc**: Add Hunyuan(Tencent) model provider, closes [#4147](https://github.com/lobehub/lobe-chat/issues/4147) ([8ddb41b](https://github.com/lobehub/lobe-chat/commit/8ddb41b))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-27 07:48:04 +00:00
Zhijie He 8ddb41b646 feat: add Hunyuan(Tencent) model provider (#4147)
*  feat: add Hunyuan(Tencent) model provider

* 💄 style: add `HUNYUAN_MODEL_LIST` support

* 💄 style: update model price & provider description

* 💄 style: enable `hunyuan-standard-256K` as default, sort model provider list

* 💄 style: update model tokens info

* 💄 style: update pricing

* 💄 style: update `hunyuan-turbo` model info
2024-09-27 15:40:02 +08:00
semantic-release-bot ac8de6bca9 🔖 chore(release): v1.19.36 [skip ci]
### [Version&nbsp;1.19.36](https://github.com/lobehub/lobe-chat/compare/v1.19.35...v1.19.36)
<sup>Released on **2024-09-27**</sup>

#### 💄 Styles

- **misc**: Add llama3.2 model for openrouter provider.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Add llama3.2 model for openrouter provider, closes [#4151](https://github.com/lobehub/lobe-chat/issues/4151) ([6f1a966](https://github.com/lobehub/lobe-chat/commit/6f1a966))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-27 03:43:54 +00:00
LovelyGuYiMeng 6f1a966ef8 💄 style: add llama3.2 model for openrouter provider (#4151)
* Update openrouter.ts

* Update index.test.ts.snap

* Update openrouter.ts

* Update openrouter.ts

* Update openrouter.ts

* Update openrouter.ts
2024-09-27 11:36:42 +08:00
lobehubbot 4619cbf12f 📝 docs(bot): Auto sync agents & plugin to readme 2024-09-27 02:24:16 +00:00
semantic-release-bot a02954dfad 🔖 chore(release): v1.19.35 [skip ci]
### [Version&nbsp;1.19.35](https://github.com/lobehub/lobe-chat/compare/v1.19.34...v1.19.35)
<sup>Released on **2024-09-27**</sup>

#### 💄 Styles

- **misc**: Add o1-preview and o1-mini model to github model provider.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Add o1-preview and o1-mini model to github model provider, closes [#4127](https://github.com/lobehub/lobe-chat/issues/4127) ([1e4d016](https://github.com/lobehub/lobe-chat/commit/1e4d016))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-27 02:23:07 +00:00
ymefg 1e4d016306 💄 style: add o1-preview and o1-mini model to github model provider (#4127)
* 💄 style: add o1-preview and o1-mini model to github model provider

* Update index.ts
2024-09-27 10:16:02 +08:00
Bui Trong Khanh Duy c550867f12 🔨 chore: re-run i18n, eslint, and prettier (#4161)
* add sessionToken for bedrock model

* Support google model list

* update relate sessionToken info

* update description and revert gg model list

* update description

* change session token is a custom field

* support google model list

* reformat eslint
2024-09-27 10:15:50 +08:00
小云丨Arale 40d347f48b 🔧 chore: update antd to version ^5.21 (#4157) 2024-09-26 22:38:04 +08:00
semantic-release-bot 4711da7793 🔖 chore(release): v1.19.34 [skip ci]
### [Version&nbsp;1.19.34](https://github.com/lobehub/lobe-chat/compare/v1.19.33...v1.19.34)
<sup>Released on **2024-09-26**</sup>

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-26 04:26:38 +00:00
LobeHub Bot 03017ddac0 perf: Update robots rule (#4141)
Co-authored-by: canisminor1990 <i@canisminor.cc>
2024-09-26 12:19:28 +08:00
semantic-release-bot 6a12d457d0 🔖 chore(release): v1.19.33 [skip ci]
### [Version&nbsp;1.19.33](https://github.com/lobehub/lobe-chat/compare/v1.19.32...v1.19.33)
<sup>Released on **2024-09-25**</sup>

#### 🐛 Bug Fixes

- **misc**: MiniMax output long content interrupted by non-existent error.

#### 💄 Styles

- **misc**: Update google provider model info.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: MiniMax output long content interrupted by non-existent error, closes [#4088](https://github.com/lobehub/lobe-chat/issues/4088) ([4f6e20d](https://github.com/lobehub/lobe-chat/commit/4f6e20d))

#### Styles

* **misc**: Update google provider model info, closes [#4129](https://github.com/lobehub/lobe-chat/issues/4129) ([b1442b9](https://github.com/lobehub/lobe-chat/commit/b1442b9))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-25 15:31:01 +00:00
sxjeru 4f6e20dabf 🐛 fix: MiniMax output long content interrupted by non-existent error (#4088)
* Update index.ts

* Update index.test.ts

* Update index.ts

* Update minimax.ts

* Update minimax.ts

* fix

* Update minimax.ts

* Create minimax.test.ts

* Update minimax.ts

* Update minimax.ts

* Update minimax.ts
2024-09-25 23:23:38 +08:00
LovelyGuYiMeng b1442b973e 💄 style: update google provider model info (#4129)
* Update google.ts

* Update google.ts

* Update google.ts

* Update google.ts

* Update google.ts

---------

Co-authored-by: sxjeru <sxjeru@gmail.com>
2024-09-25 23:03:38 +08:00
semantic-release-bot 86871a9058 🔖 chore(release): v1.19.32 [skip ci]
### [Version&nbsp;1.19.32](https://github.com/lobehub/lobe-chat/compare/v1.19.31...v1.19.32)
<sup>Released on **2024-09-25**</sup>

#### 💄 Styles

- **misc**: Add function call for `taichu_llm`.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Add function call for `taichu_llm`, closes [#4119](https://github.com/lobehub/lobe-chat/issues/4119) ([8f629d8](https://github.com/lobehub/lobe-chat/commit/8f629d8))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-25 14:08:38 +00:00
Zhijie He 8f629d8df9 💄 style: add function call for taichu_llm (#4119) 2024-09-25 22:01:04 +08:00
Arvin Xu 7e3aa09510 ️ perf: refactor pwa implement to have better performance (#4124)
* test remove serwist

* 尝试优化 pwa install 实现

* Update next.config.mjs

* fix lint

* delay the service worker register

* only enabled on prod

* when isShowPWAGuide update, trigger guide too
2024-09-25 22:00:28 +08:00
semantic-release-bot bfb7675125 🔖 chore(release): v1.19.31 [skip ci]
### [Version&nbsp;1.19.31](https://github.com/lobehub/lobe-chat/compare/v1.19.30...v1.19.31)
<sup>Released on **2024-09-24**</sup>

#### 💄 Styles

- **misc**: Add google gemini 1.5 002 series.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Add google gemini 1.5 002 series, closes [#4118](https://github.com/lobehub/lobe-chat/issues/4118) ([10145fa](https://github.com/lobehub/lobe-chat/commit/10145fa))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-24 19:21:56 +00:00
Arvin Xu 10145facda 💄 style: add google gemini 1.5 002 series (#4118)
* 💄 style: add gemini 1.5 002 series

* 💄 style: update i18n

* ️ perf: improve tools calling and system role for Gemini

*  test: add tests for google
2024-09-25 03:14:36 +08:00
semantic-release-bot 007dbe2bc5 🔖 chore(release): v1.19.30 [skip ci]
### [Version&nbsp;1.19.30](https://github.com/lobehub/lobe-chat/compare/v1.19.29...v1.19.30)
<sup>Released on **2024-09-24**</sup>

#### 💄 Styles

- **misc**: Disable taichu2.0 functioncall & default disable taichu2.0v model.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Disable taichu2.0 functioncall & default disable taichu2.0v model, closes [#4117](https://github.com/lobehub/lobe-chat/issues/4117) ([00da53b](https://github.com/lobehub/lobe-chat/commit/00da53b))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-24 17:51:54 +00:00
LovelyGuYiMeng 00da53b368 💄 style: disable taichu2.0 functioncall & default disable taichu2.0v model (#4117) 2024-09-25 01:44:39 +08:00
semantic-release-bot c2db3e85b3 🔖 chore(release): v1.19.29 [skip ci]
### [Version&nbsp;1.19.29](https://github.com/lobehub/lobe-chat/compare/v1.19.28...v1.19.29)
<sup>Released on **2024-09-24**</sup>

#### 💄 Styles

- **misc**: Update taichu provider info & add taichu vision model.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Update taichu provider info & add taichu vision model, closes [#4114](https://github.com/lobehub/lobe-chat/issues/4114) ([e5331db](https://github.com/lobehub/lobe-chat/commit/e5331db))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-24 17:16:26 +00:00
LovelyGuYiMeng e5331db146 💄 style: update taichu provider info & add taichu vision model (#4114)
* Update providers.tsx

* Update index.ts

* Update taichu.ts
2024-09-25 01:08:51 +08:00
semantic-release-bot 1f37af2c54 🔖 chore(release): v1.19.28 [skip ci]
### [Version&nbsp;1.19.28](https://github.com/lobehub/lobe-chat/compare/v1.19.27...v1.19.28)
<sup>Released on **2024-09-24**</sup>

#### 💄 Styles

- **misc**: Add function call support for Stepfun.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Add function call support for Stepfun, closes [#4101](https://github.com/lobehub/lobe-chat/issues/4101) ([8d7d96e](https://github.com/lobehub/lobe-chat/commit/8d7d96e))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-24 17:07:25 +00:00
Zhijie He 8d7d96e85e 💄 style: add function call support for Stepfun (#4101)
* 💄 style: add function call support for Stepfun

* 💄 style: update `step-2-16k` model info, add functionCall

* 💄 style: update `step-1-flash` model info, add functionCall
2024-09-25 01:00:15 +08:00
Lumia 759463ad3b 📝 docs: update model-provider document (#4113)
* Update model-provider.zh-CN.mdx

* Update model-provider.zh-CN.mdx

* Update model-provider.zh-CN.mdx

* Update model-provider.mdx

* Update model-provider.zh-CN.mdx

* Update model-provider.mdx

* Update model-provider.zh-CN.mdx
2024-09-25 00:58:38 +08:00
semantic-release-bot 4c876c2537 🔖 chore(release): v1.19.27 [skip ci]
### [Version&nbsp;1.19.27](https://github.com/lobehub/lobe-chat/compare/v1.19.26...v1.19.27)
<sup>Released on **2024-09-24**</sup>

#### 💄 Styles

- **misc**: Improve images display in chat messages.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Improve images display in chat messages, closes [#3475](https://github.com/lobehub/lobe-chat/issues/3475) ([c54c7ed](https://github.com/lobehub/lobe-chat/commit/c54c7ed))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-24 13:25:18 +00:00
vual c54c7ed30b 💄 style: improve images display in chat messages (#3475)
* 修改聊天界面图片展示大小,1张图片时默认200宽度,2张400,3张600,最多到600,避免图片占太大位置,看聊天信息很不方便。如果要看图片,直接查看大图就可以了。

* 修改聊天界面多图展示效果。
1.一行最多3个图片。
2.列的个数以第一行的个数为准。
3.多图时,最大宽度比率计算公式为:scale = firstRow.length * (firstRow.length / items.length),避免多图时占用窗口太大。

* 控制图片宽度比例不小于1
2024-09-24 21:18:06 +08:00
lobehubbot fc25f2683e 📝 docs(bot): Auto sync agents & plugin to readme 2024-09-24 12:18:07 +00:00
semantic-release-bot d5d931c686 🔖 chore(release): v1.19.26 [skip ci]
### [Version&nbsp;1.19.26](https://github.com/lobehub/lobe-chat/compare/v1.19.25...v1.19.26)
<sup>Released on **2024-09-24**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix url config import after user state init.

#### 💄 Styles

- **misc**: Add support function call for 360AI, left sidebar has only assistants.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Fix url config import after user state init, closes [#4072](https://github.com/lobehub/lobe-chat/issues/4072) ([18a240c](https://github.com/lobehub/lobe-chat/commit/18a240c))

#### Styles

* **misc**: Add support function call for 360AI, closes [#4099](https://github.com/lobehub/lobe-chat/issues/4099) ([536696b](https://github.com/lobehub/lobe-chat/commit/536696b))
* **misc**: Left sidebar has only assistants, closes [#4108](https://github.com/lobehub/lobe-chat/issues/4108) ([db1f81c](https://github.com/lobehub/lobe-chat/commit/db1f81c))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-24 12:16:58 +00:00
Yao Cai 18a240cfd8 🐛 fix: fix url config import after user state init (#4072)
* 🐛 fix: settings import

* ♻️ refactor: remove selctor

* ♻️ refactor: add pr ref
2024-09-24 20:09:15 +08:00
Lumia 7f032d24bb 📝 docs: update next-auth documents (#4090)
* Update auth0.mdx

删除ACCESS_CODE
NEXT_AUTH_SSO_PROVIDERS、NEXTAUTH_URL改为Required
使用新版环境变量

* Update auth0.zh-CN.mdx

* Update authelia.mdx

* Update authelia.zh-CN.mdx

* Update authentik.mdx

* Update authentik.zh-CN.mdx

* Update github.mdx

* Update github.zh-CN.mdx

* Update cloudflare-zero-trust.mdx

* Update logto.mdx

* Update logto.zh-CN.mdx

* Update microsoft-entra-id.mdx

* Update microsoft-entra-id.zh-CN.mdx

* Update zitadel.mdx

* Update zitadel.zh-CN.mdx

* Update github.zh-CN.mdx

* Update auth0.mdx

* Update auth0.zh-CN.mdx

* Update authelia.mdx

* Update authelia.zh-CN.mdx

* Update authentik.mdx

* Update authentik.zh-CN.mdx

* Update cloudflare-zero-trust.mdx

* Update github.mdx

* Update github.zh-CN.mdx

* Update logto.mdx

* Update logto.zh-CN.mdx

* Update microsoft-entra-id.mdx

* Update microsoft-entra-id.zh-CN.mdx

* Update zitadel.mdx

* Update zitadel.zh-CN.mdx

* Update zitadel.zh-CN.mdx

* Update zitadel.mdx

* Update cloudflare-zero-trust.zh-CN.mdx
2024-09-24 20:06:36 +08:00
Zhijie He 536696b96c 💄 style: add support function call for 360AI (#4099) 2024-09-24 20:04:33 +08:00
Minh-Phuc Tran db1f81c181 💄 style: left sidebar has only assistants (#4108) 2024-09-24 20:02:48 +08:00
Yao Cai bc264fe4e7 📝 docs: update docker-compose local auth to casdoor (#3855)
* 👷 ci: casdoor in compose

* 🐛 fix: casdoor well-known error

* ♻️ refactor: move envs

* 👷 ci: add s3 demo data

* 👷 ci: Add start script

* 👷 ci: update setup script

* 👷 ci: compress asserts

* ♻️ refactor: rename `demo` to `local`, `local` to `local-logto`

* 🐛 fix: file not found

* ♻️ refactro: download asynchronously

* 🌐 i18n: support zh_CN in setup.sh

* 🐛 fix: tips shown format error

* ♻️ fix: spacing

* 🐛 fix: LC error

* 🐛 fix: update url to main repo

* ♻️ refactor: remove annotations

* 📝 docs: update local-logto docs

* 👷 build: add `LLM_VISION_IMAGE_USE_BASE64=1`

* 💄 style: remove alert text color

* ♻️ refactor: use casdoor provider

* ♻️ refactor: no multithreading

* 🐛 fix: use casdoor provider

* 🐛 fix: i18n in lower version of bash

* 💄 style: remove color

* ♻️ refactor: - duplicate casdoor ports
2024-09-24 20:01:24 +08:00
semantic-release-bot 380359ac92 🔖 chore(release): v1.19.25 [skip ci]
### [Version&nbsp;1.19.25](https://github.com/lobehub/lobe-chat/compare/v1.19.24...v1.19.25)
<sup>Released on **2024-09-24**</sup>

#### 🐛 Bug Fixes

- **misc**: Add missing translations.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Add missing translations, closes [#4106](https://github.com/lobehub/lobe-chat/issues/4106) ([c24bf45](https://github.com/lobehub/lobe-chat/commit/c24bf45))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-24 06:20:18 +00:00
Minh-Phuc Tran c24bf45cf4 🐛 fix: add missing translations (#4106) 2024-09-24 14:13:12 +08:00
lobehubbot 65945a5eb0 📝 docs(bot): Auto sync agents & plugin to readme 2024-09-23 16:29:08 +00:00
semantic-release-bot e7dc28e518 🔖 chore(release): v1.19.24 [skip ci]
### [Version&nbsp;1.19.24](https://github.com/lobehub/lobe-chat/compare/v1.19.23...v1.19.24)
<sup>Released on **2024-09-23**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix artifacts code language highlight.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Fix artifacts code language highlight, closes [#4096](https://github.com/lobehub/lobe-chat/issues/4096) ([2d956a3](https://github.com/lobehub/lobe-chat/commit/2d956a3))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-23 16:28:05 +00:00
Arvin Xu 2d956a37dd 🐛 fix: fix artifacts code language highlight (#4096)
* 🐛 fix: fix artifacts language

* 🎨 chore: improve code

*  test: improve test
2024-09-24 00:20:49 +08:00
lobehubbot 8351f829dc 📝 docs(bot): Auto sync agents & plugin to readme 2024-09-23 07:24:49 +00:00
semantic-release-bot c82c221ab3 🔖 chore(release): v1.19.23 [skip ci]
### [Version&nbsp;1.19.23](https://github.com/lobehub/lobe-chat/compare/v1.19.22...v1.19.23)
<sup>Released on **2024-09-23**</sup>

#### 💄 Styles

- **misc**: Add spark max-32k model.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Add spark max-32k model, closes [#4071](https://github.com/lobehub/lobe-chat/issues/4071) ([c11b57b](https://github.com/lobehub/lobe-chat/commit/c11b57b))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-23 07:23:46 +00:00
LovelyGuYiMeng c11b57bf9e 💄 style: add spark max-32k model (#4071)
* Update spark.ts

* Update spark.ts

* Update openai.ts

* Update openai.ts

* Update openai.ts

* Update spark.ts

* Update spark.ts

* Update spark.ts
2024-09-23 15:16:32 +08:00
renovate[bot] 39a2aff5e7 Update pnpm to v9.11.0 (#4066)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-23 10:11:32 +08:00
semantic-release-bot a4311ea561 🔖 chore(release): v1.19.22 [skip ci]
### [Version&nbsp;1.19.22](https://github.com/lobehub/lobe-chat/compare/v1.19.21...v1.19.22)
<sup>Released on **2024-09-22**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix ollama model download panel.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Fix ollama model download panel, closes [#4070](https://github.com/lobehub/lobe-chat/issues/4070) ([fc33336](https://github.com/lobehub/lobe-chat/commit/fc33336))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-22 12:27:49 +00:00
Arvin Xu fc33336db7 🐛 fix: fix ollama model download panel (#4070) 2024-09-22 20:20:43 +08:00
semantic-release-bot 2d2231f1b9 🔖 chore(release): v1.19.21 [skip ci]
### [Version&nbsp;1.19.21](https://github.com/lobehub/lobe-chat/compare/v1.19.20...v1.19.21)
<sup>Released on **2024-09-21**</sup>

#### ♻ Code Refactoring

- **misc**: Refactor to improve branding customization.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Code refactoring

* **misc**: Refactor to improve branding customization, closes [#4061](https://github.com/lobehub/lobe-chat/issues/4061) ([6199e68](https://github.com/lobehub/lobe-chat/commit/6199e68))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-21 17:07:59 +00:00
Arvin Xu 6199e68d78 ♻️ refactor: refactor to improve branding customization (#4061)
* ♻️ refactor: improve customize

* ♻️ refactor: improve customize

* ♻️ refactor: improve customize

* ♻️ refactor: improve customize

* 💄 style: fix size
2024-09-22 00:49:52 +08:00
semantic-release-bot fc2e7604f3 🔖 chore(release): v1.19.20 [skip ci]
### [Version&nbsp;1.19.20](https://github.com/lobehub/lobe-chat/compare/v1.19.19...v1.19.20)
<sup>Released on **2024-09-21**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix Content-Security-Policy.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Fix Content-Security-Policy, closes [#4056](https://github.com/lobehub/lobe-chat/issues/4056) ([d186062](https://github.com/lobehub/lobe-chat/commit/d186062))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-21 09:56:31 +00:00
Arvin Xu d1860623ee 🐛 fix: fix Content-Security-Policy (#4056) 2024-09-21 17:49:17 +08:00
semantic-release-bot f8a63ff258 🔖 chore(release): v1.19.19 [skip ci]
### [Version&nbsp;1.19.19](https://github.com/lobehub/lobe-chat/compare/v1.19.18...v1.19.19)
<sup>Released on **2024-09-21**</sup>

#### 🐛 Bug Fixes

- **misc**: Casdoor webhooks providerAccountId not found.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Casdoor webhooks providerAccountId not found, closes [#4055](https://github.com/lobehub/lobe-chat/issues/4055) ([b832289](https://github.com/lobehub/lobe-chat/commit/b832289))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-21 09:18:49 +00:00
Yao Cai b832289f03 🐛 fix: casdoor webhooks providerAccountId not found (#4055) 2024-09-21 17:11:25 +08:00
semantic-release-bot d4956ffc3e 🔖 chore(release): v1.19.18 [skip ci]
### [Version&nbsp;1.19.18](https://github.com/lobehub/lobe-chat/compare/v1.19.17...v1.19.18)
<sup>Released on **2024-09-21**</sup>

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-21 07:05:38 +00:00
CanisMinor 8afb4e2981 perf: Use nextjs pwa feat to gen manifest file (#4042)
*  perf: Use nextjs pwa feat to gen manifest file

* 🐛 fix: Fix review problem

*  test: Add test

* 💄 style: Update next config

* 🐛 fix: Fix test config

* 💄 style: Update layout
2024-09-21 14:58:13 +08:00
semantic-release-bot d3aa60a111 🔖 chore(release): v1.19.17 [skip ci]
### [Version&nbsp;1.19.17](https://github.com/lobehub/lobe-chat/compare/v1.19.16...v1.19.17)
<sup>Released on **2024-09-21**</sup>

#### 🐛 Bug Fixes

- **misc**: `providerAccountId` not exist in provider.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: `providerAccountId` not exist in provider, closes [#4053](https://github.com/lobehub/lobe-chat/issues/4053) ([91d8999](https://github.com/lobehub/lobe-chat/commit/91d8999))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-21 06:09:45 +00:00
Yao Cai 91d8999604 🐛 fix: providerAccountId not exist in provider (#4053)
* 🐛 fix: fix providerAccountId not exist in casdoor

* 🐛 fix: providerAccountId not provided
2024-09-21 14:02:42 +08:00
semantic-release-bot 70c71219d2 🔖 chore(release): v1.19.16 [skip ci]
### [Version&nbsp;1.19.16](https://github.com/lobehub/lobe-chat/compare/v1.19.15...v1.19.16)
<sup>Released on **2024-09-21**</sup>

#### 💄 Styles

- **misc**: Improve i18n for discover and improve version check.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Improve i18n for discover and improve version check, closes [#4052](https://github.com/lobehub/lobe-chat/issues/4052) ([ef93712](https://github.com/lobehub/lobe-chat/commit/ef93712))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-21 04:17:59 +00:00
Arvin Xu ef93712039 💄 style: improve i18n for discover and improve version check (#4052)
* i18n

* 🐛 fix: fix the problem of frequent patch updates

*  test: improve tests
2024-09-21 12:10:54 +08:00
semantic-release-bot 354db01282 🔖 chore(release): v1.19.15 [skip ci]
### [Version&nbsp;1.19.15](https://github.com/lobehub/lobe-chat/compare/v1.19.14...v1.19.15)
<sup>Released on **2024-09-20**</sup>

#### 💄 Styles

- **misc**: Improve i18n in discover.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Improve i18n in discover, closes [#4049](https://github.com/lobehub/lobe-chat/issues/4049) ([8170889](https://github.com/lobehub/lobe-chat/commit/8170889))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-20 17:33:38 +00:00
Arvin Xu 8170889fc0 💄 style: improve i18n in discover (#4049)
* i18n

* i18n
2024-09-21 01:26:30 +08:00
semantic-release-bot d0d5fe8ae0 🔖 chore(release): v1.19.14 [skip ci]
### [Version&nbsp;1.19.14](https://github.com/lobehub/lobe-chat/compare/v1.19.13...v1.19.14)
<sup>Released on **2024-09-20**</sup>

#### 🐛 Bug Fixes

- **misc**: Pin `shiki@1.17.7` to fix code highlight.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Pin `shiki@1.17.7` to fix code highlight, closes [#4047](https://github.com/lobehub/lobe-chat/issues/4047) ([d12bf4c](https://github.com/lobehub/lobe-chat/commit/d12bf4c))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-20 16:37:23 +00:00
Arvin Xu d12bf4c962 🐛 fix: pin shiki@1.17.7 to fix code highlight (#4047) 2024-09-21 00:30:16 +08:00
semantic-release-bot 48a344f7c3 🔖 chore(release): v1.19.13 [skip ci]
### [Version&nbsp;1.19.13](https://github.com/lobehub/lobe-chat/compare/v1.19.12...v1.19.13)
<sup>Released on **2024-09-20**</sup>

#### 🐛 Bug Fixes

- **misc**: Try to implement better ssrf-protect.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Try to implement better ssrf-protect, closes [#4044](https://github.com/lobehub/lobe-chat/issues/4044) ([e960a23](https://github.com/lobehub/lobe-chat/commit/e960a23))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-20 15:53:25 +00:00
Arvin Xu e960a23b0c 🐛 fix: try to implement better ssrf-protect (#4044)
* 🐛 fix: try to implement better ssrf-protect

* 🐛 fix: fix error

* 💄 style: improve pwa
2024-09-20 23:46:21 +08:00
semantic-release-bot 4e3b71b85b 🔖 chore(release): v1.19.12 [skip ci]
### [Version&nbsp;1.19.12](https://github.com/lobehub/lobe-chat/compare/v1.19.11...v1.19.12)
<sup>Released on **2024-09-20**</sup>

#### 💄 Styles

- **misc**: Support webhooks for casdoor.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Support webhooks for casdoor, closes [#3942](https://github.com/lobehub/lobe-chat/issues/3942) ([1f2f6a5](https://github.com/lobehub/lobe-chat/commit/1f2f6a5))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-20 14:53:46 +00:00
Yao Cai 1f2f6a5e26 💄 style: support webhooks for casdoor (#3942)
*  feat: Support Casdoor provider

*  feat: + webhook for casdoor

* 🐛 fix: skip test
2024-09-20 22:46:35 +08:00
semantic-release-bot ea28c413c2 🔖 chore(release): v1.19.11 [skip ci]
### [Version&nbsp;1.19.11](https://github.com/lobehub/lobe-chat/compare/v1.19.10...v1.19.11)
<sup>Released on **2024-09-20**</sup>

#### 🐛 Bug Fixes

- **misc**: Custom model initialization not taking effect error.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Custom model initialization not taking effect error, closes [#4038](https://github.com/lobehub/lobe-chat/issues/4038) ([0e0d208](https://github.com/lobehub/lobe-chat/commit/0e0d208))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-20 13:31:23 +00:00
𝑾𝒖𝒙𝒉 0e0d20821f 🐛 fix: custom model initialization not taking effect error (#4038) 2024-09-20 21:24:12 +08:00
semantic-release-bot 2b8d36d226 🔖 chore(release): v1.19.10 [skip ci]
### [Version&nbsp;1.19.10](https://github.com/lobehub/lobe-chat/compare/v1.19.9...v1.19.10)
<sup>Released on **2024-09-20**</sup>

#### 💄 Styles

- **misc**: Add qwen2.5 math and coder model for siliconcloud provider.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Add qwen2.5 math and coder model for siliconcloud provider, closes [#4043](https://github.com/lobehub/lobe-chat/issues/4043) ([d16578f](https://github.com/lobehub/lobe-chat/commit/d16578f))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-20 13:18:36 +00:00
LovelyGuYiMeng d16578f5b4 💄 style: add qwen2.5 math and coder model for siliconcloud provider (#4043) 2024-09-20 21:11:14 +08:00
semantic-release-bot c5ac8b1290 🔖 chore(release): v1.19.9 [skip ci]
### [Version&nbsp;1.19.9](https://github.com/lobehub/lobe-chat/compare/v1.19.8...v1.19.9)
<sup>Released on **2024-09-20**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix a bug with server agent config when user not exist.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Fix a bug with server agent config when user not exist, closes [#4034](https://github.com/lobehub/lobe-chat/issues/4034) ([f6a232b](https://github.com/lobehub/lobe-chat/commit/f6a232b))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-20 05:31:40 +00:00
Arvin Xu f6a232bc54 🐛 fix: fix a bug with server agent config when user not exist (#4034) 2024-09-20 12:13:24 +08:00
semantic-release-bot 2206e0a727 🔖 chore(release): v1.19.8 [skip ci]
### [Version&nbsp;1.19.8](https://github.com/lobehub/lobe-chat/compare/v1.19.7...v1.19.8)
<sup>Released on **2024-09-19**</sup>

#### 💄 Styles

- **misc**: Delete siliconflow outdated model & disable stepfun functioncall.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Delete siliconflow outdated model & disable stepfun functioncall, closes [#4033](https://github.com/lobehub/lobe-chat/issues/4033) ([08c53eb](https://github.com/lobehub/lobe-chat/commit/08c53eb))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-19 18:52:55 +00:00
LovelyGuYiMeng 08c53eb2b6 💄 style: delete siliconflow outdated model & disable stepfun functioncall (#4033)
* Update qwen.ts

* Update siliconcloud.ts

* Update stepfun.ts
2024-09-20 02:45:17 +08:00
semantic-release-bot 213445141b 🔖 chore(release): v1.19.7 [skip ci]
### [Version&nbsp;1.19.7](https://github.com/lobehub/lobe-chat/compare/v1.19.6...v1.19.7)
<sup>Released on **2024-09-19**</sup>

#### 💄 Styles

- **misc**: Add siliconflow qwen2.5 model.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Add siliconflow qwen2.5 model, closes [#4024](https://github.com/lobehub/lobe-chat/issues/4024) ([06ffd99](https://github.com/lobehub/lobe-chat/commit/06ffd99))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-19 17:57:39 +00:00
LovelyGuYiMeng 06ffd99a69 💄 style: add siliconflow qwen2.5 model (#4024)
* Update siliconcloud.ts

* Update siliconcloud.ts

* Update siliconcloud.ts

* Update siliconcloud.ts

* Update qwen.ts

* Update qwen.ts

* Update qwen.ts
2024-09-20 01:50:22 +08:00
semantic-release-bot a73ef61878 🔖 chore(release): v1.19.6 [skip ci]
### [Version&nbsp;1.19.6](https://github.com/lobehub/lobe-chat/compare/v1.19.5...v1.19.6)
<sup>Released on **2024-09-19**</sup>

#### ♻ Code Refactoring

- **misc**: Refactor the tts route url.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Code refactoring

* **misc**: Refactor the tts route url, closes [#4030](https://github.com/lobehub/lobe-chat/issues/4030) ([60dcf19](https://github.com/lobehub/lobe-chat/commit/60dcf19))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-19 16:39:55 +00:00
Arvin Xu 60dcf19037 ♻️ refactor: refactor the tts route url (#4030)
* ♻️ refactor: refactor the tts to new route

* ♻️ refactor: refactor the tts to new route
2024-09-20 00:33:08 +08:00
lobehubbot 8b918848c0 📝 docs(bot): Auto sync agents & plugin to readme 2024-09-19 15:58:53 +00:00
semantic-release-bot b4e17c24d8 🔖 chore(release): v1.19.5 [skip ci]
### [Version&nbsp;1.19.5](https://github.com/lobehub/lobe-chat/compare/v1.19.4...v1.19.5)
<sup>Released on **2024-09-19**</sup>

#### 💄 Styles

- **misc**: Enable functioncall for stepfun models, Update qwen models.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Enable functioncall for stepfun models, closes [#4022](https://github.com/lobehub/lobe-chat/issues/4022) ([afb3509](https://github.com/lobehub/lobe-chat/commit/afb3509))
* **misc**: Update qwen models, closes [#4026](https://github.com/lobehub/lobe-chat/issues/4026) ([6169e8f](https://github.com/lobehub/lobe-chat/commit/6169e8f))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-19 15:57:53 +00:00
sxjeru 6169e8f4ad 💄 style: Update qwen models (#4026)
* Update qwen.ts

* Update qwen.ts
2024-09-19 23:50:32 +08:00
LovelyGuYiMeng afb3509379 💄 style: enable functioncall for stepfun models (#4022)
* Update stepfun.ts

* Update ai360.ts

* Update ai360.ts
2024-09-19 23:48:44 +08:00
semantic-release-bot c46a1ec5d2 🔖 chore(release): v1.19.4 [skip ci]
### [Version&nbsp;1.19.4](https://github.com/lobehub/lobe-chat/compare/v1.19.3...v1.19.4)
<sup>Released on **2024-09-19**</sup>

#### ♻ Code Refactoring

- **misc**: Refactor the sitemap implement.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Code refactoring

* **misc**: Refactor the sitemap implement, closes [#4012](https://github.com/lobehub/lobe-chat/issues/4012) ([d93a161](https://github.com/lobehub/lobe-chat/commit/d93a161))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-19 14:15:34 +00:00
CanisMinor d93a1617e7 ♻️ refactor: refactor the sitemap implement (#4012)
*  feat: Add new sitemap

* 🐛 fix: Fix url

*  test: Add test

* 🐛 fix: Fix host

*  test: Fix test

*  test: Fix test

* 🐛 fix: Fix alternative

* 🐛 fix: Try to fix

* 🐛 fix: Fix build

* 🐛 fix: Fix build

* 🔧 chore: Update git ignore

* 🐛 fix: Fix review problem
2024-09-19 22:08:14 +08:00
semantic-release-bot 5bd773ef53 🔖 chore(release): v1.19.3 [skip ci]
### [Version&nbsp;1.19.3](https://github.com/lobehub/lobe-chat/compare/v1.19.2...v1.19.3)
<sup>Released on **2024-09-19**</sup>

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-19 12:26:53 +00:00
Zhijie He 61d2f533a6 👷 build: change base image from musl to glibc (#3926) 2024-09-19 20:19:37 +08:00
lobehubbot a5c31911cf 📝 docs(bot): Auto sync agents & plugin to readme 2024-09-19 09:07:54 +00:00
semantic-release-bot 50a2c02959 🔖 chore(release): v1.19.2 [skip ci]
### [Version&nbsp;1.19.2](https://github.com/lobehub/lobe-chat/compare/v1.19.1...v1.19.2)
<sup>Released on **2024-09-19**</sup>

#### 💄 Styles

- **misc**: Updata qwen model info & add qwen2.5 & reorder provider list.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Updata qwen model info & add qwen2.5 & reorder provider list, closes [#4020](https://github.com/lobehub/lobe-chat/issues/4020) ([d5e7578](https://github.com/lobehub/lobe-chat/commit/d5e7578))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-19 09:06:57 +00:00
LovelyGuYiMeng d5e7578821 💄 style: updata qwen model info & add qwen2.5 & reorder provider list (#4020)
* Update qwen.ts

* Update qwen.ts

* Update index.ts

* Update providers.tsx

* Update qwen.ts

* Update qwen.ts
2024-09-19 14:36:59 +08:00
semantic-release-bot 5d03c2be8f 🔖 chore(release): v1.19.1 [skip ci]
### [Version&nbsp;1.19.1](https://github.com/lobehub/lobe-chat/compare/v1.19.0...v1.19.1)
<sup>Released on **2024-09-19**</sup>

#### 💄 Styles

- **misc**: Add mistral provider new models.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Add mistral provider new models, closes [#4014](https://github.com/lobehub/lobe-chat/issues/4014) ([0b70d57](https://github.com/lobehub/lobe-chat/commit/0b70d57))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-19 02:20:59 +00:00
LovelyGuYiMeng 0b70d57a2d 💄 style: add mistral provider new models (#4014)
* Update mistral.ts

* Update upstage.ts
2024-09-19 10:13:50 +08:00
renovate[bot] d6d3d408d0 Update dependency @clerk/localizations to v3 (#3972)
* Update dependency @clerk/localizations to v3

* Update package.json

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-19 10:12:27 +08:00
semantic-release-bot c7092e5321 🔖 chore(release): v1.19.0 [skip ci]
## [Version&nbsp;1.19.0](https://github.com/lobehub/lobe-chat/compare/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](https://github.com/lobehub/lobe-chat/issues/3727) ([d2fe0f0](https://github.com/lobehub/lobe-chat/commit/d2fe0f0))
* **misc**: Add Github Models provider, closes [#3869](https://github.com/lobehub/lobe-chat/issues/3869) ([8eac1bd](https://github.com/lobehub/lobe-chat/commit/8eac1bd))
* **misc**: Support native Artifacts just like Claude, closes [#3985](https://github.com/lobehub/lobe-chat/issues/3985) ([0c42c46](https://github.com/lobehub/lobe-chat/commit/0c42c46))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-18 17:53:07 +00:00
Arvin Xu 0c42c462b0 feat: support native Artifacts just like Claude (#3985)
*  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
2024-09-19 01:45:55 +08:00
Zhijie He d2fe0f0590 feat: add Ai21Labs model provider (#3727)
*  feat: add Ai21Labs model provider

* 🔨 chore: fix rebase conflicts

* 🐛 fix: fix CI error

* 💄 style: add model price

* 🐛 fix: fix CI error
2024-09-19 01:42:40 +08:00
小云丨Arale 8eac1bd774 feat: add Github Models provider (#3869)
*  feat: add Github Models as provider

* :bug fix: sort order of ProviderList

* 💄 style: add more info for Github Models provider

*  feat: Add GitHub provider configuration

Adds support for configuring the GitHub provider in the LLM settings. It includes:

- A new `useGithubProvider` hook to define the GitHub provider configuration
- Integration of the GitHub provider in the provider list
- Localization strings for the GitHub personal access token input

The changes allow users to enter their GitHub personal access token to use GitHub-related LLM features.

* 🐛 fix: use Github Personal access tokens (classic) instead

* 💄 style: Add Invalid Github Token error type and message

Adds support for handling invalid Github Personal Access Tokens:

- Adds a new `InvalidGithubToken` error type in the `AgentRuntimeErrorType` enum
- Adds an error message for `InvalidGithubToken` in the localization files
- Configures the Github AI provider to use the new error type

This allows properly handling and displaying errors when an invalid Github token is provided.

*  test: fix test for new error type

* 🐛 fix: sort order of ProviderCards

* 💄 style: use abbreviation for Github PAT

* 💄 style: add the hyperlink for creating Github PAT

* 🌐 chore: improve desc

*  test: update test

---------

Co-authored-by: arvinxx <arvinx@foxmail.com>
2024-09-19 01:42:15 +08:00
Arvin Xu 5ccc41d7c1 💄 style: improve open router tools calling metadata (#3835)
* 🐛 fix: open router function calling for claude

* 📸 test: fix snapshot
2024-09-19 00:02:01 +08:00
semantic-release-bot 664687ddb0 🔖 chore(release): v1.18.2 [skip ci]
### [Version&nbsp;1.18.2](https://github.com/lobehub/lobe-chat/compare/v1.18.1...v1.18.2)
<sup>Released on **2024-09-18**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix InterceptingRoutes in discover.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Fix InterceptingRoutes in discover, closes [#4011](https://github.com/lobehub/lobe-chat/issues/4011) ([2b75040](https://github.com/lobehub/lobe-chat/commit/2b75040))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-18 13:42:14 +00:00
CanisMinor 2b75040519 🐛 fix: Fix InterceptingRoutes in discover (#4011) 2024-09-18 21:35:14 +08:00
semantic-release-bot 8fb2bd0df2 🔖 chore(release): v1.18.1 [skip ci]
### [Version&nbsp;1.18.1](https://github.com/lobehub/lobe-chat/compare/v1.18.0...v1.18.1)
<sup>Released on **2024-09-18**</sup>

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-18 09:42:11 +00:00
Arvin Xu 199d35b8b8 👷 build: fix docker build (#4008) 2024-09-18 17:35:19 +08:00
semantic-release-bot 8070a63a45 🔖 chore(release): v1.18.0 [skip ci]
## [Version&nbsp;1.18.0](https://github.com/lobehub/lobe-chat/compare/v1.17.7...v1.18.0)
<sup>Released on **2024-09-18**</sup>

####  Features

- **misc**: Add Discover Page.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's improved

* **misc**: Add Discover Page, closes [#3848](https://github.com/lobehub/lobe-chat/issues/3848) ([f83cab6](https://github.com/lobehub/lobe-chat/commit/f83cab6))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-18 09:20:36 +00:00
CanisMinor f83cab6043 feat: Add Discover Page (#3848)
*  feat: Add Discover

* 💄 style: Update provider id

*  feat: Add provider mdx docs

* ♻️ refactor: Refactor service

*  test: Fix test

*  test: Fix Test

* 🔧 chore: Move docService to server

* 💄 style: Replace ProductLogo

* 🐛 fix: Fix const

*  feat: Update Discover provider and model

* 💄 style: Update ShareIcon

* 💄 style: Update share style

*  test: Update test

* fix

* fix

* 💄 style: Update style

* 💄 style: Update style

* 🐛 fix: Fix test

*  feat: Support alternate

*  feat: Add Disociver Intercepting Modal

* 🐛 fix: Fix link

* 🐛 fix: Fix Link

* ♻️ refactor: Use type query in search

* 🐛 fix: Fix review problem

* 📝 docs: Update i18n
2024-09-18 17:08:41 +08:00
renovate[bot] c7d91921dc Update pnpm to v9.10.0 (#3971)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-18 10:19:00 +08:00
semantic-release-bot e715709092 🔖 chore(release): v1.17.7 [skip ci]
### [Version&nbsp;1.17.7](https://github.com/lobehub/lobe-chat/compare/v1.17.6...v1.17.7)
<sup>Released on **2024-09-16**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix a corner case of `tools_call` with empty object.

#### 💄 Styles

- **misc**: Delete duplicate models in ollama.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Fix a corner case of `tools_call` with empty object, closes [#3955](https://github.com/lobehub/lobe-chat/issues/3955) ([d3fabdc](https://github.com/lobehub/lobe-chat/commit/d3fabdc))

#### Styles

* **misc**: Delete duplicate models in ollama, closes [#3989](https://github.com/lobehub/lobe-chat/issues/3989) ([ece60ee](https://github.com/lobehub/lobe-chat/commit/ece60ee))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-16 15:50:40 +00:00
Zhijie He d3fabdc8d8 🐛 fix: fix a corner case of tools_call with empty object (#3955)
* 🐛 fix: fix got content in finish_reason

* 🐛 fix: fix a corner case of `tools_call` with empty object
2024-09-16 23:43:25 +08:00
LovelyGuYiMeng ece60ee152 💄 style: Delete duplicate models in ollama (#3989) 2024-09-16 23:40:54 +08:00
semantic-release-bot 36a03aaa21 🔖 chore(release): v1.17.6 [skip ci]
### [Version&nbsp;1.17.6](https://github.com/lobehub/lobe-chat/compare/v1.17.5...v1.17.6)
<sup>Released on **2024-09-15**</sup>

#### ♻ Code Refactoring

- **misc**: Rename artifacts to plugins in portal.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Code refactoring

* **misc**: Rename artifacts to plugins in portal, closes [#3986](https://github.com/lobehub/lobe-chat/issues/3986) ([073b936](https://github.com/lobehub/lobe-chat/commit/073b936))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-15 17:09:49 +00:00
Arvin Xu 073b936401 ♻️ refactor: rename artifacts to plugins in portal (#3986)
* ♻️ refactor: rename to plugins

* 💄 style: use another icon
2024-09-16 01:03:00 +08:00
semantic-release-bot dd9122f8e0 🔖 chore(release): v1.17.5 [skip ci]
### [Version&nbsp;1.17.5](https://github.com/lobehub/lobe-chat/compare/v1.17.4...v1.17.5)
<sup>Released on **2024-09-15**</sup>

#### 💄 Styles

- **misc**: Add MiniCPM-V 8B model entries to Ollama model providers.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Add MiniCPM-V 8B model entries to Ollama model providers, closes [#3984](https://github.com/lobehub/lobe-chat/issues/3984) ([f9c26de](https://github.com/lobehub/lobe-chat/commit/f9c26de))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-15 17:00:14 +00:00
cr-zhichen f9c26de46b 💄 style: Add MiniCPM-V 8B model entries to Ollama model providers (#3984)
* feat(modelProviders): Add MiniCPM 8B to Ollama model providers

This commit adds two new entries for MiniCPM 8B to the Ollama model providers. These models have excellent OCR recognition and multimodal understanding capabilities, supporting a wide range of applications.

- Added MiniCPM 8B model entry with ID 'minicpm-v:8b' and 128,000 tokens
- Added another MiniCPM 8B model entry with ID 'minicpm-v' and 128,000 tokens

* feat(modelProviders): Update MiniCPM-V display name and description
2024-09-16 00:53:11 +08:00
semantic-release-bot c79c17cdca 🔖 chore(release): v1.17.4 [skip ci]
### [Version&nbsp;1.17.4](https://github.com/lobehub/lobe-chat/compare/v1.17.3...v1.17.4)
<sup>Released on **2024-09-15**</sup>

#### 💄 Styles

- **misc**: Update fullscreen loading style.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Update fullscreen loading style, closes [#3948](https://github.com/lobehub/lobe-chat/issues/3948) ([aec21d2](https://github.com/lobehub/lobe-chat/commit/aec21d2))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-15 01:55:13 +00:00
CanisMinor aec21d27b5 💄 style: Update fullscreen loading style (#3948)
* 💄 style: Update fullscreen loading style

* fix

* 💄 style: Update loading style
2024-09-15 09:48:17 +08:00
semantic-release-bot 31eb54d80c 🔖 chore(release): v1.17.3 [skip ci]
### [Version&nbsp;1.17.3](https://github.com/lobehub/lobe-chat/compare/v1.17.2...v1.17.3)
<sup>Released on **2024-09-14**</sup>

#### 💄 Styles

- **misc**: Delete "-" in deepseek displayname.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Delete "-" in deepseek displayname, closes [#3958](https://github.com/lobehub/lobe-chat/issues/3958) ([c0e89f5](https://github.com/lobehub/lobe-chat/commit/c0e89f5))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-14 04:22:25 +00:00
LovelyGuYiMeng c0e89f5e22 💄 style: delete "-" in deepseek displayname (#3958) 2024-09-14 12:15:39 +08:00
semantic-release-bot 8c86d06399 🔖 chore(release): v1.17.2 [skip ci]
### [Version&nbsp;1.17.2](https://github.com/lobehub/lobe-chat/compare/v1.17.1...v1.17.2)
<sup>Released on **2024-09-13**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix o1 model list.

#### 💄 Styles

- **misc**: Update openrouter model list.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Fix o1 model list, closes [#3957](https://github.com/lobehub/lobe-chat/issues/3957) ([e04cdd9](https://github.com/lobehub/lobe-chat/commit/e04cdd9))

#### Styles

* **misc**: Update openrouter model list, closes [#3954](https://github.com/lobehub/lobe-chat/issues/3954) ([1a1572b](https://github.com/lobehub/lobe-chat/commit/1a1572b))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-13 15:35:35 +00:00
Arvin Xu e04cdd9f07 🐛 fix: fix o1 model list (#3957) 2024-09-13 23:28:45 +08:00
LovelyGuYiMeng 1a1572ba78 💄 style: update openrouter model list (#3954)
* Update openrouter.ts

* Update openrouter.ts

* Update openrouter.ts

* Update openrouter.ts

* Update index.test.ts.snap

* Update index.test.ts

* Update index.test.ts.snap

* Update index.test.ts.snap

* Update index.test.ts.snap
2024-09-13 23:28:31 +08:00
semantic-release-bot 3a3a4d3034 🔖 chore(release): v1.17.1 [skip ci]
### [Version&nbsp;1.17.1](https://github.com/lobehub/lobe-chat/compare/v1.17.0...v1.17.1)
<sup>Released on **2024-09-13**</sup>

#### 💄 Styles

- **misc**: Update zhipu model info.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Update zhipu model info, closes [#3949](https://github.com/lobehub/lobe-chat/issues/3949) ([bbdbfde](https://github.com/lobehub/lobe-chat/commit/bbdbfde))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-13 10:19:28 +00:00
LovelyGuYiMeng bbdbfdef13 💄 style: update zhipu model info (#3949) 2024-09-13 18:12:37 +08:00
Yuhang 197ef18bb3 📝 docs: update deploy lobechat-database on zeabur (#3947)
* docs: update deploy lobechat-database on zeabur

* docs: zh-CN for deploy LobeChat on Zeabur

* 📝 docs(bot): Auto sync agents & plugin to readme

---------

Co-authored-by: lobehubbot <i@lobehub.com>
2024-09-13 15:45:07 +08:00
semantic-release-bot d5cd07013f 🔖 chore(release): v1.17.0 [skip ci]
## [Version&nbsp;1.17.0](https://github.com/lobehub/lobe-chat/compare/v1.16.14...v1.17.0)
<sup>Released on **2024-09-13**</sup>

####  Features

- **misc**: Support openai new OpenAI o1-preview/o1-mini models.

#### 💄 Styles

- **misc**: Support Google Model List.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's improved

* **misc**: Support openai new OpenAI o1-preview/o1-mini models, closes [#3943](https://github.com/lobehub/lobe-chat/issues/3943) ([61bfeb2](https://github.com/lobehub/lobe-chat/commit/61bfeb2))

#### Styles

* **misc**: Support Google Model List, closes [#3938](https://github.com/lobehub/lobe-chat/issues/3938) ([be4efc7](https://github.com/lobehub/lobe-chat/commit/be4efc7))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-13 05:08:16 +00:00
Bui Trong Khanh Duy be4efc76c1 💄 style: Support Google Model List (#3938)
* add sessionToken for bedrock model

* Support google model list

* update relate sessionToken info

* update description and revert gg model list

* update description

* change session token is a custom field

* support google model list
2024-09-13 13:00:59 +08:00
Arvin Xu 61bfeb2c99 feat: support openai new OpenAI o1-preview/o1-mini models (#3943)
* support o1

* Update openai.ts

* fix test

* fix test
2024-09-13 12:54:21 +08:00
semantic-release-bot 99ac98cffe 🔖 chore(release): v1.16.14 [skip ci]
### [Version&nbsp;1.16.14](https://github.com/lobehub/lobe-chat/compare/v1.16.13...v1.16.14)
<sup>Released on **2024-09-13**</sup>

#### 💄 Styles

- **model**: Remove `OpenAI` deprecated model.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **model**: Remove `OpenAI` deprecated model, closes [#3465](https://github.com/lobehub/lobe-chat/issues/3465) ([68a4fb2](https://github.com/lobehub/lobe-chat/commit/68a4fb2))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-13 04:21:01 +00:00
Rubu Jam 68a4fb2ba9 💄 style(model): remove OpenAI deprecated model (#3465) 2024-09-13 12:14:06 +08:00
semantic-release-bot 7f00261935 🔖 chore(release): v1.16.13 [skip ci]
### [Version&nbsp;1.16.13](https://github.com/lobehub/lobe-chat/compare/v1.16.12...v1.16.13)
<sup>Released on **2024-09-13**</sup>

#### 💄 Styles

- **misc**: Update siliconcloud model.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Update siliconcloud model, closes [#3935](https://github.com/lobehub/lobe-chat/issues/3935) ([882e981](https://github.com/lobehub/lobe-chat/commit/882e981))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-13 02:22:20 +00:00
sxjeru 882e981931 💄 style: Update siliconcloud model (#3935) 2024-09-13 10:15:34 +08:00
semantic-release-bot a8ba75b647 🔖 chore(release): v1.16.12 [skip ci]
### [Version&nbsp;1.16.12](https://github.com/lobehub/lobe-chat/compare/v1.16.11...v1.16.12)
<sup>Released on **2024-09-12**</sup>

#### 💄 Styles

- **misc**: Remove brackets from model names with dates in OpenAI.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Remove brackets from model names with dates in OpenAI, closes [#3927](https://github.com/lobehub/lobe-chat/issues/3927) ([2a937bc](https://github.com/lobehub/lobe-chat/commit/2a937bc))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-12 16:24:15 +00:00
LovelyGuYiMeng 2a937bc8fd 💄 style: Remove brackets from model names with dates in OpenAI (#3927)
* Update openai.ts

* Update index.test.ts.snap

* Update index.test.ts.snap
2024-09-13 00:17:24 +08:00
Bui Trong Khanh Duy cc97ff6e4b 💄 style: Add sessionToken input for bedrock model (#3854)
* add sessionToken for bedrock model

* Support google model list

* update relate sessionToken info

* update description and revert gg model list

* update description

* change session token is a custom field
2024-09-13 00:16:59 +08:00
semantic-release-bot ecf084b4b0 🔖 chore(release): v1.16.11 [skip ci]
### [Version&nbsp;1.16.11](https://github.com/lobehub/lobe-chat/compare/v1.16.10...v1.16.11)
<sup>Released on **2024-09-12**</sup>

#### 🐛 Bug Fixes

- **misc**: Support webhooks for logto.

#### 💄 Styles

- **misc**: Default disable mistral provider useless models.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Support webhooks for logto, closes [#3774](https://github.com/lobehub/lobe-chat/issues/3774) ([0cfee6b](https://github.com/lobehub/lobe-chat/commit/0cfee6b))

#### Styles

* **misc**: Default disable mistral provider useless models, closes [#3922](https://github.com/lobehub/lobe-chat/issues/3922) ([bdbc647](https://github.com/lobehub/lobe-chat/commit/bdbc647))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-12 14:27:02 +00:00
Cai Yao 0cfee6b744 🐛 fix: support webhooks for logto (#3774)
*  feat: support webhooks for logto

* :sparles: feat: update more info

* ♻️ refactor: allow edit more info by webhook

* ♻️ refactor: rename `nextauthUser` to `nextAuthUser`

* 🧪 test: + webhooks trigger

---------

Co-authored-by: Arvin Xu <arvinx@foxmail.com>
2024-09-12 22:19:57 +08:00
LovelyGuYiMeng bdbc64780b 💄 style: default disable mistral provider useless models (#3922)
* Update mistral.ts

* Update bedrock.ts

* Update mistral.ts

* Update mistral.ts
2024-09-12 22:17:57 +08:00
Chung1912 278a5bfc83 📝 docs: Minio uses a non-443 port for reverse proxy, and the Host needs to be set to $http_host (#3925)
* Update docker-compose.zh-CN.mdx

* Update docker-compose.mdx
2024-09-12 22:10:55 +08:00
semantic-release-bot 32ab090ac6 🔖 chore(release): v1.16.10 [skip ci]
### [Version&nbsp;1.16.10](https://github.com/lobehub/lobe-chat/compare/v1.16.9...v1.16.10)
<sup>Released on **2024-09-12**</sup>

#### ♻ Code Refactoring

- **misc**: Support Environment Variable Inference For NextAuth.

#### 🐛 Bug Fixes

- **misc**: Qwen model param error.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Code refactoring

* **misc**: Support Environment Variable Inference For NextAuth, closes [#3701](https://github.com/lobehub/lobe-chat/issues/3701) ([b956755](https://github.com/lobehub/lobe-chat/commit/b956755))

#### What's fixed

* **misc**: Qwen model param error, closes [#3902](https://github.com/lobehub/lobe-chat/issues/3902) ([c9f00e5](https://github.com/lobehub/lobe-chat/commit/c9f00e5))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-12 13:43:22 +00:00
sxjeru c9f00e540e 🐛 fix: Qwen model param error (#3902)
* Update index.ts

* Update index.test.ts

* Update index.test.ts

* Update index.test.ts
2024-09-12 21:36:25 +08:00
Cai Yao b956755f12 ♻️ refactor: Support Environment Variable Inference For NextAuth (#3701)
* ♻️ refactor: `AUTH_SECRET`&`AUTH_TRUST_HOST`

* ⬆️ chore: update nextauth & @auth/core version

* ♻️ refactor: env infer for `auth0`

* ⬆️ chore: always use latest `next-auth` & `@auth/core`

* ♻️ refactor: align `authelia`

* ♻️ refactor: align `authentik`

* ♻️ align `github`

* ♻️ refactor: align `azure_ad`

* ♻️ refactor: align `cloudflare zero trust`

* ♻️ refactor: align `generic-oidc`

* ♻️ refactor: align `logto`

* ♻️ refactor: align `zitadel`

* ♻️ refactor: add deprecate tips

* ♻️ refactor: add warning for `azure_ad`

* 💄 style: reformat codes

* 🐛 fix: azure warning

* 🐛 fix: warning for cloudfalre zero turst

* 🐛 fix: warning for generic oidc

*  revert: revert changes to `NEXT_AUTH_SECRET`

* ♻️ refactor: add redirectProxy url

*  revert: unmodify ENABLE_NEXT_AUTH

* 🧪 test: should show env warning
2024-09-12 21:35:33 +08:00
semantic-release-bot 028650b985 🔖 chore(release): v1.16.9 [skip ci]
### [Version&nbsp;1.16.9](https://github.com/lobehub/lobe-chat/compare/v1.16.8...v1.16.9)
<sup>Released on **2024-09-12**</sup>

#### 💄 Styles

- **misc**: Add model and provider desc and url.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Add model and provider desc and url, closes [#3920](https://github.com/lobehub/lobe-chat/issues/3920) ([ea9ff00](https://github.com/lobehub/lobe-chat/commit/ea9ff00))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-12 11:44:26 +00:00
CanisMinor b5967d91ea test: Update test for new provider info (#3924)
*  test: Update test for new provider info

*  test: Update test
2024-09-12 19:37:33 +08:00
CanisMinor ea9ff000a3 💄 style: Add model and provider desc and url (#3920) 2024-09-12 14:06:41 +08:00
LovelyGuYiMeng cfbf44f0ef 💄style: update claude model list sort and update groq model info (#3918)
* Update anthropic.ts

* Update groq.ts

* Update groq.ts

* Update anthropic.ts
2024-09-12 13:34:59 +08:00
semantic-release-bot 483f91671a 🔖 chore(release): v1.16.8 [skip ci]
### [Version&nbsp;1.16.8](https://github.com/lobehub/lobe-chat/compare/v1.16.7...v1.16.8)
<sup>Released on **2024-09-12**</sup>

#### 💄 Styles

- **misc**: Improve models and add more info for providers and models.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Improve models and add more info for providers and models, closes [#3911](https://github.com/lobehub/lobe-chat/issues/3911) ([8a8fc6a](https://github.com/lobehub/lobe-chat/commit/8a8fc6a))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-12 04:01:21 +00:00
Arvin Xu 8a8fc6a440 💄 style: improve models and add more info for providers and models (#3911)
* 🔧 chore: add more info for providers and models

* 🔧 chore: add more info for providers and models

*  test: fix test

*  test: fix test

*  test: fix test
2024-09-12 11:54:36 +08:00
lobehubbot 38f6c345d9 📝 docs(bot): Auto sync agents & plugin to readme 2024-09-11 14:01:24 +00:00
semantic-release-bot f542b5f49d 🔖 chore(release): v1.16.7 [skip ci]
### [Version&nbsp;1.16.7](https://github.com/lobehub/lobe-chat/compare/v1.16.6...v1.16.7)
<sup>Released on **2024-09-11**</sup>

#### 💄 Styles

- **misc**: Optimize model token display method.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Optimize model token display method, closes [#3697](https://github.com/lobehub/lobe-chat/issues/3697) ([249795c](https://github.com/lobehub/lobe-chat/commit/249795c))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-11 14:00:32 +00:00
sxjeru 249795c70b 💄 style: Optimize model token display method (#3697)
* Update index.tsx

* Update index.tsx

* Update index.tsx

* Update index.tsx

* Update index.tsx

* Update format.ts

* Update format.test.ts

* Update format.test.ts

* Update format.ts

* Update format.test.ts

* Update format.test.ts
2024-09-11 21:53:41 +08:00
semantic-release-bot 0610253776 🔖 chore(release): v1.16.6 [skip ci]
### [Version&nbsp;1.16.6](https://github.com/lobehub/lobe-chat/compare/v1.16.5...v1.16.6)
<sup>Released on **2024-09-11**</sup>

#### 🐛 Bug Fixes

- **misc**: Pin `next@14.2.8` to fix Internal error.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Pin `next@14.2.8` to fix Internal error, closes [#3905](https://github.com/lobehub/lobe-chat/issues/3905) ([1013652](https://github.com/lobehub/lobe-chat/commit/1013652))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-11 11:54:28 +00:00
Arvin Xu 10136528d7 🐛 fix: pin next@14.2.8 to fix Internal error (#3905) 2024-09-11 19:47:42 +08:00
semantic-release-bot 64b910c62a 🔖 chore(release): v1.16.5 [skip ci]
### [Version&nbsp;1.16.5](https://github.com/lobehub/lobe-chat/compare/v1.16.4...v1.16.5)
<sup>Released on **2024-09-11**</sup>

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-11 09:27:30 +00:00
LovelyGuYiMeng 4804439151 ️ perf: add smoothing for some providers (#3900)
* Update moonshot.ts

* Update baichuan.ts

* Update minimax.ts

* Update stepfun.ts

* Update ai360.ts

* Update qwen.ts

* Update spark.ts
2024-09-11 17:20:45 +08:00
semantic-release-bot f2bbad8c04 🔖 chore(release): v1.16.4 [skip ci]
### [Version&nbsp;1.16.4](https://github.com/lobehub/lobe-chat/compare/v1.16.3...v1.16.4)
<sup>Released on **2024-09-11**</sup>

#### 💄 Styles

- **ui**: Improve UI layout and text.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **ui**: Improve UI layout and text, closes [#3762](https://github.com/lobehub/lobe-chat/issues/3762) ([7c08f29](https://github.com/lobehub/lobe-chat/commit/7c08f29))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-11 07:41:10 +00:00
Rubu Jam 7c08f29cf9 💄 style(ui): improve UI layout and text (#3762)
* 💄 style(ui): Adjust text layout of `loading page`

* 💄 style(ui): Adjust text layout for `404 page`

* 💄 style(ui): Adjust size of icons

* 💄 style(ui): Adjust word spacing in `waiting`

* 💄 style(ui): Adjust icon size of `Delete File` and `Delete Picture`

* 💄 style(ui): Adjust texts in `knowledge base`

* 🔧 chore: Update `i18n`

* 🔧 chore(deps): update Dependencies
2024-09-11 15:34:16 +08:00
semantic-release-bot e9b87fcb11 🔖 chore(release): v1.16.3 [skip ci]
### [Version&nbsp;1.16.3](https://github.com/lobehub/lobe-chat/compare/v1.16.2...v1.16.3)
<sup>Released on **2024-09-11**</sup>

#### 🐛 Bug Fixes

- **misc**: Add `LLM_VISION_IMAGE_USE_BASE64` to support local s3 in vision model.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Add `LLM_VISION_IMAGE_USE_BASE64` to support local s3 in vision model, closes [#3887](https://github.com/lobehub/lobe-chat/issues/3887) ([16e57ed](https://github.com/lobehub/lobe-chat/commit/16e57ed))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-11 07:16:45 +00:00
Justin3go b8d044f1c2 📝 docs: fix logto document (#3894) 2024-09-11 15:09:55 +08:00
Arvin Xu 16e57ed1f0 🐛 fix: add LLM_VISION_IMAGE_USE_BASE64 to support local s3 in vision model (#3887)
* 🐛 fix: add `LLM_VISION_IMAGE_TYPE` to support local s3 in vision model

* ♻️ refactor: refactor to better usage

*  test: fix test

* 🐛 fix: fix zhipu vision

* ️ perf: add smoothing for stepfun

*  test: fix test

* fix test

* refactor
2024-09-11 15:05:29 +08:00
lobehubbot 3d44c4297b 📝 docs(bot): Auto sync agents & plugin to readme 2024-09-11 03:12:29 +00:00
semantic-release-bot 060d157d4e 🔖 chore(release): v1.16.2 [skip ci]
### [Version&nbsp;1.16.2](https://github.com/lobehub/lobe-chat/compare/v1.16.1...v1.16.2)
<sup>Released on **2024-09-11**</sup>

#### 💄 Styles

- **misc**: Update Upstage model list.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Update Upstage model list, closes [#3890](https://github.com/lobehub/lobe-chat/issues/3890) ([82e2570](https://github.com/lobehub/lobe-chat/commit/82e2570))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-11 03:11:38 +00:00
Zhijie He 82e257040f 💄 style: update Upstage model list (#3890)
* 💄 style: add `solar-pro` model

* 💄 style: update official model name
2024-09-11 11:04:41 +08:00
semantic-release-bot 64154c1ea9 🔖 chore(release): v1.16.1 [skip ci]
### [Version&nbsp;1.16.1](https://github.com/lobehub/lobe-chat/compare/v1.16.0...v1.16.1)
<sup>Released on **2024-09-10**</sup>

#### 💄 Styles

- **misc**: Reorder the provider list, update spark check model to spark-lite & default disable useless model.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Reorder the provider list, closes [#3886](https://github.com/lobehub/lobe-chat/issues/3886) ([4d641f5](https://github.com/lobehub/lobe-chat/commit/4d641f5))
* **misc**: Update spark check model to spark-lite & default disable useless model, closes [#3885](https://github.com/lobehub/lobe-chat/issues/3885) ([9d7e47c](https://github.com/lobehub/lobe-chat/commit/9d7e47c))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-10 18:17:09 +00:00
LovelyGuYiMeng 9d7e47c4db 💄 style: update spark check model to spark-lite & default disable useless model (#3885)
* Update spark.ts

* Update baichuan.ts

* Update minimax.ts
2024-09-11 02:06:54 +08:00
LovelyGuYiMeng 4d641f514a 💄 style: Reorder the provider list (#3886)
* Update providers.tsx

* Update index.ts

* Update providers.tsx

* Update index.ts
2024-09-11 02:03:13 +08:00
renovate[bot] 66ce743ffc Update dependency unstructured-client to ^0.16.0 (#3815)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-11 01:18:58 +08:00
semantic-release-bot 85e51604c1 🔖 chore(release): v1.16.0 [skip ci]
## [Version&nbsp;1.16.0](https://github.com/lobehub/lobe-chat/compare/v1.15.35...v1.16.0)
<sup>Released on **2024-09-10**</sup>

####  Features

- **misc**: Add Fireworks AI Model Provider, Add Spark model provider.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's improved

* **misc**: Add Fireworks AI Model Provider, closes [#3392](https://github.com/lobehub/lobe-chat/issues/3392) [#48](https://github.com/lobehub/lobe-chat/issues/48) ([fa0d84d](https://github.com/lobehub/lobe-chat/commit/fa0d84d))
* **misc**: Add Spark model provider, closes [#3098](https://github.com/lobehub/lobe-chat/issues/3098) [#25](https://github.com/lobehub/lobe-chat/issues/25) ([fc85c20](https://github.com/lobehub/lobe-chat/commit/fc85c20))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-10 16:21:00 +00:00
Zhijie He fa0d84d92c feat: Add Fireworks AI Model Provider (#3392)
*  feat: Add Fireworks AI Model Provider

* 💄 style: add FireworksAI self-models

* 🐛 fix: support function call

* Revert "🐛 fix: support function call" (#48)

This reverts commit c8422f494c.

* 💄 style: update model info

* 🐛 fix: disable stream if contains tools

* 👷 build: add ENV for Fireworks AI provider

* 👷 build: update ENV

*  feat: support proxy url

* 🐛 fix: fix typo

* Update providers.tsx

* ♻️ refactor: cleanup

* 🔨 chore: remove proxyUrl for FireworksAI

* 🐛 fix: tools calling issue in Fireworks AI

* 🔨 chore: remove work around method for tool calling

* 🔨 chore: rollback changes

* 🐛 fix: fix CI error

* 💄 style: update model list

* 🔨 chore: fix rebase conflicts
2024-09-11 00:14:18 +08:00
Zhijie He fc85c20b1c feat: Add Spark model provider (#3098)
*  feat: Add Spark model provider

* 🔨 chore: split Spark API Key & Spark Secret

* 💄 style: update Spark icon

* 💄 style: update Spark icon size

* 💄 style: update Spark icon in ProviderAvatar

* 🔨 chore: update Spark models

* 🔨 chore: update Spark models

* 💄 style: fixed Spark 4.0 Ultra model icon display

* 🔨 chore: update Spark models info

* 🔨 chore: update Spark models tokens info

* 🔨 chore: update Spark models info

* 🐛 fix: fixed "'$.header.uid' length must be less or equal than 32" with Spark Lite

* 💄 style: fix model tag icon missing

* 🐛 fix: fix typo in ModelIcon

* 🔨 chore: add unit test for noUserId

* 🔨 chore: disable stream mode

* Revert "🔨 chore: disable stream mode" (#25)

This reverts commit 302e01d181.

* 💄 style: add Spark Pro-128K new model

*  feat: Add Spark ENV

* 🐛 fix: fixed Pro-128k model id, wrong id from official document

![image](https://github.com/user-attachments/assets/7fc3fc73-b460-448c-ad78-4a56d3cae34e)

* 💄style: improve APIKeyForm for Spark

* 💄 style: improve custom Spark API missing form

* 🔨 chore: cleanup code

* 🐛 fix: fix CI issue after merge

* 👷 build: add ENV

* ♻️ refactor: support latest Spark HTTP SDK

* ♻️ refactor: cleanup

* 🔨 chore: fix rebase conflicts

---------

Co-authored-by: Arvin Xu <arvinx@foxmail.com>
2024-09-11 00:14:05 +08:00
semantic-release-bot 656a1f8962 🔖 chore(release): v1.15.35 [skip ci]
### [Version&nbsp;1.15.35](https://github.com/lobehub/lobe-chat/compare/v1.15.34...v1.15.35)
<sup>Released on **2024-09-10**</sup>

#### 💄 Styles

- **misc**: Update CustomLogo.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Update CustomLogo, closes [#3874](https://github.com/lobehub/lobe-chat/issues/3874) ([dd7c8df](https://github.com/lobehub/lobe-chat/commit/dd7c8df))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-10 15:10:36 +00:00
CanisMinor dd7c8dfe16 💄 style: Update CustomLogo (#3874)
* 💄 style: Update CustomLogo

* 💄 style: Replace ProviderAvatar

* 💄 style: Fix ProviderIcon in ActionForm
2024-09-10 23:03:52 +08:00
semantic-release-bot a6e963fd51 🔖 chore(release): v1.15.34 [skip ci]
### [Version&nbsp;1.15.34](https://github.com/lobehub/lobe-chat/compare/v1.15.33...v1.15.34)
<sup>Released on **2024-09-10**</sup>

#### ♻ Code Refactoring

- **misc**: Change empty content stream behavior.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Code refactoring

* **misc**: Change empty content stream behavior, closes [#3883](https://github.com/lobehub/lobe-chat/issues/3883) ([e910f68](https://github.com/lobehub/lobe-chat/commit/e910f68))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-10 14:07:54 +00:00
Zhijie He e910f684e7 ♻️ refactor: change empty content stream behavior (#3883)
* ♻️ refactor: change empty content stream behavior

* 🐛 fix: fix one-api

---------

Co-authored-by: arvinxx <arvinx@foxmail.com>
2024-09-10 22:01:05 +08:00
semantic-release-bot 8a1b3ec258 🔖 chore(release): v1.15.33 [skip ci]
### [Version&nbsp;1.15.33](https://github.com/lobehub/lobe-chat/compare/v1.15.32...v1.15.33)
<sup>Released on **2024-09-10**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix `/etc/resolv.conf`edit permission in docker image.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Fix `/etc/resolv.conf`edit permission in docker image, closes [#3880](https://github.com/lobehub/lobe-chat/issues/3880) ([fdaa190](https://github.com/lobehub/lobe-chat/commit/fdaa190))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-10 08:44:06 +00:00
Zhijie He fdaa190951 🐛 fix: fix /etc/resolv.confedit permission in docker image (#3880) 2024-09-10 16:36:53 +08:00
semantic-release-bot 99acb93980 🔖 chore(release): v1.15.32 [skip ci]
### [Version&nbsp;1.15.32](https://github.com/lobehub/lobe-chat/compare/v1.15.31...v1.15.32)
<sup>Released on **2024-09-10**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix tools calling in some edge cases.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Fix tools calling in some edge cases, closes [#3872](https://github.com/lobehub/lobe-chat/issues/3872) ([2ed759d](https://github.com/lobehub/lobe-chat/commit/2ed759d))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-10 05:59:17 +00:00
Arvin Xu 2ed759d604 🐛 fix: fix tools calling in some edge cases (#3872)
* fix tools calling edge case

* fix tools calling edge case
2024-09-10 13:52:42 +08:00
lobehubbot 319fd75dd5 📝 docs(bot): Auto sync agents & plugin to readme 2024-09-10 03:35:37 +00:00
semantic-release-bot d74b8d98c8 🔖 chore(release): v1.15.31 [skip ci]
### [Version&nbsp;1.15.31](https://github.com/lobehub/lobe-chat/compare/v1.15.30...v1.15.31)
<sup>Released on **2024-09-10**</sup>

#### 🐛 Bug Fixes

- **misc**: Baichuan should not introduce `freequency_penality` parameters.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Baichuan should not introduce `freequency_penality` parameters, closes [#3871](https://github.com/lobehub/lobe-chat/issues/3871) ([66a061e](https://github.com/lobehub/lobe-chat/commit/66a061e))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-10 03:34:43 +00:00
sxjeru 66a061e55c 🐛 fix: Baichuan should not introduce freequency_penality parameters (#3871)
* Update index.ts

* Update index.ts
2024-09-10 11:27:39 +08:00
semantic-release-bot c7fde146bc 🔖 chore(release): v1.15.30 [skip ci]
### [Version&nbsp;1.15.30](https://github.com/lobehub/lobe-chat/compare/v1.15.29...v1.15.30)
<sup>Released on **2024-09-09**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix claude 3.5 image with s3 url.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Fix claude 3.5 image with s3 url, closes [#3870](https://github.com/lobehub/lobe-chat/issues/3870) ([89c8dd4](https://github.com/lobehub/lobe-chat/commit/89c8dd4))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-09 19:36:21 +00:00
Arvin Xu 89c8dd485a 🐛 fix: fix claude 3.5 image with s3 url (#3870)
*  test: add tests for imageToBase64

* 🐛 fix: fix anthropic image chat

*  test: add more tests
2024-09-10 03:29:33 +08:00
semantic-release-bot 831bc5fec0 🔖 chore(release): v1.15.29 [skip ci]
### [Version&nbsp;1.15.29](https://github.com/lobehub/lobe-chat/compare/v1.15.28...v1.15.29)
<sup>Released on **2024-09-09**</sup>

#### 🐛 Bug Fixes

- **misc**: Gemini cannot input images when server database is enabled.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Gemini cannot input images when server database is enabled, closes [#3370](https://github.com/lobehub/lobe-chat/issues/3370) ([eb552d2](https://github.com/lobehub/lobe-chat/commit/eb552d2))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-09 18:49:28 +00:00
sxjeru eb552d2a69 🐛 fix: Gemini cannot input images when server database is enabled (#3370)
* Update index.ts

* Update index.ts

* Update index.ts

* Update index.ts

* ♻️ refactor: refactor the google implement

*  test: fix tests

*  test: fix tests

---------

Co-authored-by: Arvin Xu <arvinx@foxmail.com>
2024-09-10 02:42:44 +08:00
semantic-release-bot 4dc31729f4 🔖 chore(release): v1.15.28 [skip ci]
### [Version&nbsp;1.15.28](https://github.com/lobehub/lobe-chat/compare/v1.15.27...v1.15.28)
<sup>Released on **2024-09-09**</sup>

#### 🐛 Bug Fixes

- **misc**: Update baichuan param.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Update baichuan param, closes [#3356](https://github.com/lobehub/lobe-chat/issues/3356) ([29bced1](https://github.com/lobehub/lobe-chat/commit/29bced1))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-09 17:21:11 +00:00
sxjeru 29bced1c68 🐛 fix: Update baichuan param (#3356)
* Update index.ts

* Update index.ts

* Update index.ts

* Update index.ts
2024-09-10 01:14:26 +08:00
semantic-release-bot dd60e41f51 🔖 chore(release): v1.15.27 [skip ci]
### [Version&nbsp;1.15.27](https://github.com/lobehub/lobe-chat/compare/v1.15.26...v1.15.27)
<sup>Released on **2024-09-09**</sup>

#### ♻ Code Refactoring

- **misc**: Refactor brand implement for better custom.

#### 💄 Styles

- **misc**: Add siliconcloud new model.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Code refactoring

* **misc**: Refactor brand implement for better custom, closes [#3868](https://github.com/lobehub/lobe-chat/issues/3868) ([815b366](https://github.com/lobehub/lobe-chat/commit/815b366))

#### Styles

* **misc**: Add siliconcloud new model, closes [#3865](https://github.com/lobehub/lobe-chat/issues/3865) ([c6b5a45](https://github.com/lobehub/lobe-chat/commit/c6b5a45))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-09 16:40:58 +00:00
Arvin Xu 815b366b20 ♻️ refactor: refactor brand implement for better custom (#3868)
* ♻️ refactor: refactor the branding

* ♻️ refactor: refactor the branding

* ♻️ refactor: refactor the branding to support different logo

* 🧑‍💻 style: support commercial flag to hide docs and github url

* 🧑‍💻 style: support commercial flag to hide docs and github url

*  test: fix tests

* ♻️ refactor: hide about with hideDocs env
2024-09-10 00:34:18 +08:00
LovelyGuYiMeng c6b5a45921 💄 style: add siliconcloud new model (#3865) 2024-09-10 00:33:44 +08:00
semantic-release-bot 4e7c26283b 🔖 chore(release): v1.15.26 [skip ci]
### [Version&nbsp;1.15.26](https://github.com/lobehub/lobe-chat/compare/v1.15.25...v1.15.26)
<sup>Released on **2024-09-09**</sup>

#### 💄 Styles

- **misc**: Update perplexity model list.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Update perplexity model list, closes [#3836](https://github.com/lobehub/lobe-chat/issues/3836) ([b70671b](https://github.com/lobehub/lobe-chat/commit/b70671b))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-09 07:20:24 +00:00
LovelyGuYiMeng b70671bc19 💄 style: update perplexity model list (#3836) 2024-09-09 15:13:40 +08:00
semantic-release-bot ef0696045e 🔖 chore(release): v1.15.25 [skip ci]
### [Version&nbsp;1.15.25](https://github.com/lobehub/lobe-chat/compare/v1.15.24...v1.15.25)
<sup>Released on **2024-09-09**</sup>

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-09 06:29:57 +00:00
Zhijie He 7232c58ee2 👷 build: fix DNS resolving issue in Docker (#3837)
* 🐛 fix: DNS resolving issue in Docker Compose

* 👷 build: re-generate `resolv.conf` before running

* 🔨 chore: add ref link to comments
2024-09-09 14:23:02 +08:00
lobehubbot 001e1e1686 📝 docs(bot): Auto sync agents & plugin to readme 2024-09-09 04:49:16 +00:00
semantic-release-bot 5046d14769 🔖 chore(release): v1.15.24 [skip ci]
### [Version&nbsp;1.15.24](https://github.com/lobehub/lobe-chat/compare/v1.15.23...v1.15.24)
<sup>Released on **2024-09-09**</sup>

#### 💄 Styles

- **misc**: Fix title in about settings.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Fix title in about settings, closes [#3841](https://github.com/lobehub/lobe-chat/issues/3841) ([6b7a366](https://github.com/lobehub/lobe-chat/commit/6b7a366))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-09 04:48:21 +00:00
Arvin Xu 6b7a3660e9 💄 style: fix title in about settings (#3841) 2024-09-09 12:41:30 +08:00
semantic-release-bot d98194488d 🔖 chore(release): v1.15.23 [skip ci]
### [Version&nbsp;1.15.23](https://github.com/lobehub/lobe-chat/compare/v1.15.22...v1.15.23)
<sup>Released on **2024-09-08**</sup>

#### ♻ Code Refactoring

- **misc**: Improve branding implement.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Code refactoring

* **misc**: Improve branding implement, closes [#3832](https://github.com/lobehub/lobe-chat/issues/3832) ([b5e6b8b](https://github.com/lobehub/lobe-chat/commit/b5e6b8b))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-08 18:26:39 +00:00
Arvin Xu b5e6b8b2b6 ♻️ refactor: improve branding implement (#3832)
* ♻️ refactor: reactor the branding implement

* ♻️ refactor: reactor the branding implement

* ♻️ refactor: reactor the branding implement

* ♻️ refactor: reactor the branding locale

* ♻️ refactor: reactor the branding locale

* Update metadata.json

* ♻️ refactor: reactor the branding locale

* Update setting.json

* ♻️ refactor: reactor the branding meta
2024-09-09 02:20:00 +08:00
LovelyGuYiMeng e2836246af 💄 style:improve groq model tokens (#3833) 2024-09-09 01:03:19 +08:00
lobehubbot a91e00414a 📝 docs(bot): Auto sync agents & plugin to readme 2024-09-08 16:51:35 +00:00
semantic-release-bot aad3347b66 🔖 chore(release): v1.15.22 [skip ci]
### [Version&nbsp;1.15.22](https://github.com/lobehub/lobe-chat/compare/v1.15.21...v1.15.22)
<sup>Released on **2024-09-08**</sup>

#### 💄 Styles

- **misc**: Update model display name & Remove Qwen preview model.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Update model display name & Remove Qwen preview model, closes [#3757](https://github.com/lobehub/lobe-chat/issues/3757) ([dd439ba](https://github.com/lobehub/lobe-chat/commit/dd439ba))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-08 16:50:42 +00:00
Arvin Xu 302d3d6732 ️ perf: improving scrolling laggy (#3831) 2024-09-09 00:44:07 +08:00
LovelyGuYiMeng dd439ba24b 💄 style: Update model display name & Remove Qwen preview model (#3757)
* Update qwen.ts

* Update qwen.ts

* Update qwen.ts

* Update siliconcloud.ts

* Update stepfun.ts

* Update deepseek.ts

* Update zhipu.ts

* Update ollama.ts

* Update siliconcloud.ts

* Update groq.ts

* Update ollama.ts

* Update siliconcloud.ts

* Update siliconcloud.ts

* Update novita.ts

* Update perplexity.ts

* Update siliconcloud.ts

* Update groq.ts

* Update novita.ts

* Update ollama.ts

* Update qwen.ts

* Update zhipu.ts

* Update deepseek.ts

* Update ollama.ts

* Update qwen.ts

* Update siliconcloud.ts

* Update zhipu.ts

* Update siliconcloud.ts
2024-09-09 00:43:26 +08:00
semantic-release-bot a7cc9a232a 🔖 chore(release): v1.15.21 [skip ci]
### [Version&nbsp;1.15.21](https://github.com/lobehub/lobe-chat/compare/v1.15.20...v1.15.21)
<sup>Released on **2024-09-08**</sup>

#### ♻ Code Refactoring

- **misc**: Temperature range from 0 to 2.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Code refactoring

* **misc**: Temperature range from 0 to 2, closes [#3355](https://github.com/lobehub/lobe-chat/issues/3355) ([4a9114e](https://github.com/lobehub/lobe-chat/commit/4a9114e))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-08 15:45:27 +00:00
sxjeru 4a9114e90c ♻️ refactor: temperature range from 0 to 2 (#3355)
* feat: Update temperature settings for agent configuration

* fix

* All completed

* temperature / 2

* fix

* fix test

* add test

*  test: fix test

* 🚨 ci: fix lint

---------

Co-authored-by: arvinxx <arvinx@foxmail.com>
2024-09-08 23:38:35 +08:00
Arthals 988d7441e4 📝 docs: fix db name in docker (#3829) 2024-09-08 23:37:00 +08:00
semantic-release-bot a026e82408 🔖 chore(release): v1.15.20 [skip ci]
### [Version&nbsp;1.15.20](https://github.com/lobehub/lobe-chat/compare/v1.15.19...v1.15.20)
<sup>Released on **2024-09-08**</sup>

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-08 12:08:15 +00:00
Arvin Xu 1ad7ca4c8e ️ perf: fix scrolling laggy in some chat list (#3824) 2024-09-08 20:01:39 +08:00
semantic-release-bot 95b5166612 🔖 chore(release): v1.15.19 [skip ci]
### [Version&nbsp;1.15.19](https://github.com/lobehub/lobe-chat/compare/v1.15.18...v1.15.19)
<sup>Released on **2024-09-08**</sup>

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-08 07:11:55 +00:00
Arvin Xu 7e6c8a59e2 ️ perf: fix large content render (#3820)
* ️ perf: improve large content render

* ️ perf: use message portal to show long text detail

* 🌐 chore: implement i18n

* ️ perf: fix smoothing

* 💄 style: fix background color of docs mode

* 💄 style: fix background color of docs mode
2024-09-08 15:05:18 +08:00
semantic-release-bot 59e5f504d2 🔖 chore(release): v1.15.18 [skip ci]
### [Version&nbsp;1.15.18](https://github.com/lobehub/lobe-chat/compare/v1.15.17...v1.15.18)
<sup>Released on **2024-09-06**</sup>

#### 💄 Styles

- **misc**: Support anthropic browser request.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Support anthropic browser request, closes [#3798](https://github.com/lobehub/lobe-chat/issues/3798) ([743df51](https://github.com/lobehub/lobe-chat/commit/743df51))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-06 17:09:19 +00:00
Arvin Xu 743df5159e 💄 style: support anthropic browser request (#3798) 2024-09-07 01:02:27 +08:00
semantic-release-bot b4f3512c30 🔖 chore(release): v1.15.17 [skip ci]
### [Version&nbsp;1.15.17](https://github.com/lobehub/lobe-chat/compare/v1.15.16...v1.15.17)
<sup>Released on **2024-09-06**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix auth log.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Fix auth log, closes [#3795](https://github.com/lobehub/lobe-chat/issues/3795) ([71aa405](https://github.com/lobehub/lobe-chat/commit/71aa405))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-06 15:29:34 +00:00
Arvin Xu 71aa40563f 🐛 fix: fix auth log (#3795) 2024-09-06 23:22:34 +08:00
qq940500529 c9e7e316b8 📝 docs: correct typo in 'openai api key' in .env example and documentation (#3797) 2024-09-06 23:21:48 +08:00
lobehubbot 1e3e35c26a 📝 docs(bot): Auto sync agents & plugin to readme 2024-09-06 14:25:14 +00:00
semantic-release-bot 69a9a7965a 🔖 chore(release): v1.15.16 [skip ci]
### [Version&nbsp;1.15.16](https://github.com/lobehub/lobe-chat/compare/v1.15.15...v1.15.16)
<sup>Released on **2024-09-06**</sup>

#### 💄 Styles

- **misc**: Update Bedrock model list & add `AWS_BEDROCK_MODEL_LIST` support.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Update Bedrock model list & add `AWS_BEDROCK_MODEL_LIST` support, closes [#3723](https://github.com/lobehub/lobe-chat/issues/3723) ([0aad972](https://github.com/lobehub/lobe-chat/commit/0aad972))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-06 14:24:24 +00:00
Zhijie He 0aad972505 💄 style: Update Bedrock model list & add AWS_BEDROCK_MODEL_LIST support (#3723)
* 💄 style: Update Bedrock model list

* 🐛 fix: fix typo

* 💄 style: add `AWS_BEDROCK_MODEL_LIST` support

* 💄 style: Update Bedrock model list (Comments unsupported models)

* 💄 style: rollback & update model description

* 💄 style: sync desc & token num from Bedrock

* 💄 style: update model list

* 💄 style: update Titan displayName
2024-09-06 22:17:31 +08:00
semantic-release-bot f738d10930 🔖 chore(release): v1.15.15 [skip ci]
### [Version&nbsp;1.15.15](https://github.com/lobehub/lobe-chat/compare/v1.15.14...v1.15.15)
<sup>Released on **2024-09-06**</sup>

#### 💄 Styles

- **misc**: Add `LLaVA 1.5 7B` model in Groq.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Add `LLaVA 1.5 7B` model in Groq, closes [#3769](https://github.com/lobehub/lobe-chat/issues/3769) ([f78a0b1](https://github.com/lobehub/lobe-chat/commit/f78a0b1))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-06 13:31:03 +00:00
cosark 9a41eef0b9 📝 docs: Adding one-click deploy button for RepoCloud.io to README.md (#3484) 2024-09-06 21:24:11 +08:00
cosark 0c4b4a0c71 📝 docs: Update server-database/repocloud (#3772)
* Update `docs/self-hosting/server-database/repocloud.mdx`

* Update repocloud.mdx
2024-09-06 21:16:58 +08:00
Zhijie He f78a0b130a 💄 style: add LLaVA 1.5 7B model in Groq (#3769) 2024-09-06 21:16:43 +08:00
semantic-release-bot 176c01af76 🔖 chore(release): v1.15.14 [skip ci]
### [Version&nbsp;1.15.14](https://github.com/lobehub/lobe-chat/compare/v1.15.13...v1.15.14)
<sup>Released on **2024-09-06**</sup>

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-06 12:29:52 +00:00
Arvin Xu 24cacf23e1 ️ perf: disable smoohting by default in fetchSSE (#3787)
* ️ perf: disable smoohting by default in fetchSSE

* ️ perf: disable smoohting by default in fetchSSE

* ️ perf: add smoothing config for Google
2024-09-06 20:22:57 +08:00
semantic-release-bot c22b8863c5 🔖 chore(release): v1.15.13 [skip ci]
### [Version&nbsp;1.15.13](https://github.com/lobehub/lobe-chat/compare/v1.15.12...v1.15.13)
<sup>Released on **2024-09-06**</sup>

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-06 02:28:49 +00:00
Arvin Xu 77243e12a4 🔧 build: remove optimizePackageImports for shiki (#3784) 2024-09-06 10:22:14 +08:00
semantic-release-bot 83be9d2581 🔖 chore(release): v1.15.12 [skip ci]
### [Version&nbsp;1.15.12](https://github.com/lobehub/lobe-chat/compare/v1.15.11...v1.15.12)
<sup>Released on **2024-09-04**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix typo in RAG prompt.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Fix typo in RAG prompt, closes [#3764](https://github.com/lobehub/lobe-chat/issues/3764) ([ff61fa6](https://github.com/lobehub/lobe-chat/commit/ff61fa6))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-04 18:24:16 +00:00
syhien ff61fa6931 🐛 fix: fix typo in RAG prompt (#3764) 2024-09-05 02:17:31 +08:00
sxjeru fc39ba8051 💄 style: Update Stepfun models (#3767) 2024-09-05 01:33:42 +08:00
semantic-release-bot 4f643a3484 🔖 chore(release): v1.15.11 [skip ci]
### [Version&nbsp;1.15.11](https://github.com/lobehub/lobe-chat/compare/v1.15.10...v1.15.11)
<sup>Released on **2024-09-04**</sup>

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-04 02:19:46 +00:00
Arvin Xu 0e1989341c ️ perf: fix stream smoothing (#3758) 2024-09-04 10:13:05 +08:00
semantic-release-bot 7b707735f8 🔖 chore(release): v1.15.10 [skip ci]
### [Version&nbsp;1.15.10](https://github.com/lobehub/lobe-chat/compare/v1.15.9...v1.15.10)
<sup>Released on **2024-09-03**</sup>

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-03 18:29:47 +00:00
Arvin Xu 51c6b622fd ️ perf: 优化长文本时的渲染性能 (#3754)
* ️ perf: 优化渲染长文本时的渲染性能

* 👷 build: fix vercel build

* ️ perf: 提高 smooth 每帧速度

*  test: add test for tokenizer edge runtime

* 💚 build: fix build

* ♻️ refactor: refactor with webapi

* 🚨 ci: improve lint

*  test: fix test

* ️ perf: try o200k_base
2024-09-04 02:22:53 +08:00
semantic-release-bot 63113f9427 🔖 chore(release): v1.15.9 [skip ci]
### [Version&nbsp;1.15.9](https://github.com/lobehub/lobe-chat/compare/v1.15.8...v1.15.9)
<sup>Released on **2024-09-03**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix speed and rag prompt.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Fix speed and rag prompt, closes [#3751](https://github.com/lobehub/lobe-chat/issues/3751) ([dce200c](https://github.com/lobehub/lobe-chat/commit/dce200c))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-03 14:23:12 +00:00
Arvin Xu dce200c81a 🐛 fix: fix speed and rag prompt (#3751)
* fix user role

* fix upload speed
2024-09-03 22:16:16 +08:00
semantic-release-bot 03f8a69f76 🔖 chore(release): v1.15.8 [skip ci]
### [Version&nbsp;1.15.8](https://github.com/lobehub/lobe-chat/compare/v1.15.7...v1.15.8)
<sup>Released on **2024-09-03**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix `.PDF` can not be chunked.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Fix `.PDF` can not be chunked, closes [#3720](https://github.com/lobehub/lobe-chat/issues/3720) ([4244c04](https://github.com/lobehub/lobe-chat/commit/4244c04))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-03 13:35:01 +00:00
Arvin Xu 4244c04223 🐛 fix: fix .PDF can not be chunked (#3720)
*  feat: support eval page

*  feat: 完善数据集页面

*  feat: 完善数据集页面

*  feat: 新增评测任务页面

*  feat: 新增评测任务页面

* 🚧 wip: 新增评测任务功能

*  feat: 完成评测执行流程

* 🐛 fix: 支持 evaluation 的删除和创建

* 支持任务状态展示和数据下载

* fix langchain 分块后缀识别

* fix i18n

* fix auth

* ♻️ refactor: 重构db

* 先添加默认模型
2024-09-03 21:28:23 +08:00
lobehubbot 2a40c4b430 📝 docs(bot): Auto sync agents & plugin to readme 2024-09-03 08:42:41 +00:00
semantic-release-bot 627732aeeb 🔖 chore(release): v1.15.7 [skip ci]
### [Version&nbsp;1.15.7](https://github.com/lobehub/lobe-chat/compare/v1.15.6...v1.15.7)
<sup>Released on **2024-09-03**</sup>

#### 💄 Styles

- **misc**: Fix provider disabled title style.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Fix provider disabled title style, closes [#3743](https://github.com/lobehub/lobe-chat/issues/3743) ([2c72452](https://github.com/lobehub/lobe-chat/commit/2c72452))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-03 08:41:46 +00:00
vual 2c724525b9 💄 style: fix provider disabled title style (#3743) 2024-09-03 16:34:25 +08:00
Arthals 6790334b38 📝 docs: fix typo on docker-compose doc (#3719) 2024-09-03 10:11:55 +08:00
semantic-release-bot 8adbff2318 🔖 chore(release): v1.15.6 [skip ci]
### [Version&nbsp;1.15.6](https://github.com/lobehub/lobe-chat/compare/v1.15.5...v1.15.6)
<sup>Released on **2024-09-01**</sup>

#### 💄 Styles

- **misc**: Stepfun default enabled model, update Groq model list & add `GROQ_MODEL_LIST` support.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Stepfun default enabled model, closes [#3712](https://github.com/lobehub/lobe-chat/issues/3712) ([7e41d54](https://github.com/lobehub/lobe-chat/commit/7e41d54))
* **misc**: Update Groq model list & add `GROQ_MODEL_LIST` support, closes [#3716](https://github.com/lobehub/lobe-chat/issues/3716) ([75c9247](https://github.com/lobehub/lobe-chat/commit/75c9247))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-01 14:48:46 +00:00
LovelyGuYiMeng 7e41d545b4 💄 style: Stepfun default enabled model (#3712)
* Update stepfun.ts

* Update openai.ts

* Update openai.ts
2024-09-01 22:42:12 +08:00
Zhijie He 75c9247819 💄 style: update Groq model list & add GROQ_MODEL_LIST support (#3716)
* 💄 style: update Groq model list & add `GROQ_MODEL_LIST` support

* 💄 style: update Groq model list
2024-09-01 22:41:35 +08:00
semantic-release-bot f9c043cc6a 🔖 chore(release): v1.15.5 [skip ci]
### [Version&nbsp;1.15.5](https://github.com/lobehub/lobe-chat/compare/v1.15.4...v1.15.5)
<sup>Released on **2024-09-01**</sup>

#### 💄 Styles

- **misc**: Update Together AI model list.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Update Together AI model list, closes [#3713](https://github.com/lobehub/lobe-chat/issues/3713) ([0dde3b1](https://github.com/lobehub/lobe-chat/commit/0dde3b1))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-01 10:52:32 +00:00
Zhijie He 0dde3b14e2 💄 style: update Together AI model list (#3713)
* 💄 style: update Together AI model list

* 💄 style: update model info

* 💄 style: update Llama3.1 405B tokens num

* 🔨 chore: fix CI
2024-09-01 18:45:57 +08:00
lobehubbot 2ae1ba2ef3 📝 docs(bot): Auto sync agents & plugin to readme 2024-09-01 10:18:16 +00:00
semantic-release-bot 27e7315cae 🔖 chore(release): v1.15.4 [skip ci]
### [Version&nbsp;1.15.4](https://github.com/lobehub/lobe-chat/compare/v1.15.3...v1.15.4)
<sup>Released on **2024-09-01**</sup>

#### 💄 Styles

- **misc**: Update Novita AI model info & add `NOVITA_MODEL_LIST` support.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Update Novita AI model info & add `NOVITA_MODEL_LIST` support, closes [#3715](https://github.com/lobehub/lobe-chat/issues/3715) ([4ab33f6](https://github.com/lobehub/lobe-chat/commit/4ab33f6))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-01 10:17:26 +00:00
Zhijie He 4ab33f6d9e 💄 style: update Novita AI model info & add NOVITA_MODEL_LIST support (#3715) 2024-09-01 18:10:47 +08:00
semantic-release-bot cdfcbfbec6 🔖 chore(release): v1.15.3 [skip ci]
### [Version&nbsp;1.15.3](https://github.com/lobehub/lobe-chat/compare/v1.15.2...v1.15.3)
<sup>Released on **2024-09-01**</sup>

#### 💄 Styles

- **misc**: Add `*_MODEL_LIST` for Qwen and ZeroOne, fix model info, update Claude 3.5 Sonnet maxOutput vaule.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Add `*_MODEL_LIST` for Qwen and ZeroOne, closes [#3704](https://github.com/lobehub/lobe-chat/issues/3704) ([05419dc](https://github.com/lobehub/lobe-chat/commit/05419dc))
* **misc**: Fix model info, closes [#3696](https://github.com/lobehub/lobe-chat/issues/3696) ([4d98037](https://github.com/lobehub/lobe-chat/commit/4d98037))
* **misc**: Update Claude 3.5 Sonnet maxOutput vaule, closes [#3705](https://github.com/lobehub/lobe-chat/issues/3705) ([685bd74](https://github.com/lobehub/lobe-chat/commit/685bd74))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-09-01 04:34:16 +00:00
sxjeru 4d98037ce7 💄 style: fix model info (#3696)
* Update stepfun.ts

* Update qwen.ts

* Update qwen.ts

* Update stepfun.ts
2024-09-01 12:27:54 +08:00
Zhijie He 685bd74ce1 💄 style: update Claude 3.5 Sonnet maxOutput vaule (#3705) 2024-09-01 12:27:34 +08:00
Zhijie He 05419dce75 💄 style: add *_MODEL_LIST for Qwen and ZeroOne (#3704) 2024-09-01 12:26:29 +08:00
renovate[bot] 4c761c9c0b Update pnpm to v9.9.0 (#3708)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-01 12:25:01 +08:00
lobehubbot e5aa8e5487 📝 docs(bot): Auto sync agents & plugin to readme 2024-08-31 16:36:30 +00:00
Arvin Xu b95f70bb9e 📝 docs: add knowledge base in Readme (#3702)
* 📝 docs: add knowledge base

* Update README.zh-CN.md

* Update README.zh-CN.md

* Update README.md
2024-09-01 00:29:54 +08:00
Arthals d0652c8264 📝 docs: fix typo (#3700) 2024-08-31 18:15:22 +08:00
semantic-release-bot 990b2c43fd 🔖 chore(release): v1.15.2 [skip ci]
### [Version&nbsp;1.15.2](https://github.com/lobehub/lobe-chat/compare/v1.15.1...v1.15.2)
<sup>Released on **2024-08-30**</sup>

#### 💄 Styles

- **misc**: Update Qwen and Gemini models info.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Update Qwen and Gemini models info, closes [#3693](https://github.com/lobehub/lobe-chat/issues/3693) ([ba01641](https://github.com/lobehub/lobe-chat/commit/ba01641))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-08-30 15:29:56 +00:00
LovelyGuYiMeng ba01641f4c 💄 style: Update Qwen and Gemini models info (#3693)
* Update qwen.ts

* Update google.ts

* Update google.ts
2024-08-30 23:23:22 +08:00
Arthals e3f898cec1 📝 docs: Docker Compose (#3687)
* 📝 docs: Docker Compose

* 📝 docs: Tencent Cloud

* 📝 docs: S3 & Some note

* 📝 docs: Link's lang
2024-08-30 23:22:49 +08:00
semantic-release-bot 2cddfdfdc5 🔖 chore(release): v1.15.1 [skip ci]
### [Version&nbsp;1.15.1](https://github.com/lobehub/lobe-chat/compare/v1.15.0...v1.15.1)
<sup>Released on **2024-08-30**</sup>

#### 💄 Styles

- **misc**: Update the sorting of each provider model.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Update the sorting of each provider model, closes [#3689](https://github.com/lobehub/lobe-chat/issues/3689) ([e82c9dd](https://github.com/lobehub/lobe-chat/commit/e82c9dd))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-08-30 14:35:20 +00:00
LovelyGuYiMeng e82c9dd2b8 💄 style: Update the sorting of each provider model (#3689)
* Update zeroone.ts

* Update zeroone.ts

* Update zhipu.ts

* Update moonshot.ts

* Update baichuan.ts

* Update minimax.ts

* Update qwen.ts

* Update qwen.ts

* Update qwen.ts
2024-08-30 22:28:44 +08:00
semantic-release-bot 168c467769 🔖 chore(release): v1.15.0 [skip ci]
## [Version&nbsp;1.15.0](https://github.com/lobehub/lobe-chat/compare/v1.14.12...v1.15.0)
<sup>Released on **2024-08-30**</sup>

####  Features

- **misc**: Add Upstage model provider support.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's improved

* **misc**: Add Upstage model provider support, closes [#3670](https://github.com/lobehub/lobe-chat/issues/3670) ([4b8591b](https://github.com/lobehub/lobe-chat/commit/4b8591b))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-08-30 14:04:35 +00:00
Arvin Xu 7ab418248d 💄 style: improve style of file preview (#3691) 2024-08-30 21:57:50 +08:00
Zhijie He 4b8591be50 feat: add Upstage model provider support (#3670)
*  feat: add Upstage model provider support

* 💄 style: uncomment for icon display

* 🔨 chore: remove groundedness-check model

* 🔨 chore: remove proxyUrl for Upstage
2024-08-30 21:54:21 +08:00
Arvin Xu e13aa39dce style: add preview for image file (#3690) 2024-08-30 21:51:35 +08:00
semantic-release-bot bd27580704 🔖 chore(release): v1.14.12 [skip ci]
### [Version&nbsp;1.14.12](https://github.com/lobehub/lobe-chat/compare/v1.14.11...v1.14.12)
<sup>Released on **2024-08-30**</sup>

#### 💄 Styles

- **misc**: Fix ms doc file preview, Update the sorting of each provider model.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Fix ms doc file preview, closes [#3686](https://github.com/lobehub/lobe-chat/issues/3686) ([2cd78cf](https://github.com/lobehub/lobe-chat/commit/2cd78cf))
* **misc**: Update the sorting of each provider model, closes [#3688](https://github.com/lobehub/lobe-chat/issues/3688) ([2630bbc](https://github.com/lobehub/lobe-chat/commit/2630bbc))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-08-30 13:06:44 +00:00
LovelyGuYiMeng 2630bbc2b9 💄 style: Update the sorting of each provider model (#3688)
* Update zeroone.ts

* Update zeroone.ts

* Update zhipu.ts

* Update moonshot.ts
2024-08-30 21:00:16 +08:00
Arvin Xu 2cd78cf24b 💄 style: fix ms doc file preview (#3686)
* 💄 style: improve msdoc relative file view

* update i18n
2024-08-30 20:59:13 +08:00
semantic-release-bot 9a5dd74b79 🔖 chore(release): v1.14.11 [skip ci]
### [Version&nbsp;1.14.11](https://github.com/lobehub/lobe-chat/compare/v1.14.10...v1.14.11)
<sup>Released on **2024-08-30**</sup>

#### 💄 Styles

- **misc**: Update Stepfun models info.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Update Stepfun models info, closes [#3685](https://github.com/lobehub/lobe-chat/issues/3685) ([478b40a](https://github.com/lobehub/lobe-chat/commit/478b40a))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-08-30 12:05:10 +00:00
LovelyGuYiMeng 478b40a756 💄 style: Update Stepfun models info (#3685)
* Update stepfun.ts

* Update stepfun.ts
2024-08-30 19:58:30 +08:00
LovelyGuYiMeng 66b3c51ef9 💄 style:improve qwen model tokens (#3683) 2024-08-30 18:39:01 +08:00
LovelyGuYiMeng 34b817aed3 💄 style:improve zhipu model tokens (#3680) 2024-08-30 17:54:20 +08:00
sxjeru 24dd3c8876 💄 style:Update zhipu models (#3677) 2024-08-30 16:16:36 +08:00
lobehubbot b8e97f5d33 📝 docs(bot): Auto sync agents & plugin to readme 2024-08-30 05:22:18 +00:00
semantic-release-bot 6acc848ac5 🔖 chore(release): v1.14.10 [skip ci]
### [Version&nbsp;1.14.10](https://github.com/lobehub/lobe-chat/compare/v1.14.9...v1.14.10)
<sup>Released on **2024-08-30**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix file relative chunks.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Fix file relative chunks, closes [#3676](https://github.com/lobehub/lobe-chat/issues/3676) ([afe1906](https://github.com/lobehub/lobe-chat/commit/afe1906))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-08-30 05:21:29 +00:00
Arvin Xu afe19064d3 🐛 fix: fix file relative chunks (#3676)
* 🌐 chore: update i18n

* 🐛 fix: fix relative files
2024-08-30 13:14:50 +08:00
semantic-release-bot fe62aee06b 🔖 chore(release): v1.14.9 [skip ci]
### [Version&nbsp;1.14.9](https://github.com/lobehub/lobe-chat/compare/v1.14.8...v1.14.9)
<sup>Released on **2024-08-29**</sup>

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-08-29 16:09:39 +00:00
Zhijie He f297059317 👷 build: support Generic OIDC auth (#3647)
*  feat: support Generic OIDC auth

* 📝 docs: add Generic OIDC env doc
2024-08-30 00:03:04 +08:00
Arvin Xu 1f9eb04525 📝 docs: improve docker-compose (#3661)
* improve docker-compose

* improve docs

* improve docs

* improve docs
2024-08-29 15:31:19 +08:00
semantic-release-bot e936bfd18a 🔖 chore(release): v1.14.8 [skip ci]
### [Version&nbsp;1.14.8](https://github.com/lobehub/lobe-chat/compare/v1.14.7...v1.14.8)
<sup>Released on **2024-08-29**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix whisper-1 typo.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Fix whisper-1 typo, closes [#3665](https://github.com/lobehub/lobe-chat/issues/3665) ([084c971](https://github.com/lobehub/lobe-chat/commit/084c971))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-08-29 05:04:04 +00:00
CanisMinor 084c9718dd 🐛 fix: Fix whisper-1 typo (#3665) 2024-08-29 12:57:10 +08:00
semantic-release-bot 7373a7ff4a 🔖 chore(release): v1.14.7 [skip ci]
### [Version&nbsp;1.14.7](https://github.com/lobehub/lobe-chat/compare/v1.14.6...v1.14.7)
<sup>Released on **2024-08-28**</sup>

#### 🐛 Bug Fixes

- **misc**: Disable ChatGPT-4o Tools Calling.

#### 💄 Styles

- **misc**: Improve chunk and file preview.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Disable ChatGPT-4o Tools Calling, closes [#3659](https://github.com/lobehub/lobe-chat/issues/3659) ([c94077d](https://github.com/lobehub/lobe-chat/commit/c94077d))

#### Styles

* **misc**: Improve chunk and file preview, closes [#3658](https://github.com/lobehub/lobe-chat/issues/3658) ([4c9155c](https://github.com/lobehub/lobe-chat/commit/4c9155c))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-08-28 15:59:21 +00:00
Arvin Xu c94077dced 🐛 fix: disable ChatGPT-4o Tools Calling (#3659) 2024-08-28 23:52:31 +08:00
Arvin Xu 4c9155c615 💄 style: improve chunk and file preview (#3658)
* ♻️ refactor: refactor the status

* 💄 style: improve chunk preview

* 💄 style: improve chunk preview

* 🌐 chore: update i18n
2024-08-28 23:51:54 +08:00
semantic-release-bot fc2d3a1b5e 🔖 chore(release): v1.14.6 [skip ci]
### [Version&nbsp;1.14.6](https://github.com/lobehub/lobe-chat/compare/v1.14.5...v1.14.6)
<sup>Released on **2024-08-28**</sup>

#### 💄 Styles

- **misc**: Update Gemini models.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Update Gemini models, closes [#3653](https://github.com/lobehub/lobe-chat/issues/3653) ([b61ca4c](https://github.com/lobehub/lobe-chat/commit/b61ca4c))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-08-28 15:28:03 +00:00
sxjeru b61ca4c73a 💄 style: Update Gemini models (#3653) 2024-08-28 23:18:52 +08:00
Arthals cef1733976 📝 docs: Docker compose for local. (#3651) 2024-08-28 18:59:16 +08:00
semantic-release-bot 6e202a6831 🔖 chore(release): v1.14.5 [skip ci]
### [Version&nbsp;1.14.5](https://github.com/lobehub/lobe-chat/compare/v1.14.4...v1.14.5)
<sup>Released on **2024-08-28**</sup>

#### 🐛 Bug Fixes

- **misc**: No user name if Cloudflare Zero Trust with onetimepin.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: No user name if Cloudflare Zero Trust with onetimepin, closes [#3649](https://github.com/lobehub/lobe-chat/issues/3649) ([5bfee5a](https://github.com/lobehub/lobe-chat/commit/5bfee5a))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-08-28 08:45:35 +00:00
Zhijie He 5bfee5a2da 🐛 fix: no user name if Cloudflare Zero Trust with onetimepin (#3649) 2024-08-28 16:38:53 +08:00
semantic-release-bot 3114397a63 🔖 chore(release): v1.14.4 [skip ci]
### [Version&nbsp;1.14.4](https://github.com/lobehub/lobe-chat/compare/v1.14.3...v1.14.4)
<sup>Released on **2024-08-28**</sup>

#### 💄 Styles

- **misc**: Move model and provider icon components to `@lobehub/icons`.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Move model and provider icon components to `@lobehub/icons`, closes [#3634](https://github.com/lobehub/lobe-chat/issues/3634) ([5c7e17a](https://github.com/lobehub/lobe-chat/commit/5c7e17a))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-08-28 03:34:49 +00:00
CanisMinor 5c7e17a68f 💄 style: Move model and provider icon components to @lobehub/icons (#3634)
* 💄 style: Move model and provider icon components to @lobehub/icons

* 🐛 fix: Fix review problem

* 🔧 chore: Update deps

* 💄 style: Rm Google Avatar in Browser options
2024-08-28 11:27:59 +08:00
Arthals 64eb7c24d2 📝 docs: Logto & fix typo. (#3641)
* 📝 docs: Logto & fix typo.

* 📝 docs: Logto variables & fix typo.
2024-08-28 10:30:12 +08:00
lobehubbot c53fee6ac1 📝 docs(bot): Auto sync agents & plugin to readme 2024-08-27 17:45:31 +00:00
semantic-release-bot d8cad21a37 🔖 chore(release): v1.14.3 [skip ci]
### [Version&nbsp;1.14.3](https://github.com/lobehub/lobe-chat/compare/v1.14.2...v1.14.3)
<sup>Released on **2024-08-27**</sup>

#### 🐛 Bug Fixes

- **misc**: Improve aysnc error type.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Improve aysnc error type, closes [#3638](https://github.com/lobehub/lobe-chat/issues/3638) ([dbae456](https://github.com/lobehub/lobe-chat/commit/dbae456))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-08-27 17:44:22 +00:00
Arvin Xu dbae45685f 🐛 fix: improve aysnc error type (#3638)
* 🐛 fix: improve chunking task error

* 🐛 fix: improve chunking task error

* 🐛 fix: improve embedding task error
2024-08-28 01:37:47 +08:00
Arthals c31fc2e9c1 📝 docs: fix curl typo (#3637)
* 📝 docs: fix curl typo

* 📝 docs: Docker english ver.
2024-08-28 00:31:54 +08:00
Arthals ae3bc82527 📝 docs: Docker Compose for database ver. (#3607)
* 📝 docs: Docker for database ver.

* 📝 docs: Docker / Docker compose for database ver.

* 📝 docs: MinIO

* 📝 docs: Other S3

* 📝 docs: Quick Start

* 📝 docs: SSL

* 📝 docs: SSL

* 📝 docs: Docker-Compose english ver.

* 📝 docs: Docker-Compose for database ver.
2024-08-27 23:52:20 +08:00
semantic-release-bot 3cd7da14cf 🔖 chore(release): v1.14.2 [skip ci]
### [Version&nbsp;1.14.2](https://github.com/lobehub/lobe-chat/compare/v1.14.1...v1.14.2)
<sup>Released on **2024-08-27**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix agent setting.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Fix agent setting, closes [#3633](https://github.com/lobehub/lobe-chat/issues/3633) ([298fddb](https://github.com/lobehub/lobe-chat/commit/298fddb))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-08-27 15:34:54 +00:00
Arvin Xu 298fddb2cb 🐛 fix: fix agent setting (#3633)
* 📝 docs: update auth

* 📝 docs: update auth

* 🐛 fix: fix agent setting bug

* 🐛 fix: fix agent setting bug
2024-08-27 23:28:11 +08:00
lobehubbot a2d67aae33 📝 docs(bot): Auto sync agents & plugin to readme 2024-08-27 14:45:12 +00:00
semantic-release-bot 3b6d61958b 🔖 chore(release): v1.14.1 [skip ci]
### [Version&nbsp;1.14.1](https://github.com/lobehub/lobe-chat/compare/v1.14.0...v1.14.1)
<sup>Released on **2024-08-27**</sup>

#### 💄 Styles

- **misc**: Improve zhipu model config.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Improve zhipu model config, closes [#3635](https://github.com/lobehub/lobe-chat/issues/3635) ([1274e6a](https://github.com/lobehub/lobe-chat/commit/1274e6a))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-08-27 14:44:22 +00:00
Frank Cheung 1274e6acfd 💄 style: improve zhipu model config (#3635)
1. change glm-4-flash config, enabled by default and support function call
2. add model list support
2024-08-27 22:37:51 +08:00
semantic-release-bot d3ff41e024 🔖 chore(release): v1.14.0 [skip ci]
## [Version&nbsp;1.14.0](https://github.com/lobehub/lobe-chat/compare/v1.13.2...v1.14.0)
<sup>Released on **2024-08-27**</sup>

####  Features

- **misc**: Supports Cloudflare Zero Trust login.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's improved

* **misc**: Supports Cloudflare Zero Trust login, closes [#3624](https://github.com/lobehub/lobe-chat/issues/3624) ([ac2bf68](https://github.com/lobehub/lobe-chat/commit/ac2bf68))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-08-27 13:19:38 +00:00
Ikko Eltociear Ashimine 949d558c3f 📝 docs: add Japanese README (#3368)
Signed-off-by: Ikko Ashimine <ashimine_ikko_bp@tenso.com>
2024-08-27 21:12:56 +08:00
Zhijie He ac2bf68804 feat: Supports Cloudflare Zero Trust login (#3624)
*  feat: Supports Cloudflare Zero Trust login

* 📝 docs: add doc for Cloudflare Zero Trust

* ♻️ refactor: cleanup

* ♻️ refactor: rollback checks
2024-08-27 21:09:09 +08:00
cy948 3f92adc8e3 Support logto provider (#3630)
*  support logto provider

* 🎨 style: format code
2024-08-27 21:07:28 +08:00
semantic-release-bot 7e84d1e57e 🔖 chore(release): v1.13.2 [skip ci]
### [Version&nbsp;1.13.2](https://github.com/lobehub/lobe-chat/compare/v1.13.1...v1.13.2)
<sup>Released on **2024-08-27**</sup>

#### 🐛 Bug Fixes

- **misc**: Bypass vercel deployment protection, fix can send message on uploading files.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Bypass vercel deployment protection, closes [#3627](https://github.com/lobehub/lobe-chat/issues/3627) ([47da20d](https://github.com/lobehub/lobe-chat/commit/47da20d))
* **misc**: Fix can send message on uploading files, closes [#3618](https://github.com/lobehub/lobe-chat/issues/3618) ([fe4329a](https://github.com/lobehub/lobe-chat/commit/fe4329a))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-08-27 08:35:12 +00:00
Arvin Xu fe4329a59a 🐛 fix: fix can send message on uploading files (#3618)
* 🔧 chore: add deps

* ♻️ refactor: refactor code

* Update package.json

* fix send issue on uploading file

* add tests
2024-08-27 16:28:24 +08:00
Minh-Phuc Tran 47da20d5ec 🐛 fix: bypass vercel deployment protection (#3627) 2024-08-27 16:26:00 +08:00
semantic-release-bot f41566bc44 🔖 chore(release): v1.13.1 [skip ci]
### [Version&nbsp;1.13.1](https://github.com/lobehub/lobe-chat/compare/v1.13.0...v1.13.1)
<sup>Released on **2024-08-27**</sup>

#### 💄 Styles

- **misc**: Update Qwen models.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Update Qwen models, closes [#3626](https://github.com/lobehub/lobe-chat/issues/3626) ([4393386](https://github.com/lobehub/lobe-chat/commit/4393386))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-08-27 07:25:59 +00:00
sxjeru 4393386057 💄 style: Update Qwen models (#3626)
* Update qwen.ts

* Update qwen.ts
2024-08-27 15:19:31 +08:00
semantic-release-bot 974da6bf8f 🔖 chore(release): v1.13.0 [skip ci]
## [Version&nbsp;1.13.0](https://github.com/lobehub/lobe-chat/compare/v1.12.20...v1.13.0)
<sup>Released on **2024-08-27**</sup>

####  Features

- **misc**: Supports Authelia login.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's improved

* **misc**: Supports Authelia login, closes [#3589](https://github.com/lobehub/lobe-chat/issues/3589) ([2141ae7](https://github.com/lobehub/lobe-chat/commit/2141ae7))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-08-27 02:28:45 +00:00
Ivan Li 2141ae71a4 feat: Supports Authelia login (#3589)
* feat(next-auth): support Authelia.

* doc(authelia): Added configuration documentation for Authelia authentication.

* fix: typo and update doc.

* feat(next-auth): mapping profile for Authelia provider.

* doc: Add Authelia-related content to Auth environment variables documentation.
2024-08-27 10:22:05 +08:00
semantic-release-bot b400fc06c2 🔖 chore(release): v1.12.20 [skip ci]
### [Version&nbsp;1.12.20](https://github.com/lobehub/lobe-chat/compare/v1.12.19...v1.12.20)
<sup>Released on **2024-08-26**</sup>

#### 🐛 Bug Fixes

- **misc**: Feature flag `knowledge_base` doesn't affect ActionBar.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Feature flag `knowledge_base` doesn't affect ActionBar, closes [#3609](https://github.com/lobehub/lobe-chat/issues/3609) ([1a5286b](https://github.com/lobehub/lobe-chat/commit/1a5286b))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-08-26 17:04:25 +00:00
Arthals 1a5286b2f1 🐛 fix: feature flag knowledge_base doesn't affect ActionBar (#3609)
* 🐛 fix: Feature flag `knoeledge_base` doesn't affect ActionBar

* 🐛 fix: Feature flag `knoeledge_base` doesn't affect ActionBar
2024-08-27 00:57:50 +08:00
semantic-release-bot d1d0350302 🔖 chore(release): v1.12.19 [skip ci]
### [Version&nbsp;1.12.19](https://github.com/lobehub/lobe-chat/compare/v1.12.18...v1.12.19)
<sup>Released on **2024-08-25**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix cannot clone agent when imported from client.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Fix cannot clone agent when imported from client, closes [#3606](https://github.com/lobehub/lobe-chat/issues/3606) ([1fd2fa0](https://github.com/lobehub/lobe-chat/commit/1fd2fa0))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-08-25 16:20:56 +00:00
Arvin Xu 1fd2fa0246 🐛 fix: fix cannot clone agent when imported from client (#3606)
* 🐛 fix: fix cannot clone agent when imported from client

*  test: fix lint
2024-08-26 00:14:26 +08:00
semantic-release-bot b9de2e3b51 🔖 chore(release): v1.12.18 [skip ci]
### [Version&nbsp;1.12.18](https://github.com/lobehub/lobe-chat/compare/v1.12.17...v1.12.18)
<sup>Released on **2024-08-25**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix dayjs error in en-US language.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Fix dayjs error in en-US language, closes [#3604](https://github.com/lobehub/lobe-chat/issues/3604) ([174f4df](https://github.com/lobehub/lobe-chat/commit/174f4df))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-08-25 15:52:28 +00:00
Arvin Xu 174f4df735 🐛 fix: fix dayjs error in en-US language (#3604)
* 🐛 fix: fix dayjs issue

* 🐛 fix: fix user auth and password issue
2024-08-25 23:46:05 +08:00
lobehubbot 7076b95e4b 📝 docs(bot): Auto sync agents & plugin to readme 2024-08-25 14:55:59 +00:00
semantic-release-bot 6203c89a86 🔖 chore(release): v1.12.17 [skip ci]
### [Version&nbsp;1.12.17](https://github.com/lobehub/lobe-chat/compare/v1.12.16...v1.12.17)
<sup>Released on **2024-08-25**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix multi file upload dupicate.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Fix multi file upload dupicate, closes [#3603](https://github.com/lobehub/lobe-chat/issues/3603) ([60dbed7](https://github.com/lobehub/lobe-chat/commit/60dbed7))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-08-25 14:54:49 +00:00
renovate[bot] 692d1bd218 Update dependency @t3-oss/env-nextjs to ^0.11.0 (#3344)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-25 22:48:23 +08:00
Arvin Xu 60dbed7029 🐛 fix: fix multi file upload dupicate (#3603)
* 🐛 fix: fix upload issue

* 🐛 fix: fix upload issue
2024-08-25 22:46:07 +08:00
renovate[bot] 2dd1ae951f Update dependency drizzle-orm to ^0.33.0 (#3439)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-25 13:28:43 +08:00
renovate[bot] 698510fd1a Update dependency drizzle-kit to ^0.24.0 (#3438)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-25 13:28:21 +08:00
renovate[bot] 21f639ce8a Update pnpm to v9.8.0 (#3597)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-25 11:52:12 +08:00
renovate[bot] 24f112cfcb Update dependency @cfworker/json-schema to v2 (#3598)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-25 11:51:51 +08:00
renovate[bot] 428a0f9073 Update dependency happy-dom to v15 (#3599)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-25 11:49:50 +08:00
semantic-release-bot d3b0cb9451 🔖 chore(release): v1.12.16 [skip ci]
### [Version&nbsp;1.12.16](https://github.com/lobehub/lobe-chat/compare/v1.12.15...v1.12.16)
<sup>Released on **2024-08-24**</sup>

#### 🐛 Bug Fixes

- **misc**: Session not found error on mobile.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Session not found error on mobile, closes [#3428](https://github.com/lobehub/lobe-chat/issues/3428) ([7e9c15e](https://github.com/lobehub/lobe-chat/commit/7e9c15e))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-08-24 15:55:55 +00:00
Ryan 7e9c15e282 🐛 fix: session not found error on mobile (#3428) 2024-08-24 23:49:26 +08:00
semantic-release-bot 1069f3780f 🔖 chore(release): v1.12.15 [skip ci]
### [Version&nbsp;1.12.15](https://github.com/lobehub/lobe-chat/compare/v1.12.14...v1.12.15)
<sup>Released on **2024-08-24**</sup>

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-08-24 15:42:13 +00:00
Arthals ddab42be53 📝 docs: Feature flags & Auto-update script (#3588)
* 📝 docs: Feature flags & Auto-update script

* 📝 docs: Hide internal var
2024-08-24 23:35:41 +08:00
Arvin Xu 47f5ac712b ️ perf: support latex chunking (#3592)
* 💄 style: support latex chunking

*  test: fix test
2024-08-24 23:30:13 +08:00
semantic-release-bot 09af3b3a98 🔖 chore(release): v1.12.14 [skip ci]
### [Version&nbsp;1.12.14](https://github.com/lobehub/lobe-chat/compare/v1.12.13...v1.12.14)
<sup>Released on **2024-08-24**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix tts file saving in server mode.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Fix tts file saving in server mode, closes [#3585](https://github.com/lobehub/lobe-chat/issues/3585) ([ab1cb47](https://github.com/lobehub/lobe-chat/commit/ab1cb47))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-08-24 05:42:42 +00:00
Arvin Xu ab1cb47a8e 🐛 fix: fix tts file saving in server mode (#3585)
* 🐛 fix: fix tts in server mode

* 🐛 fix: fix tts not save to file

*  test: fix test
2024-08-24 13:35:56 +08:00
lobehubbot 6b01996e5b 📝 docs(bot): Auto sync agents & plugin to readme 2024-08-24 05:31:31 +00:00
semantic-release-bot 43a03bdc42 🔖 chore(release): v1.12.13 [skip ci]
### [Version&nbsp;1.12.13](https://github.com/lobehub/lobe-chat/compare/v1.12.12...v1.12.13)
<sup>Released on **2024-08-24**</sup>

#### 💄 Styles

- **misc**: Update 01.AI models.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Update 01.AI models, closes [#3586](https://github.com/lobehub/lobe-chat/issues/3586) ([c4a7f70](https://github.com/lobehub/lobe-chat/commit/c4a7f70))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-08-24 05:30:41 +00:00
sxjeru c4a7f703b8 💄 style: Update 01.AI models (#3586) 2024-08-24 13:24:12 +08:00
semantic-release-bot e4b56a2d48 🔖 chore(release): v1.12.12 [skip ci]
### [Version&nbsp;1.12.12](https://github.com/lobehub/lobe-chat/compare/v1.12.11...v1.12.12)
<sup>Released on **2024-08-24**</sup>

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-08-24 02:43:42 +00:00
Arvin Xu 2c725575f7 👷 build: fix database docker build (#3584) 2024-08-24 10:37:14 +08:00
renovate[bot] 6ef4bdf6da Update dependency glob to v11 (#3216)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-24 01:53:15 +08:00
Arvin Xu 0e3bf0ce22 📝 docs: improve vercel and sync (#3581)
* 📝 docs: improve docs of vercel deployment

* 📝 docs: improve docs

* Update `upstream-sync.mdx` to include detailed instructions for handling sync failures and manual updates

* Add instructions for manually clicking "Update Branch" in case of sync failures
* Include images to illustrate the process of handling sync failures and manually updating branches
2024-08-24 01:40:33 +08:00
lobehubbot f10f3b335a 📝 docs(bot): Auto sync agents & plugin to readme 2024-08-23 17:22:51 +00:00
semantic-release-bot 4e7d2e79d0 🔖 chore(release): v1.12.11 [skip ci]
### [Version&nbsp;1.12.11](https://github.com/lobehub/lobe-chat/compare/v1.12.10...v1.12.11)
<sup>Released on **2024-08-23**</sup>

#### 🐛 Bug Fixes

- **misc**: Remove orphan chunks if there is no related file.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Remove orphan chunks if there is no related file, closes [#3578](https://github.com/lobehub/lobe-chat/issues/3578) ([36bcaf3](https://github.com/lobehub/lobe-chat/commit/36bcaf3))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-08-23 17:21:56 +00:00
Arvin Xu 36bcaf39db 🐛 fix: remove orphan chunks if there is no related file (#3578)
*  test: add more tests

* 🐛 fix: add `DISABLE_REMOVE_GLOBAL_FILE` in dbENV

* 🐛 fix: remove orphan chunks if there is related file

*  test: fix test

* 👷 fix: throw error when not set `APP_URL` at server side

*  test: fix test
2024-08-24 01:15:27 +08:00
semantic-release-bot 6d96a4114f 🔖 chore(release): v1.12.10 [skip ci]
### [Version&nbsp;1.12.10](https://github.com/lobehub/lobe-chat/compare/v1.12.9...v1.12.10)
<sup>Released on **2024-08-23**</sup>

#### 🐛 Bug Fixes

- **misc**: Refactor and fix dalle.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Refactor and fix dalle, closes [#3572](https://github.com/lobehub/lobe-chat/issues/3572) ([8b39b61](https://github.com/lobehub/lobe-chat/commit/8b39b61))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-08-23 14:19:47 +00:00
Arvin Xu 8b39b611be 🐛 fix: refactor and fix dalle (#3572)
* fix dalle

* revert change

* fix lint and test

* fix test

* 🚨 ci: fix lint

* 🐛 fix: fix image url in server mode

* 🐛 fix: fix file can't download if cors
2024-08-23 22:13:21 +08:00
semantic-release-bot 320df5bf7f 🔖 chore(release): v1.12.9 [skip ci]
### [Version&nbsp;1.12.9](https://github.com/lobehub/lobe-chat/compare/v1.12.8...v1.12.9)
<sup>Released on **2024-08-23**</sup>

#### 🐛 Bug Fixes

- **misc**: Improve s3 path-style url.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Improve s3 path-style url, closes [#3567](https://github.com/lobehub/lobe-chat/issues/3567) ([96bb38a](https://github.com/lobehub/lobe-chat/commit/96bb38a))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-08-23 03:00:07 +00:00
Arvin Xu 96bb38ac2e 🐛 fix: improve s3 path-style url (#3567) 2024-08-23 10:53:37 +08:00
semantic-release-bot 653bb34b52 🔖 chore(release): v1.12.8 [skip ci]
### [Version&nbsp;1.12.8](https://github.com/lobehub/lobe-chat/compare/v1.12.7...v1.12.8)
<sup>Released on **2024-08-22**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix `NEXT_PUBLIC_S3_DOMAIN`  error on Docker.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Fix `NEXT_PUBLIC_S3_DOMAIN`  error on Docker, closes [#3564](https://github.com/lobehub/lobe-chat/issues/3564) ([bc6b64c](https://github.com/lobehub/lobe-chat/commit/bc6b64c))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-08-22 16:33:30 +00:00
Arvin Xu bc6b64cc1f 🐛 fix: fix NEXT_PUBLIC_S3_DOMAIN error on Docker (#3564) 2024-08-23 00:26:55 +08:00
semantic-release-bot 5ef5963cf0 🔖 chore(release): v1.12.7 [skip ci]
### [Version&nbsp;1.12.7](https://github.com/lobehub/lobe-chat/compare/v1.12.6...v1.12.7)
<sup>Released on **2024-08-22**</sup>

#### 🐛 Bug Fixes

- **misc**: Logout button not shown on mobile view when using nextauth.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Logout button not shown on mobile view when using nextauth, closes [#3561](https://github.com/lobehub/lobe-chat/issues/3561) ([0c4efe4](https://github.com/lobehub/lobe-chat/commit/0c4efe4))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-08-22 16:15:43 +00:00
cy948 0c4efe4b33 🐛 fix: Logout button not shown on mobile view when using nextauth (#3561)
* 🐛 fix: logout button not shown on mobile view when using nextauth

* 🧪 test: show status for signout button
2024-08-23 00:09:17 +08:00
Arvin Xu 7a83cf9b2e 📝 docs: add S3 environment variables to documentation (#3562)
* Add S3 environment variables to documentation
2024-08-22 23:12:09 +08:00
semantic-release-bot 5c2ba8a0a6 🔖 chore(release): v1.12.6 [skip ci]
### [Version&nbsp;1.12.6](https://github.com/lobehub/lobe-chat/compare/v1.12.5...v1.12.6)
<sup>Released on **2024-08-22**</sup>

#### ♻ Code Refactoring

- **misc**: Refactor s3 env and support path-style for minio.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Code refactoring

* **misc**: Refactor s3 env and support path-style for minio, closes [#3559](https://github.com/lobehub/lobe-chat/issues/3559) ([1658403](https://github.com/lobehub/lobe-chat/commit/1658403))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-08-22 14:59:06 +00:00
Arvin Xu 16584031a7 ♻️ refactor: refactor s3 env and support path-style for minio (#3559)
* ♻️ refactor: refactor the `NEXT_PUBLIC_S3_DOMAIN` to `S3_PUBLIC_DOMAIN`

* 👷 build: support path-style for s3
2024-08-22 22:52:25 +08:00
semantic-release-bot 2ecd5e310c 🔖 chore(release): v1.12.5 [skip ci]
### [Version&nbsp;1.12.5](https://github.com/lobehub/lobe-chat/compare/v1.12.4...v1.12.5)
<sup>Released on **2024-08-22**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix clipboard copy issue and improve upload cors feedback.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Fix clipboard copy issue and improve upload cors feedback, closes [#3557](https://github.com/lobehub/lobe-chat/issues/3557) ([86c5a99](https://github.com/lobehub/lobe-chat/commit/86c5a99))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-08-22 14:02:21 +00:00
Arvin Xu 86c5a99587 🐛 fix: fix clipboard copy issue and improve upload cors feedback (#3557)
* 🐛 fix: fix clipboard copy issue

* 🐛 fix: fix clipboard copy issue

* 🚸 style: improve cors upload issue

* 🚸 style: improve cors upload issue

* 🚸 style: improve cors upload issue
2024-08-22 21:55:51 +08:00
Arvin Xu 2ed0b8ea26 📝 docs: Sync S3 docs between Chinese and English versions (#3556)
---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/lobehub/lobe-chat?shareId=XXXX-XXXX-XXXX-XXXX).
2024-08-22 20:01:04 +08:00
Arvin Xu 58d8f57c88 📝 docs: sync updates to English docs (#3555) 2024-08-22 19:39:03 +08:00
semantic-release-bot 5984fae0d8 🔖 chore(release): v1.12.4 [skip ci]
### [Version&nbsp;1.12.4](https://github.com/lobehub/lobe-chat/compare/v1.12.3...v1.12.4)
<sup>Released on **2024-08-22**</sup>

#### 💄 Styles

- **misc**: Fix link style.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Fix link style, closes [#3552](https://github.com/lobehub/lobe-chat/issues/3552) ([aa936c8](https://github.com/lobehub/lobe-chat/commit/aa936c8))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-08-22 09:53:41 +00:00
Arvin Xu aa936c8865 💄 style: fix link style (#3552) 2024-08-22 17:47:20 +08:00
semantic-release-bot da4daf51a0 🔖 chore(release): v1.12.3 [skip ci]
### [Version&nbsp;1.12.3](https://github.com/lobehub/lobe-chat/compare/v1.12.2...v1.12.3)
<sup>Released on **2024-08-22**</sup>

#### 💄 Styles

- **misc**: Hide settings in repo.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Hide settings in repo, closes [#3540](https://github.com/lobehub/lobe-chat/issues/3540) ([86c1165](https://github.com/lobehub/lobe-chat/commit/86c1165))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-08-22 07:25:46 +00:00
Arvin Xu 86c1165eac 💄 style: hide settings in repo (#3540)
* hide settings in repo

* fix drag

* Update useDragUpload.tsx

* Update package.json
2024-08-22 15:19:07 +08:00
semantic-release-bot 26e0e3474b 🔖 chore(release): v1.12.2 [skip ci]
### [Version&nbsp;1.12.2](https://github.com/lobehub/lobe-chat/compare/v1.12.1...v1.12.2)
<sup>Released on **2024-08-22**</sup>

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-08-22 03:42:32 +00:00
Zhijie He b0474ef238 👷 build: make database docker image exit if migration fail (#3541)
* 👷 build: detect migration exit code

* 👷 build: fix ci issue
2024-08-22 11:36:00 +08:00
Arvin Xu 53a3089406 📝 docs: improve server deployment docs (#3534)
* 📝 docs: 更新 docker 部署文档

* 📝 docs: 更新 docker 部署文档

* 📝 docs: 更新 docker 部署文档

* 📝 docs: 更新 docker 部署文档

* 📝 docs: 更新 docker 部署文档

* 📝 docs: 更新 docker 部署文档

* 📝 docs: 更新 docker 部署文档
2024-08-22 02:30:09 +08:00
lobehubbot 6b35a645db 📝 docs(bot): Auto sync agents & plugin to readme 2024-08-21 16:19:07 +00:00
semantic-release-bot 8359654986 🔖 chore(release): v1.12.1 [skip ci]
### [Version&nbsp;1.12.1](https://github.com/lobehub/lobe-chat/compare/v1.12.0...v1.12.1)
<sup>Released on **2024-08-21**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix embeddings multi-insert when there is issues with async task.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Fix embeddings multi-insert when there is issues with async task, closes [#3530](https://github.com/lobehub/lobe-chat/issues/3530) ([e2cfff7](https://github.com/lobehub/lobe-chat/commit/e2cfff7))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-08-21 16:18:16 +00:00
Arvin Xu e2cfff73bd 🐛 fix: fix embeddings multi-insert when there is issues with async task (#3530) 2024-08-22 00:11:38 +08:00
semantic-release-bot 5568e3ff0b 🔖 chore(release): v1.12.0 [skip ci]
## [Version&nbsp;1.12.0](https://github.com/lobehub/lobe-chat/compare/v1.11.9...v1.12.0)
<sup>Released on **2024-08-21**</sup>

####  Features

- **misc**: Files and knowledge base.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's improved

* **misc**: Files and knowledge base, closes [#3487](https://github.com/lobehub/lobe-chat/issues/3487) ([6574c01](https://github.com/lobehub/lobe-chat/commit/6574c01))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-08-21 13:49:21 +00:00
Arvin Xu baf9d4c965 👷 ci: fix release workflow 2024-08-21 21:42:51 +08:00
Arvin Xu e500032404 👷 ci: fix release workflow (#3528) 2024-08-21 21:37:15 +08:00
Arvin Xu 6574c01843 feat: files and knowledge base (#3487)
*  feat: add files and knowledge base

Update edge.ts

Update test.yml

🎨 chore: fix locale

Update index.tsx

测试 pgvector workflow

* 💄 style: improve upload detail

*  feat: support delete s3 file when delete files

* 💄 style: improve chunks in message

* ♻️ refactor: refactor the auth method

*  feat: support use user client api key

* 💄 style: fix image list in mobile

*  feat: support file upload on mobile

*  test: fix test

* fix vercel build

* docs: update docs

* 👷 build: improve docker

* update i18n
2024-08-21 21:28:29 +08:00
semantic-release-bot d8950b27ea 🔖 chore(release): v1.11.9 [skip ci]
### [Version&nbsp;1.11.9](https://github.com/lobehub/lobe-chat/compare/v1.11.8...v1.11.9)
<sup>Released on **2024-08-19**</sup>

#### 🐛 Bug Fixes

- **misc**: Fixed bedrock llama model id.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Fixed bedrock llama model id, closes [#3518](https://github.com/lobehub/lobe-chat/issues/3518) ([34b4c69](https://github.com/lobehub/lobe-chat/commit/34b4c69))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-08-19 18:27:04 +00:00
Akhmad Fakhoni Listiyan Dede 34b4c69117 🐛 fix: fixed bedrock llama model id (#3518) 2024-08-20 02:20:46 +08:00
Arvin Xu 434004a3e5 🔨 chore: add i18n in advanced (#3519) 2024-08-20 02:06:17 +08:00
semantic-release-bot 6a22dec036 🔖 chore(release): v1.11.8 [skip ci]
### [Version&nbsp;1.11.8](https://github.com/lobehub/lobe-chat/compare/v1.11.7...v1.11.8)
<sup>Released on **2024-08-19**</sup>

#### 💄 Styles

- **misc**: Update zhipu models.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Update zhipu models, closes [#3509](https://github.com/lobehub/lobe-chat/issues/3509) ([e323b50](https://github.com/lobehub/lobe-chat/commit/e323b50))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-08-19 12:33:56 +00:00
sxjeru e323b505de 💄 style: Update zhipu models (#3509) 2024-08-19 20:26:45 +08:00
renovate[bot] 9f55c0a86b Update dependency unstructured-client to ^0.15.0 (#3500)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-19 02:21:28 +08:00
renovate[bot] 65080c5c3b Update pnpm to v9.7.1 (#3496)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-19 02:21:02 +08:00
semantic-release-bot cf520e5d9f 🔖 chore(release): v1.11.7 [skip ci]
### [Version&nbsp;1.11.7](https://github.com/lobehub/lobe-chat/compare/v1.11.6...v1.11.7)
<sup>Released on **2024-08-18**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix topic scroll issue.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Fix topic scroll issue, closes [#3505](https://github.com/lobehub/lobe-chat/issues/3505) ([c719c7a](https://github.com/lobehub/lobe-chat/commit/c719c7a))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-08-18 18:18:21 +00:00
Arvin Xu c719c7a702 🐛 fix: fix topic scroll issue (#3505)
* 🔧 chore: only include db file with server test

* 🐛 fix: fix topic scroll
2024-08-19 02:11:37 +08:00
semantic-release-bot c68cffdfd6 🔖 chore(release): v1.11.6 [skip ci]
### [Version&nbsp;1.11.6](https://github.com/lobehub/lobe-chat/compare/v1.11.5...v1.11.6)
<sup>Released on **2024-08-18**</sup>

#### ♻ Code Refactoring

- **misc**: Refactor the `SITE_URL` to `APP_URL`.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Code refactoring

* **misc**: Refactor the `SITE_URL` to `APP_URL`, closes [#3504](https://github.com/lobehub/lobe-chat/issues/3504) ([46bdcea](https://github.com/lobehub/lobe-chat/commit/46bdcea))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-08-18 18:03:03 +00:00
Arvin Xu 46bdceaa46 ♻️ refactor: refactor the SITE_URL to APP_URL (#3504) 2024-08-19 01:56:39 +08:00
semantic-release-bot a40ac66a10 🔖 chore(release): v1.11.5 [skip ci]
### [Version&nbsp;1.11.5](https://github.com/lobehub/lobe-chat/compare/v1.11.4...v1.11.5)
<sup>Released on **2024-08-18**</sup>

#### ♻ Code Refactoring

- **misc**: Refactor the fetch method to fix `response.undefined`.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Code refactoring

* **misc**: Refactor the fetch method to fix `response.undefined`, closes [#3493](https://github.com/lobehub/lobe-chat/issues/3493) ([30d0609](https://github.com/lobehub/lobe-chat/commit/30d0609))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-08-18 08:48:44 +00:00
Arvin Xu 30d0609310 ♻️ refactor: refactor the fetch method to fix response.undefined (#3493)
* ♻️ refactor: refactor the fetchEventSource

* 🔨 scripts: improve scripts

* ♻️ refactor: refactor the Portal to better code

* 🚨 ci: fix lint

* Update index.tsx

*  test: fix test

*  test: fix test

* 🐛 fix: fix the issue of stream error

* 🌐 chore: upload i18n

* 🐛 fix: support edit the default ... message

* 🐛 fix: fix the message edge case

* 🌐 chore: upload i18n

* ♻️ refactor: refactor the code

*  test: fix tests

*  test: fix tests

* 🔧 chore: only include db file with server test

*  test: add more test

* revert

* revert

* ignore test coverage

* ignore test coverage

* ignore test coverage
2024-08-18 16:42:24 +08:00
semantic-release-bot 6279ef0b76 🔖 chore(release): v1.11.4 [skip ci]
### [Version&nbsp;1.11.4](https://github.com/lobehub/lobe-chat/compare/v1.11.3...v1.11.4)
<sup>Released on **2024-08-18**</sup>

#### 💄 Styles

- **misc**: Add `SILICONCLOUD_MODEL_LIST` & `SILICONCLOUD_PROXY_URL` support for SiliconCloud.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Add `SILICONCLOUD_MODEL_LIST` & `SILICONCLOUD_PROXY_URL` support for SiliconCloud, closes [#3492](https://github.com/lobehub/lobe-chat/issues/3492) ([e41be6d](https://github.com/lobehub/lobe-chat/commit/e41be6d))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-08-18 03:22:57 +00:00
Zhijie He e41be6d7f4 💄 style: add SILICONCLOUD_MODEL_LIST & SILICONCLOUD_PROXY_URL support for SiliconCloud (#3492)
*  feat: add SILICONCLOUD_MODEL_LIST support for SiliconCloud

*  feat: add proxy url support for SiliconCloud

*  feat: add baseURL support
2024-08-18 11:16:10 +08:00
semantic-release-bot cccd089e9f 🔖 chore(release): v1.11.3 [skip ci]
### [Version&nbsp;1.11.3](https://github.com/lobehub/lobe-chat/compare/v1.11.2...v1.11.3)
<sup>Released on **2024-08-17**</sup>

#### ♻ Code Refactoring

- **misc**: Refactor PanelTitle and move commit from file uploading.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Code refactoring

* **misc**: Refactor PanelTitle and move commit from file uploading, closes [#3491](https://github.com/lobehub/lobe-chat/issues/3491) ([d03d9f6](https://github.com/lobehub/lobe-chat/commit/d03d9f6))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-08-17 16:06:30 +00:00
Arvin Xu d03d9f6490 ♻️ refactor: refactor PanelTitle and move commit from file uploading (#3491)
* 📝 docs: update docs

* ♻️ refactor: refactor code

* 🎨 chore: add code from pre PR

* 📝 docs: update docs

* 🌐 chore: upload i18n

* 💄 style: fix style

* 🐛 fix: use pmap to control timing
2024-08-18 00:00:16 +08:00
semantic-release-bot c010d79c95 🔖 chore(release): v1.11.2 [skip ci]
### [Version&nbsp;1.11.2](https://github.com/lobehub/lobe-chat/compare/v1.11.1...v1.11.2)
<sup>Released on **2024-08-17**</sup>

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-08-17 15:08:54 +00:00
Zhijie He 0ea2f5fa28 👷 build: add bind-tools & proxychains-ng to database docker image (#3471)
* 👷 build: add `bind-tools` to docker image

* 👷 build: support http proxy

* 👷 build: add PROXY_URL env

* 🔨 chore: update ENV

* 🔨 chore: update ENV

* 🐛 fix: fix build error

* 🔨 chore: sort ENV
2024-08-17 23:02:47 +08:00
Arvin Xu 811e571fe4 🎨 chore: files feature pre-commit to reduce code update (#3488)
* 🎨 chore: pre commit to reduce code update

* 🎨 chore: pre commit to reduce code update

* 🎨 chore: pre commit to reduce code update

*  test: fix test

* 🚚 refactor: move image files to chat

*  test: add tests

*  test: add tests
2024-08-17 22:29:05 +08:00
Alex Rapp 96c34790c1 📝 docs: Update README with hyperlink for Clerk (#3479)
* Update README with hyperlink for Clerk

* Update README.zh-CN.md

---------

Co-authored-by: Arvin Xu <arvinx@foxmail.com>
2024-08-16 10:13:31 +08:00
semantic-release-bot 96f68ac907 🔖 chore(release): v1.11.1 [skip ci]
### [Version&nbsp;1.11.1](https://github.com/lobehub/lobe-chat/compare/v1.11.0...v1.11.1)
<sup>Released on **2024-08-15**</sup>

#### 🐛 Bug Fixes

- **misc**: Make S3 upload ACL setting optional.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Make S3 upload ACL setting optional, closes [#3464](https://github.com/lobehub/lobe-chat/issues/3464) ([53a0b47](https://github.com/lobehub/lobe-chat/commit/53a0b47))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-08-15 02:57:14 +00:00
Arvin Xu 1598f74087 👷 build: pin @icons-pack/react-simple-icons@9.6.0 to fix build (#3474) 2024-08-15 10:50:53 +08:00
Zolyn 53a0b47cc3 🐛 fix: make S3 upload ACL setting optional (#3464)
* feat: make setting ACL optional

* docs: add `S3_SET_ACL` description
2024-08-15 10:11:36 +08:00
semantic-release-bot cf90dba3d8 🔖 chore(release): v1.11.0 [skip ci]
## [Version&nbsp;1.11.0](https://github.com/lobehub/lobe-chat/compare/v1.10.1...v1.11.0)
<sup>Released on **2024-08-14**</sup>

####  Features

- **misc**: Add 2 new models to openai provider.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's improved

* **misc**: Add 2 new models to openai provider, closes [#3470](https://github.com/lobehub/lobe-chat/issues/3470) ([cc9ffdd](https://github.com/lobehub/lobe-chat/commit/cc9ffdd))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-08-14 14:53:56 +00:00
Linghui Gong cc9ffdd1c6 feat: add 2 new models to openai provider (#3470) 2024-08-14 22:47:30 +08:00
semantic-release-bot 660bcc74e3 🔖 chore(release): v1.10.1 [skip ci]
### [Version&nbsp;1.10.1](https://github.com/lobehub/lobe-chat/compare/v1.10.0...v1.10.1)
<sup>Released on **2024-08-14**</sup>

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-08-14 04:16:39 +00:00
Zhijie He d11b76fa63 👷 build: add bind-tools to fix dns issue (#3468)
* 👷 build: add `bind-tools` to fix dns issue

* 👷 build: add `bind-tools` package

* 🐛fix: fix comments typo

* Update Dockerfile.database

* rollback changes
2024-08-14 12:10:14 +08:00
semantic-release-bot 344ac28af5 🔖 chore(release): v1.10.0 [skip ci]
## [Version&nbsp;1.10.0](https://github.com/lobehub/lobe-chat/compare/v1.9.8...v1.10.0)
<sup>Released on **2024-08-14**</sup>

####  Features

- **misc**: Add SiliconCloud model provider.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's improved

* **misc**: Add SiliconCloud model provider, closes [#3092](https://github.com/lobehub/lobe-chat/issues/3092) ([0781dc5](https://github.com/lobehub/lobe-chat/commit/0781dc5))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-08-14 02:42:36 +00:00
sxjeru 0781dc5233 feat: Add SiliconCloud model provider (#3092)
* feat: Add SiliconCloud as a model provider

* model icon

* Update index.ts

* Update siliconcloud.ts

* Update .env.example

* Add docs

* Update siliconcloud.ts

* Update siliconcloud.ts

* Update siliconcloud.ts

* Update siliconcloud.ts
2024-08-14 10:36:04 +08:00
semantic-release-bot a5ac9901f0 🔖 chore(release): v1.9.8 [skip ci]
### [Version&nbsp;1.9.8](https://github.com/lobehub/lobe-chat/compare/v1.9.7...v1.9.8)
<sup>Released on **2024-08-13**</sup>

#### 💄 Styles

- **misc**: Resize the image size in chat message.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Resize the image size in chat message, closes [#3462](https://github.com/lobehub/lobe-chat/issues/3462) ([37c7429](https://github.com/lobehub/lobe-chat/commit/37c7429))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-08-13 13:11:39 +00:00
vual 37c742976c 💄 style: resize the image size in chat message (#3462) 2024-08-13 21:04:42 +08:00
Arvin Xu b634ade198 🔨 chore: upgrade ollama to ^0.5.8 (#3457) 2024-08-13 12:57:37 +08:00
semantic-release-bot 55d14b6ec0 🔖 chore(release): v1.9.7 [skip ci]
### [Version&nbsp;1.9.7](https://github.com/lobehub/lobe-chat/compare/v1.9.6...v1.9.7)
<sup>Released on **2024-08-13**</sup>

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-08-13 04:03:18 +00:00
Arvin Xu 52d66c0f29 👷 build: pin ollama@0.5.6 to fix vercel build (#3455) 2024-08-13 11:57:06 +08:00
lobehubbot a682c0bf17 📝 docs(bot): Auto sync agents & plugin to readme 2024-08-11 13:20:36 +00:00
renovate[bot] bdc665ea81 Update pnpm to v9.7.0 (#3442)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-11 21:14:18 +08:00
lobehubbot 7455f6166b 📝 docs(bot): Auto sync agents & plugin to readme 2024-08-09 08:18:10 +00:00
semantic-release-bot 5c783fe69f 🔖 chore(release): v1.9.6 [skip ci]
### [Version&nbsp;1.9.6](https://github.com/lobehub/lobe-chat/compare/v1.9.5...v1.9.6)
<sup>Released on **2024-08-09**</sup>

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-08-09 08:17:17 +00:00
Arvin Xu 6d307b543b 👷 build: fix vercel build (#3433)
* fix vercel build

* Update package.json

* Update package.json

* Update package.json
2024-08-09 16:11:02 +08:00
Yuhang e606a74258 📝 docs: deploy lobechat database on zeabur (#3429) 2024-08-08 15:56:01 +08:00
semantic-release-bot a77456afad 🔖 chore(release): v1.9.5 [skip ci]
### [Version&nbsp;1.9.5](https://github.com/lobehub/lobe-chat/compare/v1.9.4...v1.9.5)
<sup>Released on **2024-08-08**</sup>

#### 💄 Styles

- **misc**: Updated AWS bedrock model list.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Updated AWS bedrock model list, closes [#3315](https://github.com/lobehub/lobe-chat/issues/3315) ([042f2d3](https://github.com/lobehub/lobe-chat/commit/042f2d3))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-08-08 04:34:45 +00:00
Zach Zimmermann 042f2d3666 💄 style: Updated AWS bedrock model list (#3315)
* Updated AWS bedrock model list

* Added tokens field to llama 3.1 models
2024-08-08 12:28:40 +08:00
semantic-release-bot 6ae418461e 🔖 chore(release): v1.9.4 [skip ci]
### [Version&nbsp;1.9.4](https://github.com/lobehub/lobe-chat/compare/v1.9.3...v1.9.4)
<sup>Released on **2024-08-06**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix import clerk `AuthObject` from public api.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Fix import clerk `AuthObject` from public api, closes [#3416](https://github.com/lobehub/lobe-chat/issues/3416) ([af8960d](https://github.com/lobehub/lobe-chat/commit/af8960d))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-08-06 18:17:59 +00:00
Zolyn af8960d537 🐛 fix: fix import clerk AuthObject from public api (#3416)
* fix: import `AuthObject` from public api

* Update package.json
2024-08-07 02:11:51 +08:00
lobehubbot 8958c803a1 📝 docs(bot): Auto sync agents & plugin to readme 2024-08-06 05:17:55 +00:00
semantic-release-bot 3db15442a9 🔖 chore(release): v1.9.3 [skip ci]
### [Version&nbsp;1.9.3](https://github.com/lobehub/lobe-chat/compare/v1.9.2...v1.9.3)
<sup>Released on **2024-08-06**</sup>

#### ♻ Code Refactoring

- **misc**: Refactor server db schema for better code organize.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Code refactoring

* **misc**: Refactor server db schema for better code organize, closes [#3410](https://github.com/lobehub/lobe-chat/issues/3410) ([4743bfd](https://github.com/lobehub/lobe-chat/commit/4743bfd))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-08-06 05:17:11 +00:00
Arvin Xu 4743bfd3e5 ♻️ refactor: refactor server db schema for better code organize (#3410)
* refactor schema

* fix lint

* fix

* update drizzle-kit

* clean code
2024-08-06 13:10:40 +08:00
semantic-release-bot f7d5f98d70 🔖 chore(release): v1.9.2 [skip ci]
### [Version&nbsp;1.9.2](https://github.com/lobehub/lobe-chat/compare/v1.9.1...v1.9.2)
<sup>Released on **2024-08-05**</sup>

#### 💄 Styles

- **config**: Update Azure model and API versions.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **config**: Update Azure model and API versions, closes [#3405](https://github.com/lobehub/lobe-chat/issues/3405) ([a4938eb](https://github.com/lobehub/lobe-chat/commit/a4938eb))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-08-05 18:10:09 +00:00
Rubu Jam a4938ebae3 💄 style(config): Update Azure model and API versions (#3405)
* 💄 style(config): Update Azure model and API versions

* 💄 style: Modify text
2024-08-06 02:03:59 +08:00
semantic-release-bot bd2812beea 🔖 chore(release): v1.9.1 [skip ci]
### [Version&nbsp;1.9.1](https://github.com/lobehub/lobe-chat/compare/v1.9.0...v1.9.1)
<sup>Released on **2024-08-05**</sup>

#### 🐛 Bug Fixes

- **misc**: Azure modelTag icon display.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Azure modelTag icon display, closes [#3394](https://github.com/lobehub/lobe-chat/issues/3394) ([ee6baa8](https://github.com/lobehub/lobe-chat/commit/ee6baa8))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-08-05 12:42:40 +00:00
Zhijie He ee6baa8e15 🐛 fix: Azure modelTag icon display (#3394) 2024-08-05 20:36:29 +08:00
semantic-release-bot 6d5e7b08e7 🔖 chore(release): v1.9.0 [skip ci]
## [Version&nbsp;1.9.0](https://github.com/lobehub/lobe-chat/compare/v1.8.2...v1.9.0)
<sup>Released on **2024-08-05**</sup>

####  Features

- **misc**: Skip login page if only one provider exists.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's improved

* **misc**: Skip login page if only one provider exists, closes [#3400](https://github.com/lobehub/lobe-chat/issues/3400) ([52da1d8](https://github.com/lobehub/lobe-chat/commit/52da1d8))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-08-05 08:54:51 +00:00
cy948 52da1d8c11 feat: Skip login page if only one provider exists (#3400) 2024-08-05 16:48:49 +08:00
Arvin Xu 46e79160d2 📝 docs: update docs for database deployment (#3397) 2024-08-05 14:59:38 +08:00
semantic-release-bot 80043675ba 🔖 chore(release): v1.8.2 [skip ci]
### [Version&nbsp;1.8.2](https://github.com/lobehub/lobe-chat/compare/v1.8.1...v1.8.2)
<sup>Released on **2024-08-03**</sup>

#### 🐛 Bug Fixes

- **misc**: Add `PROXY_URL` in docker with proxychains-ng.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Add `PROXY_URL` in docker with proxychains-ng, closes [#3362](https://github.com/lobehub/lobe-chat/issues/3362) ([920de7c](https://github.com/lobehub/lobe-chat/commit/920de7c))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-08-03 11:40:25 +00:00
Zhijie He 920de7c600 🐛 fix: add PROXY_URL in docker with proxychains-ng (#3362)
* : feat: support PROXY_URL in docker with proxychains-ng

* 🔨 chore: let proxychains config more readable

* 🔨 chore: add package update

* ️ perf: add CN mirror for Alpine

* 🔨 chore: add more comments

* 🔨 chore: change USE_NPM_CN_MIRROR to USE_CN_MIRROR

* 🐛 fix: fix cn mirror for alpine during building

* 🐛 fix: fix permission issue

* 🐛 fix: fix app path error

*  feat: support proxy server with domain

* 🔨 chore: add more comments & cleanup code

* 🔨 chore: add more comments

* ️ perf: resolve only when host is domain

* 🔨 chore: move IP_REGEX to head

* 🔨 chore: replace `! -z` to `-n`

* 🔨 chore: update comments

*  feat: add `DEFAULT_AGENT_CONFIG` and `SYSTEM_AGENT` to env, allow set default model

* Add documentation for `PROXY_URL` environment variable

Add documentation for `PROXY_URL` environment variable in both English and Chinese versions of the environment variables guide.

* **English Documentation**
  - Add `PROXY_URL` section to specify the proxy URL for connecting to external services.
  - Include example values and a callout for Docker Desktop users.

* **Chinese Documentation**
  - Add `PROXY_URL` section to specify the proxy URL for connecting to external services.
  - Include example values and a callout for Docker Desktop users.

---------

Co-authored-by: Arvin Xu <arvinx@foxmail.com>
2024-08-03 19:35:09 +08:00
semantic-release-bot 324be07d64 🔖 chore(release): v1.8.1 [skip ci]
### [Version&nbsp;1.8.1](https://github.com/lobehub/lobe-chat/compare/v1.8.0...v1.8.1)
<sup>Released on **2024-08-03**</sup>

#### 💄 Styles

- **misc**: Fix `aya`, `mathstral` model tag icon & update ollama model info.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Fix `aya`, `mathstral` model tag icon & update ollama model info, closes [#3382](https://github.com/lobehub/lobe-chat/issues/3382) ([ced95a8](https://github.com/lobehub/lobe-chat/commit/ced95a8))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-08-03 08:50:45 +00:00
Zhijie He ced95a8734 💄 style: fix aya, mathstral model tag icon & update ollama model info (#3382)
* 💄 style: update ollama model info

* 🔨 chore: cleanup legacy models

* 💄 style: enable default tag model

* 💄 style: update Command R+ model info

* 💄 style: update DeepSeek display name

* 💄 style: update mode info

* 💄 style: update model tokens

* 💄 style: update model info

* 💄 style: update model info

* 💄 style: update tokens

* 💄 style: update Aya icon

* 💄 style: sort gemma2 model
2024-08-03 16:45:20 +08:00
lobehubbot 6c95475f74 📝 docs(bot): Auto sync agents & plugin to readme 2024-08-03 08:24:16 +00:00
Arvin Xu 72306f55ab 👷 build: add docker image for server database (#3387)
* 👷 build: add docker database image

* 💚 ci: add database image workflow

* fix docker build

* Update PULL_REQUEST_TEMPLATE.md

* 🎨 chore: improve migration script

* 🐛 fix: throws error in nextauth db adapter (#3390)

* 👷 chore: update action

---------

Co-authored-by: cy948 <67412196+cy948@users.noreply.github.com>
2024-08-03 16:18:52 +08:00
Henry Yee 56ffa22598 🔨 chore: support bedrock Claude 3.x function calling (#3366)
Co-authored-by: GH Action - Upstream Sync <action@github.com>
2024-08-02 23:27:56 +08:00
semantic-release-bot 65ae6dc994 🔖 chore(release): v1.8.0 [skip ci]
## [Version&nbsp;1.8.0](https://github.com/lobehub/lobe-chat/compare/v1.7.10...v1.8.0)
<sup>Released on **2024-08-02**</sup>

####  Features

- **misc**: Add NextAuth as authentication service in server database.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's improved

* **misc**: Add NextAuth as authentication service in server database, closes [#2935](https://github.com/lobehub/lobe-chat/issues/2935) ([5a0b972](https://github.com/lobehub/lobe-chat/commit/5a0b972))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-08-02 11:53:50 +00:00
cy948 5a0b972275 feat: Add NextAuth as authentication service in server database (#2935)
* ♻️ refactor: make db edge compatible

*  feat: LobeNextAuth Adapter

* 🗃️ chore: change db schema

* 🐛 fix: userid not pass to session

* 🐛 fix: nextauth enable status updater

*  test: nextauth

* ♻️ refactor: nextauth db schema

* 📝 docs: add envs to .env.example

* ♻️ refactor: split nextauth module

* 🐛 fix: login button not shown on mobile

* ♻️ refactor: use hooks instead envs

* 🐛 fix: wrong login redirect

*  feat: add error page for nextauth

* 🐛 fix: nextauth should not goto /me/profile

* 🗃️ chore: add db migrate sqls

*  test(test): Add findByEmail tests for UserModel

* ♻️ refactor: Nextauth jsdoc

*  test: enableAuth

*  test(trpc-middleware): Mock nextauth import

*  test(use-category): Nextauth should not render profile

*  test: Mock nextauth import

* ♻️ refactor: Add store selector for enableAuth

* ♻️ replace s.enableAuth with authSelector

* 💄 style: Split Context to Clerk auth and NextAuth auth

* 💄 style: Rename migration file to 0004_add_next_auth

* 🐛 fix: userid not exists

*  test: pass test for auth action

* ♻️ refactor: use static method on UserModel

*  revert: revert `src/config/auth.ts`

*  revert: `preference` in `schemas/lobechat.ts`

* ♻️ refactor: split auth to clerkAuth & nextAuth in trpc context

* ♻️ refactor: remove consts in nextauth schema

*  revert: revert db migration files

* 🗃️ refactor: rename `emailVerified` to `emailVerifiedAt`

* 🗃️ chore: generate migration files

* ♻️ refactor: move `AuthErrorPage` to `api/auth/error/`

* ♻️ refactor: move nextauth schema to
`src/database/server/schemas`

* ♻️ refactor: add type annotation to `LobeNextAuthDbAdapter`

*  test: `LobeNextAuthDbAdapter`

*  test: `updateAuthenticatorCounter`

*  test: `listAuthenticatorsByUserId`

* ♻️ refactor: remove login buttion in settings

* 🐛 fix: link to exist account by email

* 🗃️ chore: add `full_name` to user table

* 🗃️ chore: add `full_name` to user in migration file

* 🐛 fix: duplicate providerAccountId user created

* ♻️ refactor: use `providerAccountId` as user id

* 🐛 fix: wrong request when not logined and nextauth enabled
2024-08-02 19:48:17 +08:00
semantic-release-bot d8d0d67d33 🔖 chore(release): v1.7.10 [skip ci]
### [Version&nbsp;1.7.10](https://github.com/lobehub/lobe-chat/compare/v1.7.9...v1.7.10)
<sup>Released on **2024-08-02**</sup>

#### 💄 Styles

- **misc**: Add Gemini 1.5 Pro Exp model.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Add Gemini 1.5 Pro Exp model, closes [#3384](https://github.com/lobehub/lobe-chat/issues/3384) ([0de8b7b](https://github.com/lobehub/lobe-chat/commit/0de8b7b))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-08-02 08:45:19 +00:00
sxjeru 0de8b7b9cc 💄 style: Add Gemini 1.5 Pro Exp model (#3384) 2024-08-02 16:40:05 +08:00
semantic-release-bot 9535ff8eaf 🔖 chore(release): v1.7.9 [skip ci]
### [Version&nbsp;1.7.9](https://github.com/lobehub/lobe-chat/compare/v1.7.8...v1.7.9)
<sup>Released on **2024-08-01**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix Mistral models calling & update model info.

#### 💄 Styles

- **misc**: Fix stepfun & baichuan model tag icon missing, update Perplexity models.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Fix Mistral models calling & update model info, closes [#3377](https://github.com/lobehub/lobe-chat/issues/3377) [#3098](https://github.com/lobehub/lobe-chat/issues/3098) ([66274d0](https://github.com/lobehub/lobe-chat/commit/66274d0))

#### Styles

* **misc**: Fix stepfun & baichuan model tag icon missing, closes [#3379](https://github.com/lobehub/lobe-chat/issues/3379) ([e283ef4](https://github.com/lobehub/lobe-chat/commit/e283ef4))
* **misc**: Update Perplexity models, closes [#3380](https://github.com/lobehub/lobe-chat/issues/3380) ([06cb946](https://github.com/lobehub/lobe-chat/commit/06cb946))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-08-01 17:40:12 +00:00
Zhijie He 66274d0da6 🐛 fix: fix Mistral models calling & update model info (#3377)
* 💄 style: update Mistral models

* 💄 style: update tokens number

* 🐛 fix: fix Mistral model calling

* 🔨 chore: merge `noUserId` from #3098

* 💄 style: cleanup deprecated models
2024-08-02 01:35:07 +08:00
Zhijie He e283ef4f2e 💄 style: fix stepfun & baichuan model tag icon missing (#3379) 2024-08-02 01:32:42 +08:00
Zhijie He 06cb946204 💄 style: update Perplexity models (#3380)
* 💄 style: update Perplexity models

* 💄 style: update model name
2024-08-02 01:31:57 +08:00
semantic-release-bot aa5944fab8 🔖 chore(release): v1.7.8 [skip ci]
### [Version&nbsp;1.7.8](https://github.com/lobehub/lobe-chat/compare/v1.7.7...v1.7.8)
<sup>Released on **2024-07-30**</sup>

#### 💄 Styles

- **ui**: Modify and repair UI layout.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **ui**: Modify and repair UI layout, closes [#3321](https://github.com/lobehub/lobe-chat/issues/3321) ([cda776f](https://github.com/lobehub/lobe-chat/commit/cda776f))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-07-30 07:44:46 +00:00
Rubu Jam cda776fc17 💄 style(ui): Modify and repair UI layout (#3321)
* 🐛 fix(ui): Layout issue when assistant name long

* 💄 style(ui): Adjust the display style of list setting button

* 💄 style(ui): Adjust Custom Model Option layout

* 💄 style(ui): Adjust layout of selection model

* 💄 style(ui): Modify custom model configuration on mobile

* 🐛 fix(ui): Fix text of selection model cannot folded

* 💄 style(ui): Adjust layout of selection model
2024-07-30 15:39:33 +08:00
lobehubbot f45971b8bd 📝 docs(bot): Auto sync agents & plugin to readme 2024-07-30 03:46:45 +00:00
semantic-release-bot 0f1e4a677c 🔖 chore(release): v1.7.7 [skip ci]
### [Version&nbsp;1.7.7](https://github.com/lobehub/lobe-chat/compare/v1.7.6...v1.7.7)
<sup>Released on **2024-07-30**</sup>

#### 💄 Styles

- **misc**: Improve tools calling UI.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Improve tools calling UI, closes [#3326](https://github.com/lobehub/lobe-chat/issues/3326) ([36cabc0](https://github.com/lobehub/lobe-chat/commit/36cabc0))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-07-30 03:45:58 +00:00
Arvin Xu 36cabc06ed 💄 style: improve tools calling UI (#3326)
* wip improve tools calling

* refactor style

* change icon

* improve topic loading

* fix test

* improve import

* fix lint

* add tests
2024-07-30 11:40:38 +08:00
renovate[bot] ea798e57d4 Update dependency @google/generative-ai to ^0.16.0 (#3275)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-29 13:01:19 +08:00
lobehubbot 502a5c6aaa 📝 docs(bot): Auto sync agents & plugin to readme 2024-07-29 04:48:26 +00:00
semantic-release-bot 3658247c96 🔖 chore(release): v1.7.6 [skip ci]
### [Version&nbsp;1.7.6](https://github.com/lobehub/lobe-chat/compare/v1.7.5...v1.7.6)
<sup>Released on **2024-07-29**</sup>

#### 🐛 Bug Fixes

- **misc**: Disable anthropic browser request.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Disable anthropic browser request, closes [#3359](https://github.com/lobehub/lobe-chat/issues/3359) ([a519837](https://github.com/lobehub/lobe-chat/commit/a519837))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-07-29 04:47:44 +00:00
Arvin Xu a519837628 🐛 fix: disable anthropic browser request (#3359) 2024-07-29 12:42:38 +08:00
semantic-release-bot e1c2840996 🔖 chore(release): v1.7.5 [skip ci]
### [Version&nbsp;1.7.5](https://github.com/lobehub/lobe-chat/compare/v1.7.4...v1.7.5)
<sup>Released on **2024-07-29**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix `create_session ` `edit_agent` feature flags  and add more flags.

#### 💄 Styles

- **misc**: Update 360GPT model (360GPT2 Pro).

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Fix `create_session ` `edit_agent` feature flags  and add more flags, closes [#3289](https://github.com/lobehub/lobe-chat/issues/3289) ([ebfd3cf](https://github.com/lobehub/lobe-chat/commit/ebfd3cf))

#### Styles

* **misc**: Update 360GPT model (360GPT2 Pro), closes [#3339](https://github.com/lobehub/lobe-chat/issues/3339) ([c8ed85e](https://github.com/lobehub/lobe-chat/commit/c8ed85e))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-07-29 04:14:08 +00:00
Zhijie He c8ed85e5a8 💄 style: update 360GPT model (360GPT2 Pro) (#3339)
* 💄 style: update 360GPT model (360GPT2 Pro)

* 💄 style: add more 360GPT models

* 💄 style: disable 360gpt-pro as default
2024-07-29 12:08:58 +08:00
Mingholy ebfd3cf575 🐛 fix: fix create_session edit_agent feature flags and add more flags (#3289)
* feat: add ff create_session and welcome messages

* fix: add feature flags

* test: add test code

* test: add TopActions test

* fix: add button control in Welcome actions

* fix: add missing filter to MobileTabBar items
2024-07-29 12:04:42 +08:00
lobehubbot 3eeaa520f9 📝 docs(bot): Auto sync agents & plugin to readme 2024-07-29 03:50:43 +00:00
semantic-release-bot 75efe627e9 🔖 chore(release): v1.7.4 [skip ci]
### [Version&nbsp;1.7.4](https://github.com/lobehub/lobe-chat/compare/v1.7.3...v1.7.4)
<sup>Released on **2024-07-29**</sup>

#### 🐛 Bug Fixes

- **misc**: Improve remote model list fetching for Novita AI.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Improve remote model list fetching for Novita AI, closes [#3311](https://github.com/lobehub/lobe-chat/issues/3311) ([67b9ff0](https://github.com/lobehub/lobe-chat/commit/67b9ff0))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-07-29 03:50:01 +00:00
Jason 67b9ff0d75 🐛 fix: improve remote model list fetching for Novita AI (#3311) 2024-07-29 11:44:54 +08:00
semantic-release-bot 379bc8dc21 🔖 chore(release): v1.7.3 [skip ci]
### [Version&nbsp;1.7.3](https://github.com/lobehub/lobe-chat/compare/v1.7.2...v1.7.3)
<sup>Released on **2024-07-28**</sup>

#### 🐛 Bug Fixes

- **misc**: Update minimax models.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Update minimax models, closes [#3354](https://github.com/lobehub/lobe-chat/issues/3354) ([8113729](https://github.com/lobehub/lobe-chat/commit/8113729))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-07-28 09:52:22 +00:00
renovate[bot] 891930be87 Update pnpm to v9.6.0 (#3345)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-28 17:47:17 +08:00
sxjeru 8113729461 🐛 fix: Update minimax models (#3354) 2024-07-28 17:46:11 +08:00
Arvin Xu afce281294 🎨 chore: handle payload support options (#3331) 2024-07-27 00:26:38 +08:00
semantic-release-bot 9b4c39c44d 🔖 chore(release): v1.7.2 [skip ci]
### [Version&nbsp;1.7.2](https://github.com/lobehub/lobe-chat/compare/v1.7.1...v1.7.2)
<sup>Released on **2024-07-26**</sup>

#### 🐛 Bug Fixes

- **misc**: Avoid baseURL being an empty string, resulting in incorrect client fetch.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Avoid baseURL being an empty string, resulting in incorrect client fetch, closes [#3308](https://github.com/lobehub/lobe-chat/issues/3308) ([15a9bc1](https://github.com/lobehub/lobe-chat/commit/15a9bc1))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-07-26 11:28:42 +00:00
mosade 15a9bc15c9 🐛 fix: Avoid baseURL being an empty string, resulting in incorrect client fetch (#3308) 2024-07-26 19:23:40 +08:00
semantic-release-bot 4327799b91 🔖 chore(release): v1.7.1 [skip ci]
### [Version&nbsp;1.7.1](https://github.com/lobehub/lobe-chat/compare/v1.7.0...v1.7.1)
<sup>Released on **2024-07-26**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix dalle tools calling prompts to avoid content risk.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Fix dalle tools calling prompts to avoid content risk, closes [#3325](https://github.com/lobehub/lobe-chat/issues/3325) ([3e21240](https://github.com/lobehub/lobe-chat/commit/3e21240))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-07-26 10:07:20 +00:00
Arvin Xu 3e21240ff0 🐛 fix: fix dalle tools calling prompts to avoid content risk (#3325)
* fix tool calling of dalle

* fix snapshot
2024-07-26 18:01:59 +08:00
semantic-release-bot d8fd992d3a 🔖 chore(release): v1.7.0 [skip ci]
## [Version&nbsp;1.7.0](https://github.com/lobehub/lobe-chat/compare/v1.6.15...v1.7.0)
<sup>Released on **2024-07-26**</sup>

####  Features

- **misc**: Enabled function calling on Deepseek models.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's improved

* **misc**: Enabled function calling on Deepseek models, closes [#3312](https://github.com/lobehub/lobe-chat/issues/3312) ([35f31cb](https://github.com/lobehub/lobe-chat/commit/35f31cb))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-07-26 07:35:27 +00:00
Zach Zimmermann 35f31cb3c5 feat: Enabled function calling on Deepseek models (#3312) 2024-07-26 15:30:00 +08:00
semantic-release-bot e7629b9e7f 🔖 chore(release): v1.6.15 [skip ci]
### [Version&nbsp;1.6.15](https://github.com/lobehub/lobe-chat/compare/v1.6.14...v1.6.15)
<sup>Released on **2024-07-26**</sup>

#### 💄 Styles

- **misc**: Fix file upload height.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Fix file upload height, closes [#3319](https://github.com/lobehub/lobe-chat/issues/3319) ([8343f35](https://github.com/lobehub/lobe-chat/commit/8343f35))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-07-26 06:12:08 +00:00
Arvin Xu 8343f350d4 💄 style: fix file upload height (#3319) 2024-07-26 14:07:05 +08:00
lobehubbot 0997685644 📝 docs(bot): Auto sync agents & plugin to readme 2024-07-26 02:44:46 +00:00
semantic-release-bot 6ee03da931 🔖 chore(release): v1.6.14 [skip ci]
### [Version&nbsp;1.6.14](https://github.com/lobehub/lobe-chat/compare/v1.6.13...v1.6.14)
<sup>Released on **2024-07-26**</sup>

#### 💄 Styles

- **misc**: Improve input file upload.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Improve input file upload, closes [#3314](https://github.com/lobehub/lobe-chat/issues/3314) ([de85553](https://github.com/lobehub/lobe-chat/commit/de85553))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-07-26 02:44:04 +00:00
Arvin Xu de85553e76 💄 style: improve input file upload (#3314)
* 💄 style: improve input height

* 💄 style: improve input height

* fix drag
2024-07-26 10:38:58 +08:00
semantic-release-bot 1b86e012f1 🔖 chore(release): v1.6.13 [skip ci]
### [Version&nbsp;1.6.13](https://github.com/lobehub/lobe-chat/compare/v1.6.12...v1.6.13)
<sup>Released on **2024-07-25**</sup>

#### 💄 Styles

- **misc**: Updated Groq model list to include llama-3.1 and llama3-Groq.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Updated Groq model list to include llama-3.1 and llama3-Groq, closes [#3313](https://github.com/lobehub/lobe-chat/issues/3313) ([a9cfad6](https://github.com/lobehub/lobe-chat/commit/a9cfad6))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-07-25 17:46:11 +00:00
Zach Zimmermann a9cfad6db8 💄 style: Updated Groq model list to include llama-3.1 and llama3-Groq (#3313)
* Updated Groq model list with llama 3.1 models and Groq versions of llama 3

* Update names to match convention
2024-07-26 01:40:51 +08:00
semantic-release-bot 27e27cc8d1 🔖 chore(release): v1.6.12 [skip ci]
### [Version&nbsp;1.6.12](https://github.com/lobehub/lobe-chat/compare/v1.6.11...v1.6.12)
<sup>Released on **2024-07-25**</sup>

#### 💄 Styles

- **misc**: Add new models to groq which are llama 3.1.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Add new models to groq which are llama 3.1, closes [#3301](https://github.com/lobehub/lobe-chat/issues/3301) ([ec20fd0](https://github.com/lobehub/lobe-chat/commit/ec20fd0))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-07-25 16:13:01 +00:00
Star_dusted ec20fd0c10 💄 style: add new models to groq which are llama 3.1 (#3301)
* feat: Add new models for groq

* fix: modify the id of model

* chore: Update chatModels in Groq model providers, which is LLaMA3.1
2024-07-26 00:07:43 +08:00
Zach Zimmermann 5f4491abd4 🔨 chore: Updated start script to use port 3210 to match docker (#3297) 2024-07-24 10:37:19 +08:00
semantic-release-bot ee420d33c8 🔖 chore(release): v1.6.11 [skip ci]
### [Version&nbsp;1.6.11](https://github.com/lobehub/lobe-chat/compare/v1.6.10...v1.6.11)
<sup>Released on **2024-07-24**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix `UNAUTHORIZED` issue with clerk auth provider.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Fix `UNAUTHORIZED` issue with clerk auth provider, closes [#3299](https://github.com/lobehub/lobe-chat/issues/3299) ([97bea09](https://github.com/lobehub/lobe-chat/commit/97bea09))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-07-24 02:36:31 +00:00
Arvin Xu 97bea095c1 🐛 fix: fix UNAUTHORIZED issue with clerk auth provider (#3299) 2024-07-24 10:31:21 +08:00
semantic-release-bot 582ce8741d 🔖 chore(release): v1.6.10 [skip ci]
### [Version&nbsp;1.6.10](https://github.com/lobehub/lobe-chat/compare/v1.6.9...v1.6.10)
<sup>Released on **2024-07-23**</sup>

#### ♻ Code Refactoring

- **misc**: Upgrade snapshot version.

#### 💄 Styles

- **misc**: Fix the scrolling of the return result area of function calling.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Code refactoring

* **misc**: Upgrade snapshot version, closes [#3296](https://github.com/lobehub/lobe-chat/issues/3296) ([2c14fef](https://github.com/lobehub/lobe-chat/commit/2c14fef))

#### Styles

* **misc**: Fix the scrolling of the return result area of function calling, closes [#3295](https://github.com/lobehub/lobe-chat/issues/3295) ([9c8f469](https://github.com/lobehub/lobe-chat/commit/9c8f469))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-07-23 15:39:54 +00:00
HansKing98 9c8f469438 💄 style: fix the scrolling of the return result area of function calling (#3295) 2024-07-23 23:34:35 +08:00
Arvin Xu 2c14fefd87 ♻️ refactor: upgrade snapshot version (#3296) 2024-07-23 23:34:05 +08:00
lobehubbot cfca015f9b 📝 docs(bot): Auto sync agents & plugin to readme 2024-07-23 14:26:27 +00:00
semantic-release-bot b62d5e933e 🔖 chore(release): v1.6.9 [skip ci]
### [Version&nbsp;1.6.9](https://github.com/lobehub/lobe-chat/compare/v1.6.8...v1.6.9)
<sup>Released on **2024-07-23**</sup>

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-07-23 14:25:43 +00:00
Zhijie He c8113a465d ️ perf: change base image to apline, decrease docker image size (#3063)
* 🔨 build(docker): change base image to apline, decrease image size

* 🔨 chore: decrease layer, reduce image size

* 🔨 chore: rebase build workflow

* 🔨 chore: further reduce the number of layers to 7 layers

* 🔨 chore: further reduce the number of layers to 6 layers

a. 4 layers from node:20-alpine
b. 1 layer from add nextjs user
c. 1 layer from copy lobechat files

* 🐛 fix: install pnpm with npm, fixed corepack not using mirror

* 🐛 fix: fixed corepack not using CN mirror issue

* 🔨 chore: update model env

* 🔨 chore: merge pnpm and sharp to builder stage

* 🐛 fix: fixed typo and build warning

* 🐛 fix: fixed typo

* 🔨 chore: rollback

* 🔨 chore: merge pnpm and sharp to builder stage

* 🐛 fix: fixed build warning

* 🔨 chore: cleanup

* 🔨 chore: set SENTRYCLI_CDNURL mirror

* 🔨 chore: add build docker scripts
2024-07-23 22:20:22 +08:00
semantic-release-bot dac2735f58 🔖 chore(release): v1.6.8 [skip ci]
### [Version&nbsp;1.6.8](https://github.com/lobehub/lobe-chat/compare/v1.6.7...v1.6.8)
<sup>Released on **2024-07-23**</sup>

#### ♻ Code Refactoring

- **misc**: Move server modules.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Code refactoring

* **misc**: Move server modules, closes [#3291](https://github.com/lobehub/lobe-chat/issues/3291) ([c7c9f39](https://github.com/lobehub/lobe-chat/commit/c7c9f39))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-07-23 04:54:38 +00:00
Arvin Xu c7c9f39e88 ♻️ refactor: move server modules (#3291) 2024-07-23 12:49:28 +08:00
lobehubbot 39525528bd 📝 docs(bot): Auto sync agents & plugin to readme 2024-07-23 02:16:06 +00:00
semantic-release-bot c0e78049cb 🔖 chore(release): v1.6.7 [skip ci]
### [Version&nbsp;1.6.7](https://github.com/lobehub/lobe-chat/compare/v1.6.6...v1.6.7)
<sup>Released on **2024-07-23**</sup>

#### 💄 Styles

- **misc**: Add new model provider Novita AI.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Add new model provider Novita AI, closes [#3177](https://github.com/lobehub/lobe-chat/issues/3177) ([08b063f](https://github.com/lobehub/lobe-chat/commit/08b063f))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-07-23 02:15:23 +00:00
Jason 08b063fd77 💄 style: Add new model provider Novita AI (#3177) 2024-07-23 10:09:53 +08:00
semantic-release-bot a042dd26f3 🔖 chore(release): v1.6.6 [skip ci]
### [Version&nbsp;1.6.6](https://github.com/lobehub/lobe-chat/compare/v1.6.5...v1.6.6)
<sup>Released on **2024-07-22**</sup>

#### ♻ Code Refactoring

- **model**: Clear and add models.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Code refactoring

* **model**: Clear and add models, closes [#3208](https://github.com/lobehub/lobe-chat/issues/3208) ([ef54191](https://github.com/lobehub/lobe-chat/commit/ef54191))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-07-22 06:23:53 +00:00
Rubu Jam ef54191d96 ♻️ refactor(model): clear and add models (#3208) 2024-07-22 14:18:29 +08:00
Arvin Xu 5aec15a7f4 📝 docs: update auth0.zh-CN.mdx (#3288)
* Update 1_bug_report.yml

* Update 1_bug_report.yml

* Update 1_bug_report.yml

* Update 1_bug_report_cn.yml

* Update 1_bug_report_cn.yml

* Update `docs/self-hosting/advanced/sso-providers/auth0.zh-CN.mdx`

* Update auth0.zh-CN.mdx
2024-07-22 12:57:43 +08:00
CanisMinor a17b97eebd 📝 docs: Add more usage docs (#3286) 2024-07-22 12:14:46 +08:00
semantic-release-bot 2a812365bf 🔖 chore(release): v1.6.5 [skip ci]
### [Version&nbsp;1.6.5](https://github.com/lobehub/lobe-chat/compare/v1.6.4...v1.6.5)
<sup>Released on **2024-07-22**</sup>

#### 🐛 Bug Fixes

- **misc**: Content lost unexpectedly on Qwen provider when `finish_reason` is `stop`.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Content lost unexpectedly on Qwen provider when `finish_reason` is `stop`, closes [#3252](https://github.com/lobehub/lobe-chat/issues/3252) ([d35c5b0](https://github.com/lobehub/lobe-chat/commit/d35c5b0))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-07-22 02:47:04 +00:00
Minghao Li d35c5b0eea 🐛 fix: content lost unexpectedly on Qwen provider when finish_reason is stop (#3252)
* fix: unexpected content lost while `finish_reason` is `stop`

* test: better stream reading code
2024-07-22 10:41:47 +08:00
renovate[bot] e5a782bb38 Update dependency drizzle-kit to ^0.23.0 (#3212)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-22 10:34:00 +08:00
renovate[bot] 38a923fbbf Update dependency drizzle-orm to ^0.32.0 (#3213)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-22 10:33:35 +08:00
semantic-release-bot dbffba420e 🔖 chore(release): v1.6.4 [skip ci]
### [Version&nbsp;1.6.4](https://github.com/lobehub/lobe-chat/compare/v1.6.3...v1.6.4)
<sup>Released on **2024-07-21**</sup>

#### ♻ Code Refactoring

- **misc**: Add trpc query client with react-query.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Code refactoring

* **misc**: Add trpc query client with react-query, closes [#3282](https://github.com/lobehub/lobe-chat/issues/3282) ([013ee54](https://github.com/lobehub/lobe-chat/commit/013ee54))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-07-21 12:01:30 +00:00
Arvin Xu 013ee54480 ♻️ refactor: add trpc query client with react-query (#3282)
* ♻️ refactor: refactor the trpc client with react query mode

* ♻️ refactor: refactor the trpc client with react query mode
2024-07-21 19:56:16 +08:00
semantic-release-bot 0f4bbdcef5 🔖 chore(release): v1.6.3 [skip ci]
### [Version&nbsp;1.6.3](https://github.com/lobehub/lobe-chat/compare/v1.6.2...v1.6.3)
<sup>Released on **2024-07-21**</sup>

#### 💄 Styles

- **misc**: Update Zhipu models (GLM-4-AllTools & CodeGeeX-4).

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Update Zhipu models (GLM-4-AllTools & CodeGeeX-4), closes [#3255](https://github.com/lobehub/lobe-chat/issues/3255) ([a92939f](https://github.com/lobehub/lobe-chat/commit/a92939f))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-07-21 11:46:33 +00:00
Zhijie He a92939f282 💄 style: update Zhipu models (GLM-4-AllTools & CodeGeeX-4) (#3255)
* 💄 style: update Zhipu models (GLM & CodeGeeX)

* 💄 style: update CodeGeeX icon
2024-07-21 19:41:33 +08:00
HansKing98 5684f23884 💄 style: add yi-large-fc model (#3261)
fix: add yi-large-fc 

Reference Link:
https://platform.lingyiwanwu.com/docs#%E6%A8%A1%E5%9E%8B%E4%B8%8E%E8%AE%A1%E8%B4%B9
2024-07-21 19:39:34 +08:00
pagal 34c68202e2 📝 docs : update docker.mdx (#3273) 2024-07-21 19:34:26 +08:00
lobehubbot 58caa3209b 📝 docs(bot): Auto sync agents & plugin to readme 2024-07-21 04:49:43 +00:00
semantic-release-bot 675a5d11d2 🔖 chore(release): v1.6.2 [skip ci]
### [Version&nbsp;1.6.2](https://github.com/lobehub/lobe-chat/compare/v1.6.1...v1.6.2)
<sup>Released on **2024-07-21**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix dayjs render on server.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Fix dayjs render on server, closes [#3278](https://github.com/lobehub/lobe-chat/issues/3278) ([8c08dd5](https://github.com/lobehub/lobe-chat/commit/8c08dd5))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-07-21 04:49:00 +00:00
Arvin Xu 8c08dd5756 🐛 fix: fix dayjs render on server (#3278) 2024-07-21 12:43:55 +08:00
semantic-release-bot 7506b70599 🔖 chore(release): v1.6.1 [skip ci]
### [Version&nbsp;1.6.1](https://github.com/lobehub/lobe-chat/compare/v1.6.0...v1.6.1)
<sup>Released on **2024-07-19**</sup>

#### ♻ Code Refactoring

- **misc**: Refactor the DragUpload.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Code refactoring

* **misc**: Refactor the DragUpload, closes [#3263](https://github.com/lobehub/lobe-chat/issues/3263) ([19186eb](https://github.com/lobehub/lobe-chat/commit/19186eb))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-07-19 16:04:09 +00:00
Arvin Xu 19186ebf80 ♻️ refactor: refactor the DragUpload (#3263)
* 🐛 fix: fix dayjs locale

* ♻️ refactor: refactor the DragUpload component

* 🌐 chore: update the locale
2024-07-19 23:58:52 +08:00
semantic-release-bot 7eb192e529 🔖 chore(release): v1.6.0 [skip ci]
## [Version&nbsp;1.6.0](https://github.com/lobehub/lobe-chat/compare/v1.5.5...v1.6.0)
<sup>Released on **2024-07-19**</sup>

####  Features

- **misc**: Add `gpt-4o-mini` in OpenAI Provider and set it as the default model.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's improved

* **misc**: Add `gpt-4o-mini` in OpenAI Provider and set it as the default model, closes [#3256](https://github.com/lobehub/lobe-chat/issues/3256) ([a84d807](https://github.com/lobehub/lobe-chat/commit/a84d807))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-07-19 13:14:06 +00:00
Linghui Gong a84d8073e3 feat: add gpt-4o-mini in OpenAI Provider and set it as the default model (#3256)
*  feat: gpt-4o-mini to openai provider

* ♻️ refactor: move gpt-4o-mini as default model

*  test: fix test

* 🐛 fix: set gpt-4o-mini as default model

* chore: improve code

* chore: improve code

---------

Co-authored-by: arvinxx <arvinx@foxmail.com>
2024-07-19 21:09:02 +08:00
lobehubbot 52d2b9d3f0 📝 docs(bot): Auto sync agents & plugin to readme 2024-07-19 07:38:45 +00:00
semantic-release-bot 928f15543c 🔖 chore(release): v1.5.5 [skip ci]
### [Version&nbsp;1.5.5](https://github.com/lobehub/lobe-chat/compare/v1.5.4...v1.5.5)
<sup>Released on **2024-07-19**</sup>

#### 💄 Styles

- **misc**: Added Gemma2 instead of outdated Gemma.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Added Gemma2 instead of outdated Gemma, closes [#3231](https://github.com/lobehub/lobe-chat/issues/3231) ([03173b7](https://github.com/lobehub/lobe-chat/commit/03173b7))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-07-19 07:38:04 +00:00
Maple Gao 03173b793b 💄 style: Added Gemma2 instead of outdated Gemma (#3231)
* 💄 config (Ollama): Added Gemma2 instead of outdated Gemma

* 💄 config (Ollama): Retaining old Gemma
2024-07-19 15:33:05 +08:00
semantic-release-bot 4531e24293 🔖 chore(release): v1.5.4 [skip ci]
### [Version&nbsp;1.5.4](https://github.com/lobehub/lobe-chat/compare/v1.5.3...v1.5.4)
<sup>Released on **2024-07-17**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix delete session group.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Fix delete session group, closes [#3245](https://github.com/lobehub/lobe-chat/issues/3245) ([8f7167d](https://github.com/lobehub/lobe-chat/commit/8f7167d))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-07-17 17:24:36 +00:00
Arvin Xu 8f7167dd1d 🐛 fix: fix delete session group (#3245)
* 🐛 fix: fix delete session group

* 🎨 chore: improve code
2024-07-18 01:19:25 +08:00
lobehubbot f9e1b31972 📝 docs(bot): Auto sync agents & plugin to readme 2024-07-17 12:26:18 +00:00
semantic-release-bot 4ca465677b 🔖 chore(release): v1.5.3 [skip ci]
### [Version&nbsp;1.5.3](https://github.com/lobehub/lobe-chat/compare/v1.5.2...v1.5.3)
<sup>Released on **2024-07-17**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix `OpenAI` deployment restrictions, fix cant duplicate assistant.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Fix `OpenAI` deployment restrictions, closes [#3206](https://github.com/lobehub/lobe-chat/issues/3206) ([3d7a35d](https://github.com/lobehub/lobe-chat/commit/3d7a35d))
* **misc**: Fix cant duplicate assistant, closes [#3242](https://github.com/lobehub/lobe-chat/issues/3242) ([0edc851](https://github.com/lobehub/lobe-chat/commit/0edc851))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-07-17 12:25:24 +00:00
Arvin Xu 0edc8513b9 🐛 fix: fix cant duplicate assistant (#3242) 2024-07-17 20:20:05 +08:00
Rubu Jam 3d7a35d378 🐛 fix: fix OpenAI deployment restrictions (#3206)
*  perf(route): Optimize `OpenAI` deployment restrictions

* 🐛 fix(route): incorrect use of `hkg1`

* 🐛 fix(route): Incorrect use of `hkg1`
2024-07-17 20:17:05 +08:00
semantic-release-bot b63209e1ef 🔖 chore(release): v1.5.2 [skip ci]
### [Version&nbsp;1.5.2](https://github.com/lobehub/lobe-chat/compare/v1.5.1...v1.5.2)
<sup>Released on **2024-07-17**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix session not reorder after send message.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Fix session not reorder after send message, closes [#3239](https://github.com/lobehub/lobe-chat/issues/3239) ([7245a08](https://github.com/lobehub/lobe-chat/commit/7245a08))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-07-17 10:09:08 +00:00
Arvin Xu 7245a08d21 🐛 fix: fix session not reorder after send message (#3239)
* 🐛 fix: fix session not reorder after send message

* fix test
2024-07-17 18:04:02 +08:00
semantic-release-bot 6d19fb2979 🔖 chore(release): v1.5.1 [skip ci]
### [Version&nbsp;1.5.1](https://github.com/lobehub/lobe-chat/compare/v1.5.0...v1.5.1)
<sup>Released on **2024-07-17**</sup>

#### 💄 Styles

- **misc**: Improve brand url.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Improve brand url, closes [#3238](https://github.com/lobehub/lobe-chat/issues/3238) ([eef066f](https://github.com/lobehub/lobe-chat/commit/eef066f))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-07-17 08:12:48 +00:00
Arvin Xu eef066f32a 💄 style: improve brand url (#3238)
* 💄 style: improve url

* 💄 style: improve url
2024-07-17 16:07:35 +08:00
lobehubbot a1259205f5 📝 docs(bot): Auto sync agents & plugin to readme 2024-07-17 05:46:14 +00:00
semantic-release-bot 8a53acfe2d 🔖 chore(release): v1.5.0 [skip ci]
## [Version&nbsp;1.5.0](https://github.com/lobehub/lobe-chat/compare/v1.4.3...v1.5.0)
<sup>Released on **2024-07-17**</sup>

####  Features

- **misc**: Spport qwen-vl and tool call for qwen.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's improved

* **misc**: Spport qwen-vl and tool call for qwen, closes [#3114](https://github.com/lobehub/lobe-chat/issues/3114) ([5216a85](https://github.com/lobehub/lobe-chat/commit/5216a85))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-07-17 05:45:26 +00:00
Minghao Li 5216a8555c feat: spport qwen-vl and tool call for qwen (#3114)
* feat: spport qwen-vl and tool call for qwen

* fix: make transformResponseToStream a util for testability

* test: append unit test for non-streaming response

* test: update unit-test against LobeQwenAI models
2024-07-17 13:21:33 +08:00
Hélio 091898bae1 🔨 chore: Add packageManager pnpm@9 to fix netlify deploy (#3232)
* Add packageManager no pnpm@9 as netlify asks

Based on https://docs.netlify.com/configure-builds/manage-dependencies/#pnpm and https://docs.netlify.com/frameworks/next-js/runtime-v4/overview/#pnpm-support and https://docs.netlify.com/configure-builds/available-software-at-build-time/#tools netlify needs to know that we want to use pnpm instead of npm which gives tons of errors and fail build.

* Update package.json

* Update package.json
2024-07-17 11:41:35 +08:00
Rubu Jam 1dd4f53cf4 test: deps.inline uses server.deps.inline instead (#3220) 2024-07-15 13:47:22 +08:00
semantic-release-bot dd839ca5ec 🔖 chore(release): v1.4.3 [skip ci]
### [Version&nbsp;1.4.3](https://github.com/lobehub/lobe-chat/compare/v1.4.2...v1.4.3)
<sup>Released on **2024-07-15**</sup>

#### 🐛 Bug Fixes

- **misc**: Save assistant info on blur.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Save assistant info on blur, closes [#3223](https://github.com/lobehub/lobe-chat/issues/3223) ([0987a42](https://github.com/lobehub/lobe-chat/commit/0987a42))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-07-15 04:22:08 +00:00
Minh-Phuc Tran 0987a42641 🐛 fix: save assistant info on blur (#3223) 2024-07-15 12:16:57 +08:00
lobehubbot ea547c9dbd 📝 docs(bot): Auto sync agents & plugin to readme 2024-07-14 04:01:36 +00:00
renovate[bot] b808bffd1b Update dependency @edge-runtime/vm to v4 (#3214) 2024-07-14 11:56:26 +08:00
Arvin Xu 0e4ed20523 📝 docs: update docs (#3209) 2024-07-13 18:47:40 +08:00
semantic-release-bot 4756e5e407 🔖 chore(release): v1.4.2 [skip ci]
### [Version&nbsp;1.4.2](https://github.com/lobehub/lobe-chat/compare/v1.4.1...v1.4.2)
<sup>Released on **2024-07-13**</sup>

#### ♻ Code Refactoring

- **misc**: Remove code related to `gemini-pro-vision`.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Code refactoring

* **misc**: Remove code related to `gemini-pro-vision`, closes [#2860](https://github.com/lobehub/lobe-chat/issues/2860) ([e2ba302](https://github.com/lobehub/lobe-chat/commit/e2ba302))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-07-13 07:50:27 +00:00
Rubu Jam e2ba302c6c ♻️ refactor: Remove code related to gemini-pro-vision (#2860) 2024-07-13 15:45:24 +08:00
semantic-release-bot 471721a1c4 🔖 chore(release): v1.4.1 [skip ci]
### [Version&nbsp;1.4.1](https://github.com/lobehub/lobe-chat/compare/v1.4.0...v1.4.1)
<sup>Released on **2024-07-13**</sup>

#### 💄 Styles

- **ui**: Confirmation when `adding a new topic`.
- **misc**: Add cloud promotion banner.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **ui**: Confirmation when `adding a new topic`, closes [#3030](https://github.com/lobehub/lobe-chat/issues/3030) ([dc38cd4](https://github.com/lobehub/lobe-chat/commit/dc38cd4))
* **misc**: Add cloud promotion banner, closes [#3194](https://github.com/lobehub/lobe-chat/issues/3194) ([62db0f8](https://github.com/lobehub/lobe-chat/commit/62db0f8))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-07-13 06:44:34 +00:00
CanisMinor 62db0f8047 💄 style: Add cloud promotion banner (#3194)
* 💄 style: Add public test modal

* 💄 style: Update style

* 🔧 chore: Clean

* 💄 style: Update button style

* Update guide.ts

* 🔧 chore: feature flag

* 💄 style: improve height

*  test: fix test

---------

Co-authored-by: Arvin Xu <arvinx@foxmail.com>
2024-07-13 14:39:11 +08:00
Rubu Jam dc38cd40b1 💄 style(ui): Confirmation when adding a new topic (#3030)
* 💄 style(ui): Confirm before opening a new topic

* 💄 style(ui): Always display `MoreVertical` on mobile

* 💄 style(ui): Adjust style of some components

* 💄 style(ui): Adjust the popment of `Popconfirm`

* 💄 style(ui): Adjust the popment of `Popconfirm`
2024-07-13 14:38:55 +08:00
semantic-release-bot 3463b30309 🔖 chore(release): v1.4.0 [skip ci]
## [Version&nbsp;1.4.0](https://github.com/lobehub/lobe-chat/compare/v1.3.6...v1.4.0)
<sup>Released on **2024-07-12**</sup>

####  Features

- **misc**: Add 360AI model provider.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's improved

* **misc**: Add 360AI model provider, closes [#3130](https://github.com/lobehub/lobe-chat/issues/3130) ([79c5f86](https://github.com/lobehub/lobe-chat/commit/79c5f86))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-07-12 12:27:49 +00:00
Zhijie He 79c5f86804 feat: Add 360AI model provider (#3130)
*  feat: Add Zhinao model provider

* 🔨 chore: update Zhinao models info

* 🔨 chore: update Zhinao models tokens info

* 💄 style: fix model tag icon missing

* 💄 style: update Ai360 icon

* 💄 style: fix typo in ProviderAvatar

* 🔨 chore: cleanup

* 🔨 chore: rename Zhinao to Ai360 (360 智脑)

* 🔨 chore: remove blank space
2024-07-12 20:22:29 +08:00
Rubu Jam f699021430 🔨 chore: fix netlify deploy error (#3201) 2024-07-12 11:43:01 +08:00
lobehubbot c9eef7291b 📝 docs(bot): Auto sync agents & plugin to readme 2024-07-11 14:37:57 +00:00
semantic-release-bot 3b94540514 🔖 chore(release): v1.3.6 [skip ci]
### [Version&nbsp;1.3.6](https://github.com/lobehub/lobe-chat/compare/v1.3.5...v1.3.6)
<sup>Released on **2024-07-11**</sup>

#### ♻ Code Refactoring

- **misc**: Improve agent runtime code.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Code refactoring

* **misc**: Improve agent runtime code, closes [#3199](https://github.com/lobehub/lobe-chat/issues/3199) ([9f211e2](https://github.com/lobehub/lobe-chat/commit/9f211e2))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-07-11 14:37:13 +00:00
Arvin Xu 9f211e26be ♻️ refactor: improve agent runtime code (#3199)
* ♻️ refactor: improve agent runtime code

* ♻️ refactor: clean code
2024-07-11 22:32:02 +08:00
semantic-release-bot 5e8780d311 🔖 chore(release): v1.3.5 [skip ci]
### [Version&nbsp;1.3.5](https://github.com/lobehub/lobe-chat/compare/v1.3.4...v1.3.5)
<sup>Released on **2024-07-10**</sup>

#### 🐛 Bug Fixes

- **misc**: Fix assistant meta change race issue.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Fix assistant meta change race issue, closes [#3184](https://github.com/lobehub/lobe-chat/issues/3184) ([6335be4](https://github.com/lobehub/lobe-chat/commit/6335be4))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-07-10 02:10:40 +00:00
Arvin Xu 6335be41c6 🐛 fix: fix assistant meta change race issue (#3184) 2024-07-10 10:05:16 +08:00
semantic-release-bot 6e6ad3ecc1 🔖 chore(release): v1.3.4 [skip ci]
### [Version&nbsp;1.3.4](https://github.com/lobehub/lobe-chat/compare/v1.3.3...v1.3.4)
<sup>Released on **2024-07-09**</sup>

#### ♻ Code Refactoring

- **misc**: Support disable clientFetch by default.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Code refactoring

* **misc**: Support disable clientFetch by default, closes [#3133](https://github.com/lobehub/lobe-chat/issues/3133) [#3108](https://github.com/lobehub/lobe-chat/issues/3108) ([4415652](https://github.com/lobehub/lobe-chat/commit/4415652))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-07-09 14:12:24 +00:00
cy948 441565269a ♻️ refactor: Support disable clientFetch by default (#3133)
* ♻️ refactor: Support disable clientFetch by modelConfig (#3108)

*  test: - clientfetch for qwen

* ♻️ refactor: Remove `defaultShowBrowserRequest` in qwen modelConfig
2024-07-09 22:07:11 +08:00
semantic-release-bot 968e1f244b 🔖 chore(release): v1.3.3 [skip ci]
### [Version&nbsp;1.3.3](https://github.com/lobehub/lobe-chat/compare/v1.3.2...v1.3.3)
<sup>Released on **2024-07-09**</sup>

#### 🐛 Bug Fixes

- **misc**: Allow user to use their own WebRTC signaling.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Allow user to use their own WebRTC signaling, closes [#3182](https://github.com/lobehub/lobe-chat/issues/3182) ([c7f8f38](https://github.com/lobehub/lobe-chat/commit/c7f8f38))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-07-09 12:42:17 +00:00
Arvin Xu c7f8f3851c 🐛 fix: allow user to use their own WebRTC signaling (#3182)
* 🐛 fix: allow user to use their own WebRTC signaling

* 📝 docs: add webrtc docs

* 📝 docs: add webrtc docs

* 📝 docs: add webrtc docs

* 📝 docs: update webrtc docs

* 📝 docs: update webrtc docs

* 📝 docs: update webrtc docs

* 📝 docs: update webrtc docs

* Update url.ts
2024-07-09 20:36:49 +08:00
semantic-release-bot 85ed192fae 🔖 chore(release): v1.3.2 [skip ci]
### [Version&nbsp;1.3.2](https://github.com/lobehub/lobe-chat/compare/v1.3.1...v1.3.2)
<sup>Released on **2024-07-09**</sup>

#### 🐛 Bug Fixes

- **misc**: Automatic refresh when change language.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Automatic refresh when change language, closes [#3181](https://github.com/lobehub/lobe-chat/issues/3181) ([b597c5a](https://github.com/lobehub/lobe-chat/commit/b597c5a))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-07-09 12:16:06 +00:00
Rubu Jam b597c5ac6b 🐛 fix: Automatic refresh when change language (#3181)
* 🐛 fix: Automatic refresh when change language

* 🐛 fix: Automatic refresh when change language
2024-07-09 20:10:57 +08:00
semantic-release-bot 7583631802 🔖 chore(release): v1.3.1 [skip ci]
### [Version&nbsp;1.3.1](https://github.com/lobehub/lobe-chat/compare/v1.3.0...v1.3.1)
<sup>Released on **2024-07-09**</sup>

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-07-09 09:15:51 +00:00
Rubu Jam 1f059590b8 perf: Update gemini deployment restrictions (#3167) 2024-07-09 17:10:34 +08:00
semantic-release-bot a5be879bbf 🔖 chore(release): v1.3.0 [skip ci]
## [Version&nbsp;1.3.0](https://github.com/lobehub/lobe-chat/compare/v1.2.14...v1.3.0)
<sup>Released on **2024-07-09**</sup>

####  Features

- **misc**: Add Taichu model provider.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's improved

* **misc**: Add Taichu model provider, closes [#3129](https://github.com/lobehub/lobe-chat/issues/3129) ([a4580e9](https://github.com/lobehub/lobe-chat/commit/a4580e9))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-07-09 08:45:48 +00:00
Zhijie He a4580e9f2e feat: Add Taichu model provider (#3129)
*  feat: Add Taichu model provider

* 💄 style: fix model tag icon missing

* 💄 style: update Taichu icon

* 💄 style: resize Taichu icon
2024-07-09 16:40:42 +08:00
Arvin Xu e6dc16a1b4 📝 docs: add groq tools calling (#3171)
* add groq

* add groq

* 📝 docs: add groq tools calling

* add groq
2024-07-09 12:21:27 +08:00
semantic-release-bot 357d6ee6b6 🔖 chore(release): v1.2.14 [skip ci]
### [Version&nbsp;1.2.14](https://github.com/lobehub/lobe-chat/compare/v1.2.13...v1.2.14)
<sup>Released on **2024-07-08**</sup>

#### 💄 Styles

- **misc**: Provider changes with model in model settings.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Styles

* **misc**: Provider changes with model in model settings, closes [#3146](https://github.com/lobehub/lobe-chat/issues/3146) ([e53bb5a](https://github.com/lobehub/lobe-chat/commit/e53bb5a))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
2024-07-08 06:22:33 +00:00
Rubu Jam e53bb5a06d 💄 style: provider changes with model in model settings (#3146) 2024-07-08 14:17:22 +08:00
Arvin Xu 7100d1c8b5 📝 docs: fix google tools calling (#3162) 2024-07-07 23:39:27 +08:00
Arvin Xu 3a1ceba359 📝 docs: fix google tools calling (#3161) 2024-07-07 23:34:23 +08:00
Arvin Xu 7a4bbc003c 📝 docs: update tools calling (#3160)
* 📝 docs: add summary

* 📝 docs: update tools calling

* 📝 docs: update tools calling
2024-07-07 23:21:49 +08:00
Arvin Xu b696a4088a 📝 docs: fix docs (#3159) 2024-07-07 17:36:54 +08:00
3186 changed files with 325565 additions and 51156 deletions
+6
View File
@@ -0,0 +1,6 @@
{
"image": "mcr.microsoft.com/devcontainers/universal:2",
"features": {
"ghcr.io/devcontainers/features/node:1": {}
}
}
-2
View File
@@ -4,8 +4,6 @@ node_modules
npm-debug.log
.next
.git
scripts
docs
.github
*.md
.env.example
+52 -10
View File
@@ -6,7 +6,7 @@
########################################
######## Model Provider Service ########
########## AI Provider Service #########
########################################
### OpenAI ###
@@ -33,7 +33,7 @@ OPENAI_API_KEY=sk-xxxxxxxxx
# AZURE_ENDPOINT=https://docs-test-001.openai.azure.com
# Azure's API version, follows the YYYY-MM-DD format
# AZURE_API_VERSION=2024-02-01
# AZURE_API_VERSION=2024-10-21
### Anthropic Service ####
@@ -106,12 +106,31 @@ OPENAI_API_KEY=sk-xxxxxxxxx
### DeepSeek AI ####
# DEEPSEEK_PROXY_URL=https://api.deepseek.com/v1
# DEEPSEEK_API_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
### Qwen AI ####
# QWEN_API_KEY=sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
### Cloudflare Workers AI ####
# CLOUDFLARE_API_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# CLOUDFLARE_BASE_URL_OR_ACCOUNT_ID=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
### SiliconCloud AI ####
# SILICONCLOUD_API_KEY=sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
### TencentCloud AI ####
# TENCENT_CLOUD_API_KEY=sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
### PPIO ####
# PPIO_API_KEY=sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
########################################
############ Market Service ############
########################################
@@ -130,23 +149,34 @@ OPENAI_API_KEY=sk-xxxxxxxxx
# the format is `plugin-identifier:key1=value1;key2=value2`, multiple settings fields are separated by semicolons `;`, multiple plugin settings are separated by commas `,`.
# PLUGIN_SETTINGS=search-engine:SERPAPI_API_KEY=xxxxx
########################################
####### Doc / Changelog Service ########
########################################
# Use in Changelog / Document service cdn url prefix
# DOC_S3_PUBLIC_DOMAIN=https://xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# Use in dev cdn workflow
# DOC_S3_ACCESS_KEY_ID=xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# DOC_S3_SECRET_ACCESS_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
########################################
##### S3 Object Storage Service ########
########################################
# S3 keys
#S3_ACCESS_KEY_ID=9998d6757e276cf9f1edbd325b7083a6
#S3_SECRET_ACCESS_KEY=55af75d8eb6b99f189f6a35f855336ea62cd9c4751a5cf4337c53c1d3f497ac2
# S3_ACCESS_KEY_ID=xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# S3_SECRET_ACCESS_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# Bucket name
#S3_BUCKET=lobechat
# S3_BUCKET=lobechat
# Bucket request endpoint
#S3_ENDPOINT=https://0b33a03b5c993fd2f453379dc36558e5.r2.cloudflarestorage.com
# S3_ENDPOINT=https://xxxxxxxxxxxxxxxxxxxxxxxxxxxxx.r2.cloudflarestorage.com
# Public access domain for the bucket
#NEXT_PUBLIC_S3_DOMAIN=https://s3-for-lobechat.your-domain.com
# S3_PUBLIC_DOMAIN=https://s3-for-lobechat.your-domain.com
# Bucket region, such as us-west-1, generally not needed to add
# but some service providers may require configuration
@@ -168,16 +198,28 @@ OPENAI_API_KEY=sk-xxxxxxxxx
#CLERK_WEBHOOK_SECRET=whsec_xxxxxxxxxxxxxxxxxxxxxx
# NextAuth related configurations
# NEXT_PUBLIC_ENABLE_NEXT_AUTH=1
# NEXT_AUTH_SECRET=
# Auth0 configurations
# AUTH_AUTH0_ID=
# AUTH_AUTH0_SECRET=
# AUTH_AUTH0_ISSUER=https://your-domain.auth0.com
########################################
########## Server Database #############
########################################
# Specify the service mode as server if you want to use the server database
#NEXT_PUBLIC_SERVICE_MODE=server
# NEXT_PUBLIC_SERVICE_MODE=server
# Postgres database URL
#DATABASE_URL=postgres://username:password@host:port/database
# DATABASE_URL=postgres://username:password@host:port/database
# use `openssl rand -base64 32` to generate a key for the encryption of the database
# we use this key to encrypt the user api key
# we use this key to encrypt the user api key and proxy url
#KEY_VAULTS_SECRET=xxxxx/xxxxxxxxxxxxxx=
# Specify the Embedding model and Reranker model(unImplemented)
# DEFAULT_FILES_CONFIG="embedding_model=openai/embedding-text-3-small,reranker_model=cohere/rerank-english-v3.0,query_mode=full_text"
+1 -1
View File
@@ -28,4 +28,4 @@ logs
# misc
# add other ignore file below
.next
.next
+13 -3
View File
@@ -5,7 +5,7 @@ labels: ['🐛 Bug']
body:
- type: dropdown
attributes:
label: '📦 Environment'
label: '📦 Platform'
multiple: true
options:
- 'Official Preview'
@@ -13,16 +13,26 @@ body:
- 'Zeabur'
- 'Sealos'
- 'Netlify'
- 'Docker'
- 'Self hosting Docker'
- 'Other'
validations:
required: true
- type: dropdown
attributes:
label: '📦 Deploymenet mode'
multiple: true
options:
- 'client db (lobe-chat image)'
- 'client pgelite db (lobe-chat-pglite image)'
- 'server db(lobe-chat-database image)'
validations:
required: true
- type: input
attributes:
label: '📌 Version'
validations:
required: true
- type: dropdown
attributes:
label: '💻 Operating System'
@@ -2,7 +2,15 @@ name: '🐛 反馈缺陷'
description: '反馈一个问题缺陷'
title: '[Bug] '
labels: ['🐛 Bug']
type: Bug
body:
- type: markdown
attributes:
value: |
在创建新的 Issue 之前,请先[搜索已有问题](https://github.com/lobehub/lobe-chat/issues),如果发现已有类似的问题,请给它 **👍 点赞**,这样可以帮助我们更快地解决问题。
如果你在使用过程中遇到问题,可以尝试以下方式获取帮助:
- 在 [GitHub Discussions](https://github.com/lobehub/lobe-chat/discussions) 的版块发起讨论。
- 在 [LobeChat 社区](https://discord.gg/AYFPHvv2jT) 提问,与其他用户交流。
- type: dropdown
attributes:
label: '📦 部署环境'
@@ -17,6 +25,16 @@ body:
- 'Other'
validations:
required: true
- type: dropdown
attributes:
label: '📦 部署模式'
multiple: true
options:
- '客户端模式(lobe-chat 镜像)'
- '客户端 Pglite 模式(lobe-chat-pglite 镜像)'
- '服务端模式(lobe-chat-database 镜像)'
validations:
required: true
- type: input
attributes:
label: '📌 软件版本'
+4 -1
View File
@@ -1,4 +1,7 @@
contact_links:
- name: Questions and ideas | 问题和想法
- name: Ask a question for self-hosting | 咨询自部署问题
url: https://github.com/lobehub/lobe-chat/discussions/new?category=self-hosting-%E7%A7%81%E6%9C%89%E5%8C%96%E9%83%A8%E7%BD%B2
about: Please post questions, and ideas in discussions. | 请在讨论区发布问题和想法。
- name: Questions and ideas | 其他问题和想法
url: https://github.com/lobehub/lobe-chat/discussions/new/choose
about: Please post questions, and ideas in discussions. | 请在讨论区发布问题和想法。
+2 -1
View File
@@ -6,9 +6,10 @@
- [ ] 🐛 fix
- [ ] ♻️ refactor
- [ ] 💄 style
- [ ] 🔨 chore
- [ ] 👷 build
- [ ] ⚡️ perf
- [ ] 📝 docs
- [ ] 🔨 chore
#### 🔀 变更说明 | Description of Change
+161
View File
@@ -0,0 +1,161 @@
name: Publish Database Docker Image
on:
workflow_dispatch:
release:
types: [published]
pull_request:
types: [synchronize, labeled, unlabeled]
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
env:
REGISTRY_IMAGE: lobehub/lobe-chat-database
PR_TAG_PREFIX: pr-
jobs:
build:
# 添加 PR label 触发条件
if: |
(github.event_name == 'pull_request' &&
contains(github.event.pull_request.labels.*.name, 'Build Docker')) ||
github.event_name != 'pull_request'
strategy:
matrix:
include:
- platform: linux/amd64
os: ubuntu-latest
- platform: linux/arm64
os: ubuntu-24.04-arm
runs-on: ${{ matrix.os }}
name: Build ${{ matrix.platform }} Image
steps:
- name: Prepare
run: |
platform=${{ matrix.platform }}
echo "PLATFORM_PAIR=${platform//\//-}" >> $GITHUB_ENV
- name: Checkout base
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
# 为 PR 生成特殊的 tag
- name: Generate PR metadata
if: github.event_name == 'pull_request'
id: pr_meta
run: |
branch_name="${{ github.head_ref }}"
sanitized_branch=$(echo "${branch_name}" | sed -E 's/[^a-zA-Z0-9_.-]+/-/g')
echo "pr_tag=${sanitized_branch}-$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY_IMAGE }}
tags: |
# PR 构建使用特殊的 tag
type=raw,value=${{ env.PR_TAG_PREFIX }}${{ steps.pr_meta.outputs.pr_tag }},enable=${{ github.event_name == 'pull_request' }}
# release 构建使用版本号
type=semver,pattern={{version}},enable=${{ github.event_name != 'pull_request' }}
type=raw,value=latest,enable=${{ github.event_name != 'pull_request' }}
- name: Docker login
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_REGISTRY_USER }}
password: ${{ secrets.DOCKER_REGISTRY_PASSWORD }}
- name: Get commit SHA
if: github.ref == 'refs/heads/main'
id: vars
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- name: Build and export
id: build
uses: docker/build-push-action@v5
with:
platforms: ${{ matrix.platform }}
context: .
file: ./Dockerfile.database
labels: ${{ steps.meta.outputs.labels }}
build-args: |
SHA=${{ steps.vars.outputs.sha_short }}
outputs: type=image,name=${{ env.REGISTRY_IMAGE }},push-by-digest=true,name-canonical=true,push=true
- name: Export digest
run: |
rm -rf /tmp/digests
mkdir -p /tmp/digests
digest="${{ steps.build.outputs.digest }}"
touch "/tmp/digests/${digest#sha256:}"
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: digest-${{ env.PLATFORM_PAIR }}
path: /tmp/digests/*
if-no-files-found: error
retention-days: 1
merge:
name: Merge
needs: build
runs-on: ubuntu-latest
steps:
- name: Checkout base
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Download digests
uses: actions/download-artifact@v4
with:
path: /tmp/digests
pattern: digest-*
merge-multiple: true
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
# 为 merge job 添加 PR metadata 生成
- name: Generate PR metadata
if: github.event_name == 'pull_request'
id: pr_meta
run: |
branch_name="${{ github.head_ref }}"
sanitized_branch=$(echo "${branch_name}" | sed -E 's/[^a-zA-Z0-9_.-]+/-/g')
echo "pr_tag=${sanitized_branch}-$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY_IMAGE }}
tags: |
type=raw,value=${{ env.PR_TAG_PREFIX }}${{ steps.pr_meta.outputs.pr_tag }},enable=${{ github.event_name == 'pull_request' }}
type=semver,pattern={{version}},enable=${{ github.event_name != 'pull_request' }}
type=raw,value=latest,enable=${{ github.event_name != 'pull_request' }}
- name: Docker login
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_REGISTRY_USER }}
password: ${{ secrets.DOCKER_REGISTRY_PASSWORD }}
- name: Create manifest list and push
working-directory: /tmp/digests
run: |
docker buildx imagetools create $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
$(printf '${{ env.REGISTRY_IMAGE }}@sha256:%s ' *)
- name: Inspect image
run: |
docker buildx imagetools inspect ${{ env.REGISTRY_IMAGE }}:${{ steps.meta.outputs.version }}
+161
View File
@@ -0,0 +1,161 @@
name: Publish Docker Pglite Image
on:
workflow_dispatch:
release:
types: [published]
pull_request:
types: [synchronize, labeled, unlabeled]
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
env:
REGISTRY_IMAGE: lobehub/lobe-chat-pglite
PR_TAG_PREFIX: pr-
jobs:
build:
# 添加 PR label 触发条件
if: |
(github.event_name == 'pull_request' &&
contains(github.event.pull_request.labels.*.name, 'Build Docker')) ||
github.event_name != 'pull_request'
strategy:
matrix:
include:
- platform: linux/amd64
os: ubuntu-latest
- platform: linux/arm64
os: ubuntu-24.04-arm
runs-on: ${{ matrix.os }}
name: Build ${{ matrix.platform }} Image
steps:
- name: Prepare
run: |
platform=${{ matrix.platform }}
echo "PLATFORM_PAIR=${platform//\//-}" >> $GITHUB_ENV
- name: Checkout base
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
# 为 PR 生成特殊的 tag
- name: Generate PR metadata
if: github.event_name == 'pull_request'
id: pr_meta
run: |
branch_name="${{ github.head_ref }}"
sanitized_branch=$(echo "${branch_name}" | sed -E 's/[^a-zA-Z0-9_.-]+/-/g')
echo "pr_tag=${sanitized_branch}-$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY_IMAGE }}
tags: |
# PR 构建使用特殊的 tag
type=raw,value=${{ env.PR_TAG_PREFIX }}${{ steps.pr_meta.outputs.pr_tag }},enable=${{ github.event_name == 'pull_request' }}
# release 构建使用版本号
type=semver,pattern={{version}},enable=${{ github.event_name != 'pull_request' }}
type=raw,value=latest,enable=${{ github.event_name != 'pull_request' }}
- name: Docker login
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_REGISTRY_USER }}
password: ${{ secrets.DOCKER_REGISTRY_PASSWORD }}
- name: Get commit SHA
if: github.ref == 'refs/heads/main'
id: vars
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- name: Build and export
id: build
uses: docker/build-push-action@v5
with:
platforms: ${{ matrix.platform }}
context: .
file: ./Dockerfile.pglite
labels: ${{ steps.meta.outputs.labels }}
build-args: |
SHA=${{ steps.vars.outputs.sha_short }}
outputs: type=image,name=${{ env.REGISTRY_IMAGE }},push-by-digest=true,name-canonical=true,push=true
- name: Export digest
run: |
rm -rf /tmp/digests
mkdir -p /tmp/digests
digest="${{ steps.build.outputs.digest }}"
touch "/tmp/digests/${digest#sha256:}"
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: digest-${{ env.PLATFORM_PAIR }}
path: /tmp/digests/*
if-no-files-found: error
retention-days: 1
merge:
name: Merge
needs: build
runs-on: ubuntu-latest
steps:
- name: Checkout base
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Download digests
uses: actions/download-artifact@v4
with:
path: /tmp/digests
pattern: digest-*
merge-multiple: true
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
# 为 merge job 添加 PR metadata 生成
- name: Generate PR metadata
if: github.event_name == 'pull_request'
id: pr_meta
run: |
branch_name="${{ github.head_ref }}"
sanitized_branch=$(echo "${branch_name}" | sed -E 's/[^a-zA-Z0-9_.-]+/-/g')
echo "pr_tag=${sanitized_branch}-$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY_IMAGE }}
tags: |
type=raw,value=${{ env.PR_TAG_PREFIX }}${{ steps.pr_meta.outputs.pr_tag }},enable=${{ github.event_name == 'pull_request' }}
type=semver,pattern={{version}},enable=${{ github.event_name != 'pull_request' }}
type=raw,value=latest,enable=${{ github.event_name != 'pull_request' }}
- name: Docker login
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_REGISTRY_USER }}
password: ${{ secrets.DOCKER_REGISTRY_PASSWORD }}
- name: Create manifest list and push
working-directory: /tmp/digests
run: |
docker buildx imagetools create $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
$(printf '${{ env.REGISTRY_IMAGE }}@sha256:%s ' *)
- name: Inspect image
run: |
docker buildx imagetools inspect ${{ env.REGISTRY_IMAGE }}:${{ steps.meta.outputs.version }}
+140 -24
View File
@@ -4,42 +4,158 @@ on:
workflow_dispatch:
release:
types: [published]
pull_request:
types: [synchronize, labeled, unlabeled]
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
env:
REGISTRY_IMAGE: lobehub/lobe-chat
PR_TAG_PREFIX: pr-
jobs:
push_to_registry:
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
build:
# 添加 PR label 触发条件
if: |
(github.event_name == 'pull_request' &&
contains(github.event.pull_request.labels.*.name, 'Build Docker')) ||
github.event_name != 'pull_request'
strategy:
matrix:
include:
- platform: linux/amd64
os: ubuntu-latest
- platform: linux/arm64
os: ubuntu-24.04-arm
runs-on: ${{ matrix.os }}
name: Build ${{ matrix.platform }} Image
steps:
- name: Check out the repo
- name: Prepare
run: |
platform=${{ matrix.platform }}
echo "PLATFORM_PAIR=${platform//\//-}" >> $GITHUB_ENV
- name: Checkout base
uses: actions/checkout@v4
- name: Log in to Docker Hub
with:
fetch-depth: 0
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
# 为 PR 生成特殊的 tag
- name: Generate PR metadata
if: github.event_name == 'pull_request'
id: pr_meta
run: |
branch_name="${{ github.head_ref }}"
sanitized_branch=$(echo "${branch_name}" | sed -E 's/[^a-zA-Z0-9_.-]+/-/g')
echo "pr_tag=${sanitized_branch}-$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY_IMAGE }}
tags: |
# PR 构建使用特殊的 tag
type=raw,value=${{ env.PR_TAG_PREFIX }}${{ steps.pr_meta.outputs.pr_tag }},enable=${{ github.event_name == 'pull_request' }}
# release 构建使用版本号
type=semver,pattern={{version}},enable=${{ github.event_name != 'pull_request' }}
type=raw,value=latest,enable=${{ github.event_name != 'pull_request' }}
- name: Docker login
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_REGISTRY_USER }}
password: ${{ secrets.DOCKER_REGISTRY_PASSWORD }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5
with:
images: lobehub/lobe-chat
tags: |
type=raw,value=latest
type=ref,event=tag
- name: Get commit SHA
if: github.ref == 'refs/heads/main'
id: vars
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Build and export
id: build
uses: docker/build-push-action@v5
with:
platforms: ${{ matrix.platform }}
context: .
file: ./Dockerfile
labels: ${{ steps.meta.outputs.labels }}
build-args: |
SHA=${{ steps.vars.outputs.sha_short }}
outputs: type=image,name=${{ env.REGISTRY_IMAGE }},push-by-digest=true,name-canonical=true,push=true
- name: Export digest
run: |
rm -rf /tmp/digests
mkdir -p /tmp/digests
digest="${{ steps.build.outputs.digest }}"
touch "/tmp/digests/${digest#sha256:}"
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: digest-${{ env.PLATFORM_PAIR }}
path: /tmp/digests/*
if-no-files-found: error
retention-days: 1
merge:
name: Merge
needs: build
runs-on: ubuntu-latest
steps:
- name: Checkout base
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Download digests
uses: actions/download-artifact@v4
with:
path: /tmp/digests
pattern: digest-*
merge-multiple: true
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push Docker image
uses: docker/build-push-action@v5
# 为 merge job 添加 PR metadata 生成
- name: Generate PR metadata
if: github.event_name == 'pull_request'
id: pr_meta
run: |
branch_name="${{ github.head_ref }}"
sanitized_branch=$(echo "${branch_name}" | sed -E 's/[^a-zA-Z0-9_.-]+/-/g')
echo "pr_tag=${sanitized_branch}-$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
images: ${{ env.REGISTRY_IMAGE }}
tags: |
type=raw,value=${{ env.PR_TAG_PREFIX }}${{ steps.pr_meta.outputs.pr_tag }},enable=${{ github.event_name == 'pull_request' }}
type=semver,pattern={{version}},enable=${{ github.event_name != 'pull_request' }}
type=raw,value=latest,enable=${{ github.event_name != 'pull_request' }}
- name: Docker login
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_REGISTRY_USER }}
password: ${{ secrets.DOCKER_REGISTRY_PASSWORD }}
- name: Create manifest list and push
working-directory: /tmp/digests
run: |
docker buildx imagetools create $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
$(printf '${{ env.REGISTRY_IMAGE }}@sha256:%s ' *)
- name: Inspect image
run: |
docker buildx imagetools inspect ${{ env.REGISTRY_IMAGE }}:${{ steps.meta.outputs.version }}
+5 -13
View File
@@ -18,28 +18,20 @@ on:
jobs:
lighthouse-badger-advanced:
name: ${{ matrix.NAME }}
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
timeout-minutes: 8
strategy:
fail-fast: false
matrix:
include:
- NAME: 'LobeChat | Welcome'
URLS: 'https://chat-preview.lobehub.com/welcome'
BADGES_ARGS: '-b pagespeed -o lighthouse/welcome -r'
COMMIT_MESSAGE: '🤖 chore: Lighthouse Results | Welcome'
- NAME: 'LobeChat | Chat'
URLS: 'https://chat-preview.lobehub.com/chat'
URLS: 'https://lobechat.com/chat'
BADGES_ARGS: '-b pagespeed -o lighthouse/chat -r'
COMMIT_MESSAGE: '🤖 chore: Lighthouse Results | Chat'
- NAME: 'LobeChat | Market'
URLS: 'https://chat-preview.lobehub.com/market'
BADGES_ARGS: '-b pagespeed -o lighthouse/market -r'
COMMIT_MESSAGE: '🤖 chore: Lighthouse Results | Market'
- NAME: 'LobeChat | Settings'
URLS: 'https://chat-preview.lobehub.com/settings'
BADGES_ARGS: '-b pagespeed -o lighthouse/settings -r'
COMMIT_MESSAGE: '🤖 chore: Lighthouse Results | Settings'
URLS: 'https://lobechat.com/discover'
BADGES_ARGS: '-b pagespeed -o lighthouse/discover -r'
COMMIT_MESSAGE: '🤖 chore: Lighthouse Results | Discover'
steps:
- name: Preparatory Tasks
+4 -2
View File
@@ -11,14 +11,14 @@ jobs:
services:
postgres:
image: postgres:16
image: pgvector/pgvector:pg16
env:
POSTGRES_PASSWORD: postgres
options: >-
--health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
ports:
- 5432:5432
steps:
- uses: actions/checkout@v4
@@ -40,6 +40,8 @@ jobs:
DATABASE_DRIVER: node
NEXT_PUBLIC_SERVICE_MODE: server
KEY_VAULTS_SECRET: LA7n9k3JdEcbSgml2sxfw+4TV1AzaaFU5+R176aQz4s=
S3_PUBLIC_DOMAIN: https://example.com
APP_URL: https://home.com
- name: Test App Coverage
run: bun run test-app:coverage
+3 -1
View File
@@ -8,7 +8,7 @@ jobs:
services:
postgres:
image: postgres:16
image: pgvector/pgvector:pg16
env:
POSTGRES_PASSWORD: postgres
options: >-
@@ -39,6 +39,8 @@ jobs:
DATABASE_DRIVER: node
NEXT_PUBLIC_SERVICE_MODE: server
KEY_VAULTS_SECRET: LA7n9k3JdEcbSgml2sxfw+4TV1AzaaFU5+R176aQz4s=
S3_PUBLIC_DOMAIN: https://example.com
APP_URL: https://home.com
- name: Upload Server coverage to Codecov
uses: codecov/codecov-action@v4
+8
View File
@@ -55,9 +55,17 @@ next-env.d.ts
.next
.env
public/*.js
public/sitemap.xml
public/sitemap-index.xml
bun.lockb
sitemap*.xml
robots.txt
# Serwist
public/sw*
public/swe-worker*
*.patch
*.pdf
vertex-ai-key.json
.pnpm-store
+10 -4
View File
@@ -21,19 +21,25 @@ module.exports = defineConfig({
'nl-NL',
'pl-PL',
'vi-VN',
'fa-IR',
],
temperature: 0,
modelName: 'gpt-3.5-turbo-0125',
splitToken: 2048,
modelName: 'gpt-4o-mini',
experimental: {
jsonMode: true,
},
markdown: {
// reference: '你需要保持 mdx 的组件格式,输出文本不需要在最外层包裹任何代码块语法',
reference: '你需要保持 mdx 的组件格式,输出文本不需要在最外层包裹任何代码块语法',
entry: ['./README.zh-CN.md', './contributing/**/*.zh-CN.md', './docs/**/*.zh-CN.mdx'],
entryLocale: 'zh-CN',
outputLocales: ['en-US'],
exclude: ['./contributing/_Sidebar.md', './contributing/_Footer.md', './contributing/Home.md'],
includeMatter: true,
exclude: [
'./src/**/*',
'./contributing/_Sidebar.md',
'./contributing/_Footer.md',
'./contributing/Home.md',
],
outputExtensions: (locale, { filePath }) => {
if (filePath.includes('.mdx')) {
if (locale === 'en-US') return '.mdx';
+1
View File
@@ -16,3 +16,4 @@ public-hoist-pattern[]=*stylelint*
public-hoist-pattern[]=@auth/core
public-hoist-pattern[]=@clerk/backend
public-hoist-pattern[]=@clerk/types
public-hoist-pattern[]=pdfjs-dist
+1 -1
View File
@@ -1 +1 @@
lts/hydrogen
lts/jod
+10 -1
View File
@@ -1 +1,10 @@
module.exports = require('@lobehub/lint').semanticRelease;
const config = require('@lobehub/lint').semanticRelease;
config.plugins.push([
'@semantic-release/exec',
{
prepareCmd: 'npm run workflow:changelog',
},
]);
module.exports = config;
+6
View File
@@ -0,0 +1,6 @@
const config = require('@lobehub/lint').remarklint;
module.exports = {
...config,
plugins: ['remark-mdx', ...config.plugins],
};
+1 -1
View File
@@ -2,7 +2,7 @@ const { defineConfig } = require('@lobehub/seo-cli');
module.exports = defineConfig({
entry: ['./docs/**/*.mdx'],
modelName: 'gpt-3.5-turbo-0125',
modelName: 'gpt-4o-mini',
experimental: {
jsonMode: true,
},
+16093 -16624
View File
File diff suppressed because it is too large Load Diff
+211 -110
View File
@@ -1,138 +1,239 @@
FROM node:20-slim AS base
## Set global build ENV
ARG NODEJS_VERSION="22"
## Sharp dependencies, copy all the files for production
FROM base AS sharp
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
RUN corepack enable
## Base image for all building stages
FROM node:${NODEJS_VERSION}-slim AS base
WORKDIR /app
ARG USE_CN_MIRROR
RUN pnpm add sharp
ENV DEBIAN_FRONTEND="noninteractive"
## Install dependencies only when needed
RUN \
# If you want to build docker in China, build with --build-arg USE_CN_MIRROR=true
if [ "${USE_CN_MIRROR:-false}" = "true" ]; then \
sed -i "s/deb.debian.org/mirrors.ustc.edu.cn/g" "/etc/apt/sources.list.d/debian.sources"; \
fi \
# Add required package
&& apt update \
&& apt install ca-certificates proxychains-ng -qy \
# Prepare required package to distroless
&& mkdir -p /distroless/bin /distroless/etc /distroless/etc/ssl/certs /distroless/lib \
# Copy proxychains to distroless
&& cp /usr/lib/$(arch)-linux-gnu/libproxychains.so.4 /distroless/lib/libproxychains.so.4 \
&& cp /usr/lib/$(arch)-linux-gnu/libdl.so.2 /distroless/lib/libdl.so.2 \
&& cp /usr/bin/proxychains4 /distroless/bin/proxychains \
&& cp /etc/proxychains4.conf /distroless/etc/proxychains4.conf \
# Copy node to distroless
&& cp /usr/lib/$(arch)-linux-gnu/libstdc++.so.6 /distroless/lib/libstdc++.so.6 \
&& cp /usr/lib/$(arch)-linux-gnu/libgcc_s.so.1 /distroless/lib/libgcc_s.so.1 \
&& cp /usr/local/bin/node /distroless/bin/node \
# Copy CA certificates to distroless
&& cp /etc/ssl/certs/ca-certificates.crt /distroless/etc/ssl/certs/ca-certificates.crt \
# Cleanup temp files
&& rm -rf /tmp/* /var/lib/apt/lists/* /var/tmp/*
## Builder image, install all the dependencies and build the app
FROM base AS builder
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
RUN corepack enable
WORKDIR /app
ARG USE_CN_MIRROR
ARG NEXT_PUBLIC_BASE_PATH
ARG NEXT_PUBLIC_SENTRY_DSN
ARG NEXT_PUBLIC_ANALYTICS_POSTHOG
ARG NEXT_PUBLIC_POSTHOG_HOST
ARG NEXT_PUBLIC_POSTHOG_KEY
ARG NEXT_PUBLIC_ANALYTICS_UMAMI
ARG NEXT_PUBLIC_UMAMI_SCRIPT_URL
ARG NEXT_PUBLIC_UMAMI_WEBSITE_ID
COPY package.json ./
COPY .npmrc ./
# If you want to build docker in China
# RUN npm config set registry https://registry.npmmirror.com/
RUN pnpm i
COPY . .
ENV NEXT_PUBLIC_BASE_PATH ""
ENV NEXT_PUBLIC_BASE_PATH="${NEXT_PUBLIC_BASE_PATH}"
# Sentry
ENV NEXT_PUBLIC_SENTRY_DSN ""
ENV SENTRY_ORG ""
ENV SENTRY_PROJECT ""
ENV NEXT_PUBLIC_SENTRY_DSN="${NEXT_PUBLIC_SENTRY_DSN}" \
SENTRY_ORG="" \
SENTRY_PROJECT=""
# Posthog
ENV NEXT_PUBLIC_ANALYTICS_POSTHOG ""
ENV NEXT_PUBLIC_POSTHOG_KEY ""
ENV NEXT_PUBLIC_POSTHOG_HOST ""
ENV NEXT_PUBLIC_ANALYTICS_POSTHOG="${NEXT_PUBLIC_ANALYTICS_POSTHOG}" \
NEXT_PUBLIC_POSTHOG_HOST="${NEXT_PUBLIC_POSTHOG_HOST}" \
NEXT_PUBLIC_POSTHOG_KEY="${NEXT_PUBLIC_POSTHOG_KEY}"
# Umami
ENV NEXT_PUBLIC_ANALYTICS_UMAMI ""
ENV NEXT_PUBLIC_UMAMI_SCRIPT_URL ""
ENV NEXT_PUBLIC_UMAMI_WEBSITE_ID ""
ENV NEXT_PUBLIC_ANALYTICS_UMAMI="${NEXT_PUBLIC_ANALYTICS_UMAMI}" \
NEXT_PUBLIC_UMAMI_SCRIPT_URL="${NEXT_PUBLIC_UMAMI_SCRIPT_URL}" \
NEXT_PUBLIC_UMAMI_WEBSITE_ID="${NEXT_PUBLIC_UMAMI_WEBSITE_ID}"
# Node
ENV NODE_OPTIONS "--max-old-space-size=8192"
ENV NODE_OPTIONS="--max-old-space-size=8192"
WORKDIR /app
COPY package.json pnpm-workspace.yaml ./
COPY .npmrc ./
COPY packages ./packages
RUN \
# If you want to build docker in China, build with --build-arg USE_CN_MIRROR=true
if [ "${USE_CN_MIRROR:-false}" = "true" ]; then \
export SENTRYCLI_CDNURL="https://npmmirror.com/mirrors/sentry-cli"; \
npm config set registry "https://registry.npmmirror.com/"; \
echo 'canvas_binary_host_mirror=https://npmmirror.com/mirrors/canvas' >> .npmrc; \
fi \
# Set the registry for corepack
&& export COREPACK_NPM_REGISTRY=$(npm config get registry | sed 's/\/$//') \
# Update corepack to latest (nodejs/corepack#612)
&& npm i -g corepack@latest \
# Enable corepack
&& corepack enable \
# Use pnpm for corepack
&& corepack use $(sed -n 's/.*"packageManager": "\(.*\)".*/\1/p' package.json) \
# Install the dependencies
&& pnpm i
COPY . .
# run build standalone for docker version
RUN npm run build:docker
## Production image, copy all the files and run next
FROM base AS runner
WORKDIR /app
## Application image, copy all the files for production
FROM busybox:latest AS app
ENV NODE_ENV production
RUN addgroup --system --gid 1001 nodejs
RUN adduser --system --uid 1001 nextjs
COPY --from=builder /app/public ./public
# Set the correct permission for prerender cache
RUN mkdir .next
RUN chown nextjs:nodejs .next
COPY --from=base /distroless/ /
# Automatically leverage output traces to reduce image size
# https://nextjs.org/docs/advanced-features/output-file-tracing
COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./
COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static
COPY --from=sharp --chown=nextjs:nodejs /app/node_modules/.pnpm ./node_modules/.pnpm
COPY --from=builder /app/.next/standalone /app/
# Copy server launcher
COPY --from=builder /app/scripts/serverLauncher/startServer.js /app/startServer.js
RUN \
# Add nextjs:nodejs to run the app
addgroup -S -g 1001 nodejs \
&& adduser -D -G nodejs -H -S -h /app -u 1001 nextjs \
# Set permission for nextjs:nodejs
&& chown -R nextjs:nodejs /app /etc/proxychains4.conf
## Production image, copy all the files and run next
FROM scratch
# Copy all the files from app, set the correct permission for prerender cache
COPY --from=app / /
ENV NODE_ENV="production" \
NODE_OPTIONS="--dns-result-order=ipv4first --use-openssl-ca" \
NODE_EXTRA_CA_CERTS="" \
NODE_TLS_REJECT_UNAUTHORIZED="" \
SSL_CERT_DIR="/etc/ssl/certs/ca-certificates.crt"
# Make the middleware rewrite through local as default
# refs: https://github.com/lobehub/lobe-chat/issues/5876
ENV MIDDLEWARE_REWRITE_THROUGH_LOCAL="1"
# set hostname to localhost
ENV HOSTNAME="0.0.0.0" \
PORT="3210"
# General Variables
ENV ACCESS_CODE="" \
API_KEY_SELECT_MODE="" \
DEFAULT_AGENT_CONFIG="" \
SYSTEM_AGENT="" \
FEATURE_FLAGS="" \
PROXY_URL=""
# Model Variables
ENV \
# AI21
AI21_API_KEY="" AI21_MODEL_LIST="" \
# Ai360
AI360_API_KEY="" AI360_MODEL_LIST="" \
# Anthropic
ANTHROPIC_API_KEY="" ANTHROPIC_MODEL_LIST="" ANTHROPIC_PROXY_URL="" \
# Amazon Bedrock
AWS_ACCESS_KEY_ID="" AWS_SECRET_ACCESS_KEY="" AWS_REGION="" AWS_BEDROCK_MODEL_LIST="" \
# Azure OpenAI
AZURE_API_KEY="" AZURE_API_VERSION="" AZURE_ENDPOINT="" AZURE_MODEL_LIST="" \
# Baichuan
BAICHUAN_API_KEY="" BAICHUAN_MODEL_LIST="" \
# Cloudflare
CLOUDFLARE_API_KEY="" CLOUDFLARE_BASE_URL_OR_ACCOUNT_ID="" CLOUDFLARE_MODEL_LIST="" \
# DeepSeek
DEEPSEEK_API_KEY="" DEEPSEEK_MODEL_LIST="" \
# Fireworks AI
FIREWORKSAI_API_KEY="" FIREWORKSAI_MODEL_LIST="" \
# Gitee AI
GITEE_AI_API_KEY="" GITEE_AI_MODEL_LIST="" \
# GitHub
GITHUB_TOKEN="" GITHUB_MODEL_LIST="" \
# Google
GOOGLE_API_KEY="" GOOGLE_MODEL_LIST="" GOOGLE_PROXY_URL="" \
# Groq
GROQ_API_KEY="" GROQ_MODEL_LIST="" GROQ_PROXY_URL="" \
# Higress
HIGRESS_API_KEY="" HIGRESS_MODEL_LIST="" HIGRESS_PROXY_URL="" \
# HuggingFace
HUGGINGFACE_API_KEY="" HUGGINGFACE_MODEL_LIST="" HUGGINGFACE_PROXY_URL="" \
# Hunyuan
HUNYUAN_API_KEY="" HUNYUAN_MODEL_LIST="" \
# InternLM
INTERNLM_API_KEY="" INTERNLM_MODEL_LIST="" \
# Jina
JINA_API_KEY="" JINA_MODEL_LIST="" JINA_PROXY_URL="" \
# Minimax
MINIMAX_API_KEY="" MINIMAX_MODEL_LIST="" \
# Mistral
MISTRAL_API_KEY="" MISTRAL_MODEL_LIST="" \
# Moonshot
MOONSHOT_API_KEY="" MOONSHOT_MODEL_LIST="" MOONSHOT_PROXY_URL="" \
# Novita
NOVITA_API_KEY="" NOVITA_MODEL_LIST="" \
# Nvidia NIM
NVIDIA_API_KEY="" NVIDIA_MODEL_LIST="" NVIDIA_PROXY_URL="" \
# Ollama
ENABLED_OLLAMA="" OLLAMA_MODEL_LIST="" OLLAMA_PROXY_URL="" \
# OpenAI
OPENAI_API_KEY="" OPENAI_MODEL_LIST="" OPENAI_PROXY_URL="" \
# OpenRouter
OPENROUTER_API_KEY="" OPENROUTER_MODEL_LIST="" \
# Perplexity
PERPLEXITY_API_KEY="" PERPLEXITY_MODEL_LIST="" PERPLEXITY_PROXY_URL="" \
# PPIO
PPIO_API_KEY="" PPIO_MODEL_LIST="" \
# Qwen
QWEN_API_KEY="" QWEN_MODEL_LIST="" QWEN_PROXY_URL="" \
# SambaNova
SAMBANOVA_API_KEY="" SAMBANOVA_MODEL_LIST="" \
# SenseNova
SENSENOVA_API_KEY="" SENSENOVA_MODEL_LIST="" \
# SiliconCloud
SILICONCLOUD_API_KEY="" SILICONCLOUD_MODEL_LIST="" SILICONCLOUD_PROXY_URL="" \
# Spark
SPARK_API_KEY="" SPARK_MODEL_LIST="" \
# Stepfun
STEPFUN_API_KEY="" STEPFUN_MODEL_LIST="" \
# Taichu
TAICHU_API_KEY="" TAICHU_MODEL_LIST="" \
# TogetherAI
TOGETHERAI_API_KEY="" TOGETHERAI_MODEL_LIST="" \
# Upstage
UPSTAGE_API_KEY="" UPSTAGE_MODEL_LIST="" \
# vLLM
VLLM_API_KEY="" VLLM_MODEL_LIST="" VLLM_PROXY_URL="" \
# Wenxin
WENXIN_API_KEY="" WENXIN_MODEL_LIST="" \
# xAI
XAI_API_KEY="" XAI_MODEL_LIST="" XAI_PROXY_URL="" \
# 01.AI
ZEROONE_API_KEY="" ZEROONE_MODEL_LIST="" \
# Zhipu
ZHIPU_API_KEY="" ZHIPU_MODEL_LIST="" \
# Tencent Cloud
TENCENT_CLOUD_API_KEY="" TENCENT_CLOUD_MODEL_LIST=""
USER nextjs
EXPOSE 3210
EXPOSE 3210/tcp
# set hostname to localhost
ENV HOSTNAME "0.0.0.0"
ENV PORT=3210
ENTRYPOINT ["/bin/node"]
# General Variables
ENV ACCESS_CODE ""
ENV API_KEY_SELECT_MODE ""
# OpenAI
ENV OPENAI_API_KEY ""
ENV OPENAI_PROXY_URL ""
ENV OPENAI_MODEL_LIST ""
# Azure OpenAI
ENV USE_AZURE_OPENAI ""
ENV AZURE_API_KEY ""
ENV AZURE_API_VERSION ""
# Google
ENV GOOGLE_API_KEY ""
# Zhipu
ENV ZHIPU_API_KEY ""
# Moonshot
ENV MOONSHOT_API_KEY ""
# Ollama
ENV OLLAMA_PROXY_URL ""
ENV OLLAMA_MODEL_LIST ""
# Perplexity
ENV PERPLEXITY_API_KEY ""
# Anthropic
ENV ANTHROPIC_API_KEY ""
# Mistral
ENV MISTRAL_API_KEY ""
# OpenRouter
ENV OPENROUTER_API_KEY ""
ENV OPENROUTER_MODEL_LIST ""
# 01.AI
ENV ZEROONE_API_KEY ""
# TogetherAI
ENV TOGETHERAI_API_KEY ""
# Minimax
ENV MINIMAX_API_KEY ""
# DeepSeek
ENV DEEPSEEK_API_KEY ""
# Qwen
ENV QWEN_API_KEY ""
CMD ["node", "server.js"]
CMD ["/app/startServer.js"]
+282
View File
@@ -0,0 +1,282 @@
## Set global build ENV
ARG NODEJS_VERSION="22"
## Base image for all building stages
FROM node:${NODEJS_VERSION}-slim AS base
ARG USE_CN_MIRROR
ENV DEBIAN_FRONTEND="noninteractive"
RUN \
# If you want to build docker in China, build with --build-arg USE_CN_MIRROR=true
if [ "${USE_CN_MIRROR:-false}" = "true" ]; then \
sed -i "s/deb.debian.org/mirrors.ustc.edu.cn/g" "/etc/apt/sources.list.d/debian.sources"; \
fi \
# Add required package
&& apt update \
&& apt install ca-certificates proxychains-ng -qy \
# Prepare required package to distroless
&& mkdir -p /distroless/bin /distroless/etc /distroless/etc/ssl/certs /distroless/lib \
# Copy proxychains to distroless
&& cp /usr/lib/$(arch)-linux-gnu/libproxychains.so.4 /distroless/lib/libproxychains.so.4 \
&& cp /usr/lib/$(arch)-linux-gnu/libdl.so.2 /distroless/lib/libdl.so.2 \
&& cp /usr/bin/proxychains4 /distroless/bin/proxychains \
&& cp /etc/proxychains4.conf /distroless/etc/proxychains4.conf \
# Copy node to distroless
&& cp /usr/lib/$(arch)-linux-gnu/libstdc++.so.6 /distroless/lib/libstdc++.so.6 \
&& cp /usr/lib/$(arch)-linux-gnu/libgcc_s.so.1 /distroless/lib/libgcc_s.so.1 \
&& cp /usr/local/bin/node /distroless/bin/node \
# Copy CA certificates to distroless
&& cp /etc/ssl/certs/ca-certificates.crt /distroless/etc/ssl/certs/ca-certificates.crt \
# Cleanup temp files
&& rm -rf /tmp/* /var/lib/apt/lists/* /var/tmp/*
## Builder image, install all the dependencies and build the app
FROM base AS builder
ARG USE_CN_MIRROR
ARG NEXT_PUBLIC_BASE_PATH
ARG NEXT_PUBLIC_SERVICE_MODE
ARG NEXT_PUBLIC_ENABLE_NEXT_AUTH
ARG NEXT_PUBLIC_SENTRY_DSN
ARG NEXT_PUBLIC_ANALYTICS_POSTHOG
ARG NEXT_PUBLIC_POSTHOG_HOST
ARG NEXT_PUBLIC_POSTHOG_KEY
ARG NEXT_PUBLIC_ANALYTICS_UMAMI
ARG NEXT_PUBLIC_UMAMI_SCRIPT_URL
ARG NEXT_PUBLIC_UMAMI_WEBSITE_ID
ENV NEXT_PUBLIC_BASE_PATH="${NEXT_PUBLIC_BASE_PATH}"
ENV NEXT_PUBLIC_SERVICE_MODE="${NEXT_PUBLIC_SERVICE_MODE:-server}" \
NEXT_PUBLIC_ENABLE_NEXT_AUTH="${NEXT_PUBLIC_ENABLE_NEXT_AUTH:-1}" \
APP_URL="http://app.com" \
DATABASE_DRIVER="node" \
DATABASE_URL="postgres://postgres:password@localhost:5432/postgres" \
KEY_VAULTS_SECRET="use-for-build"
# Sentry
ENV NEXT_PUBLIC_SENTRY_DSN="${NEXT_PUBLIC_SENTRY_DSN}" \
SENTRY_ORG="" \
SENTRY_PROJECT=""
# Posthog
ENV NEXT_PUBLIC_ANALYTICS_POSTHOG="${NEXT_PUBLIC_ANALYTICS_POSTHOG}" \
NEXT_PUBLIC_POSTHOG_HOST="${NEXT_PUBLIC_POSTHOG_HOST}" \
NEXT_PUBLIC_POSTHOG_KEY="${NEXT_PUBLIC_POSTHOG_KEY}"
# Umami
ENV NEXT_PUBLIC_ANALYTICS_UMAMI="${NEXT_PUBLIC_ANALYTICS_UMAMI}" \
NEXT_PUBLIC_UMAMI_SCRIPT_URL="${NEXT_PUBLIC_UMAMI_SCRIPT_URL}" \
NEXT_PUBLIC_UMAMI_WEBSITE_ID="${NEXT_PUBLIC_UMAMI_WEBSITE_ID}"
# Node
ENV NODE_OPTIONS="--max-old-space-size=8192"
WORKDIR /app
COPY package.json pnpm-workspace.yaml ./
COPY .npmrc ./
COPY packages ./packages
RUN \
# If you want to build docker in China, build with --build-arg USE_CN_MIRROR=true
if [ "${USE_CN_MIRROR:-false}" = "true" ]; then \
export SENTRYCLI_CDNURL="https://npmmirror.com/mirrors/sentry-cli"; \
npm config set registry "https://registry.npmmirror.com/"; \
echo 'canvas_binary_host_mirror=https://npmmirror.com/mirrors/canvas' >> .npmrc; \
fi \
# Set the registry for corepack
&& export COREPACK_NPM_REGISTRY=$(npm config get registry | sed 's/\/$//') \
# Update corepack to latest (nodejs/corepack#612)
&& npm i -g corepack@latest \
# Enable corepack
&& corepack enable \
# Use pnpm for corepack
&& corepack use $(sed -n 's/.*"packageManager": "\(.*\)".*/\1/p' package.json) \
# Install the dependencies
&& pnpm i \
# Add db migration dependencies
&& mkdir -p /deps \
&& cd /deps \
&& pnpm init \
&& pnpm add pg drizzle-orm
COPY . .
# run build standalone for docker version
RUN npm run build:docker
## Application image, copy all the files for production
FROM busybox:latest AS app
COPY --from=base /distroless/ /
# Automatically leverage output traces to reduce image size
# https://nextjs.org/docs/advanced-features/output-file-tracing
COPY --from=builder /app/.next/standalone /app/
# Copy database migrations
COPY --from=builder /app/src/database/migrations /app/migrations
COPY --from=builder /app/scripts/migrateServerDB/docker.cjs /app/docker.cjs
COPY --from=builder /app/scripts/migrateServerDB/errorHint.js /app/errorHint.js
# copy dependencies
COPY --from=builder /deps/node_modules/.pnpm /app/node_modules/.pnpm
COPY --from=builder /deps/node_modules/pg /app/node_modules/pg
COPY --from=builder /deps/node_modules/drizzle-orm /app/node_modules/drizzle-orm
# Copy server launcher
COPY --from=builder /app/scripts/serverLauncher/startServer.js /app/startServer.js
RUN \
# Add nextjs:nodejs to run the app
addgroup -S -g 1001 nodejs \
&& adduser -D -G nodejs -H -S -h /app -u 1001 nextjs \
# Set permission for nextjs:nodejs
&& chown -R nextjs:nodejs /app /etc/proxychains4.conf
## Production image, copy all the files and run next
FROM scratch
# Copy all the files from app, set the correct permission for prerender cache
COPY --from=app / /
ENV NODE_ENV="production" \
NODE_OPTIONS="--dns-result-order=ipv4first --use-openssl-ca" \
NODE_EXTRA_CA_CERTS="" \
NODE_TLS_REJECT_UNAUTHORIZED="" \
SSL_CERT_DIR="/etc/ssl/certs/ca-certificates.crt"
# Make the middleware rewrite through local as default
# refs: https://github.com/lobehub/lobe-chat/issues/5876
ENV MIDDLEWARE_REWRITE_THROUGH_LOCAL="1"
# set hostname to localhost
ENV HOSTNAME="0.0.0.0" \
PORT="3210"
# General Variables
ENV ACCESS_CODE="" \
APP_URL="" \
API_KEY_SELECT_MODE="" \
DEFAULT_AGENT_CONFIG="" \
SYSTEM_AGENT="" \
FEATURE_FLAGS="" \
PROXY_URL=""
# Database
ENV KEY_VAULTS_SECRET="" \
DATABASE_DRIVER="node" \
DATABASE_URL=""
# Next Auth
ENV NEXT_AUTH_SECRET="" \
NEXT_AUTH_SSO_PROVIDERS="" \
NEXTAUTH_URL=""
# S3
ENV NEXT_PUBLIC_S3_DOMAIN="" \
S3_PUBLIC_DOMAIN="" \
S3_ACCESS_KEY_ID="" \
S3_BUCKET="" \
S3_ENDPOINT="" \
S3_SECRET_ACCESS_KEY=""
# Model Variables
ENV \
# AI21
AI21_API_KEY="" AI21_MODEL_LIST="" \
# Ai360
AI360_API_KEY="" AI360_MODEL_LIST="" \
# Anthropic
ANTHROPIC_API_KEY="" ANTHROPIC_MODEL_LIST="" ANTHROPIC_PROXY_URL="" \
# Amazon Bedrock
AWS_ACCESS_KEY_ID="" AWS_SECRET_ACCESS_KEY="" AWS_REGION="" AWS_BEDROCK_MODEL_LIST="" \
# Azure OpenAI
AZURE_API_KEY="" AZURE_API_VERSION="" AZURE_ENDPOINT="" AZURE_MODEL_LIST="" \
# Baichuan
BAICHUAN_API_KEY="" BAICHUAN_MODEL_LIST="" \
# Cloudflare
CLOUDFLARE_API_KEY="" CLOUDFLARE_BASE_URL_OR_ACCOUNT_ID="" CLOUDFLARE_MODEL_LIST="" \
# DeepSeek
DEEPSEEK_API_KEY="" DEEPSEEK_MODEL_LIST="" \
# Fireworks AI
FIREWORKSAI_API_KEY="" FIREWORKSAI_MODEL_LIST="" \
# Gitee AI
GITEE_AI_API_KEY="" GITEE_AI_MODEL_LIST="" \
# GitHub
GITHUB_TOKEN="" GITHUB_MODEL_LIST="" \
# Google
GOOGLE_API_KEY="" GOOGLE_MODEL_LIST="" GOOGLE_PROXY_URL="" \
# Groq
GROQ_API_KEY="" GROQ_MODEL_LIST="" GROQ_PROXY_URL="" \
# Higress
HIGRESS_API_KEY="" HIGRESS_MODEL_LIST="" HIGRESS_PROXY_URL="" \
# HuggingFace
HUGGINGFACE_API_KEY="" HUGGINGFACE_MODEL_LIST="" HUGGINGFACE_PROXY_URL="" \
# Hunyuan
HUNYUAN_API_KEY="" HUNYUAN_MODEL_LIST="" \
# InternLM
INTERNLM_API_KEY="" INTERNLM_MODEL_LIST="" \
# Jina
JINA_API_KEY="" JINA_MODEL_LIST="" JINA_PROXY_URL="" \
# Minimax
MINIMAX_API_KEY="" MINIMAX_MODEL_LIST="" \
# Mistral
MISTRAL_API_KEY="" MISTRAL_MODEL_LIST="" \
# Moonshot
MOONSHOT_API_KEY="" MOONSHOT_MODEL_LIST="" MOONSHOT_PROXY_URL="" \
# Novita
NOVITA_API_KEY="" NOVITA_MODEL_LIST="" \
# Nvidia NIM
NVIDIA_API_KEY="" NVIDIA_MODEL_LIST="" NVIDIA_PROXY_URL="" \
# Ollama
ENABLED_OLLAMA="" OLLAMA_MODEL_LIST="" OLLAMA_PROXY_URL="" \
# OpenAI
OPENAI_API_KEY="" OPENAI_MODEL_LIST="" OPENAI_PROXY_URL="" \
# OpenRouter
OPENROUTER_API_KEY="" OPENROUTER_MODEL_LIST="" \
# Perplexity
PERPLEXITY_API_KEY="" PERPLEXITY_MODEL_LIST="" PERPLEXITY_PROXY_URL="" \
# PPIO
PPIO_API_KEY="" PPIO_MODEL_LIST="" \
# Qwen
QWEN_API_KEY="" QWEN_MODEL_LIST="" QWEN_PROXY_URL="" \
# SambaNova
SAMBANOVA_API_KEY="" SAMBANOVA_MODEL_LIST="" \
# SenseNova
SENSENOVA_API_KEY="" SENSENOVA_MODEL_LIST="" \
# SiliconCloud
SILICONCLOUD_API_KEY="" SILICONCLOUD_MODEL_LIST="" SILICONCLOUD_PROXY_URL="" \
# Spark
SPARK_API_KEY="" SPARK_MODEL_LIST="" \
# Stepfun
STEPFUN_API_KEY="" STEPFUN_MODEL_LIST="" \
# Taichu
TAICHU_API_KEY="" TAICHU_MODEL_LIST="" \
# TogetherAI
TOGETHERAI_API_KEY="" TOGETHERAI_MODEL_LIST="" \
# Upstage
UPSTAGE_API_KEY="" UPSTAGE_MODEL_LIST="" \
# vLLM
VLLM_API_KEY="" VLLM_MODEL_LIST="" VLLM_PROXY_URL="" \
# Wenxin
WENXIN_API_KEY="" WENXIN_MODEL_LIST="" \
# xAI
XAI_API_KEY="" XAI_MODEL_LIST="" XAI_PROXY_URL="" \
# 01.AI
ZEROONE_API_KEY="" ZEROONE_MODEL_LIST="" \
# Zhipu
ZHIPU_API_KEY="" ZHIPU_MODEL_LIST="" \
# Tencent Cloud
TENCENT_CLOUD_API_KEY="" TENCENT_CLOUD_MODEL_LIST=""
USER nextjs
EXPOSE 3210/tcp
ENTRYPOINT ["/bin/node"]
CMD ["/app/startServer.js"]
+238
View File
@@ -0,0 +1,238 @@
## Set global build ENV
ARG NODEJS_VERSION="22"
## Base image for all building stages
FROM node:${NODEJS_VERSION}-slim AS base
ARG USE_CN_MIRROR
ENV DEBIAN_FRONTEND="noninteractive"
RUN \
# If you want to build docker in China, build with --build-arg USE_CN_MIRROR=true
if [ "${USE_CN_MIRROR:-false}" = "true" ]; then \
sed -i "s/deb.debian.org/mirrors.ustc.edu.cn/g" "/etc/apt/sources.list.d/debian.sources"; \
fi \
# Add required package
&& apt update \
&& apt install ca-certificates proxychains-ng -qy \
# Prepare required package to distroless
&& mkdir -p /distroless/bin /distroless/etc /distroless/etc/ssl/certs /distroless/lib \
# Copy proxychains to distroless
&& cp /usr/lib/$(arch)-linux-gnu/libproxychains.so.4 /distroless/lib/libproxychains.so.4 \
&& cp /usr/lib/$(arch)-linux-gnu/libdl.so.2 /distroless/lib/libdl.so.2 \
&& cp /usr/bin/proxychains4 /distroless/bin/proxychains \
&& cp /etc/proxychains4.conf /distroless/etc/proxychains4.conf \
# Copy node to distroless
&& cp /usr/lib/$(arch)-linux-gnu/libstdc++.so.6 /distroless/lib/libstdc++.so.6 \
&& cp /usr/lib/$(arch)-linux-gnu/libgcc_s.so.1 /distroless/lib/libgcc_s.so.1 \
&& cp /usr/local/bin/node /distroless/bin/node \
# Copy CA certificates to distroless
&& cp /etc/ssl/certs/ca-certificates.crt /distroless/etc/ssl/certs/ca-certificates.crt \
# Cleanup temp files
&& rm -rf /tmp/* /var/lib/apt/lists/* /var/tmp/*
## Builder image, install all the dependencies and build the app
FROM base AS builder
ARG USE_CN_MIRROR
ARG NEXT_PUBLIC_BASE_PATH
ARG NEXT_PUBLIC_SENTRY_DSN
ARG NEXT_PUBLIC_ANALYTICS_POSTHOG
ARG NEXT_PUBLIC_POSTHOG_HOST
ARG NEXT_PUBLIC_POSTHOG_KEY
ARG NEXT_PUBLIC_ANALYTICS_UMAMI
ARG NEXT_PUBLIC_UMAMI_SCRIPT_URL
ARG NEXT_PUBLIC_UMAMI_WEBSITE_ID
ENV NEXT_PUBLIC_CLIENT_DB="pglite"
ENV NEXT_PUBLIC_BASE_PATH="${NEXT_PUBLIC_BASE_PATH}"
# Sentry
ENV NEXT_PUBLIC_SENTRY_DSN="${NEXT_PUBLIC_SENTRY_DSN}" \
SENTRY_ORG="" \
SENTRY_PROJECT=""
# Posthog
ENV NEXT_PUBLIC_ANALYTICS_POSTHOG="${NEXT_PUBLIC_ANALYTICS_POSTHOG}" \
NEXT_PUBLIC_POSTHOG_HOST="${NEXT_PUBLIC_POSTHOG_HOST}" \
NEXT_PUBLIC_POSTHOG_KEY="${NEXT_PUBLIC_POSTHOG_KEY}"
# Umami
ENV NEXT_PUBLIC_ANALYTICS_UMAMI="${NEXT_PUBLIC_ANALYTICS_UMAMI}" \
NEXT_PUBLIC_UMAMI_SCRIPT_URL="${NEXT_PUBLIC_UMAMI_SCRIPT_URL}" \
NEXT_PUBLIC_UMAMI_WEBSITE_ID="${NEXT_PUBLIC_UMAMI_WEBSITE_ID}"
# Node
ENV NODE_OPTIONS="--max-old-space-size=8192"
WORKDIR /app
COPY package.json pnpm-workspace.yaml ./
COPY .npmrc ./
COPY packages ./packages
RUN \
# If you want to build docker in China, build with --build-arg USE_CN_MIRROR=true
if [ "${USE_CN_MIRROR:-false}" = "true" ]; then \
export SENTRYCLI_CDNURL="https://npmmirror.com/mirrors/sentry-cli"; \
npm config set registry "https://registry.npmmirror.com/"; \
echo 'canvas_binary_host_mirror=https://npmmirror.com/mirrors/canvas' >> .npmrc; \
fi \
# Set the registry for corepack
&& export COREPACK_NPM_REGISTRY=$(npm config get registry | sed 's/\/$//') \
# Update corepack to latest (nodejs/corepack#612)
&& npm i -g corepack@latest \
# Enable corepack
&& corepack enable \
# Use pnpm for corepack
&& corepack use $(sed -n 's/.*"packageManager": "\(.*\)".*/\1/p' package.json) \
# Install the dependencies
&& pnpm i
COPY . .
# run build standalone for docker version
RUN npm run build:docker
## Application image, copy all the files for production
FROM busybox:latest AS app
COPY --from=base /distroless/ /
# Automatically leverage output traces to reduce image size
# https://nextjs.org/docs/advanced-features/output-file-tracing
COPY --from=builder /app/.next/standalone /app/
# Copy server launcher
COPY --from=builder /app/scripts/serverLauncher/startServer.js /app/startServer.js
RUN \
# Add nextjs:nodejs to run the app
addgroup -S -g 1001 nodejs \
&& adduser -D -G nodejs -H -S -h /app -u 1001 nextjs \
# Set permission for nextjs:nodejs
&& chown -R nextjs:nodejs /app /etc/proxychains4.conf
## Production image, copy all the files and run next
FROM scratch
# Copy all the files from app, set the correct permission for prerender cache
COPY --from=app / /
ENV NODE_ENV="production" \
NODE_OPTIONS="--dns-result-order=ipv4first --use-openssl-ca" \
NODE_EXTRA_CA_CERTS="" \
NODE_TLS_REJECT_UNAUTHORIZED="" \
SSL_CERT_DIR="/etc/ssl/certs/ca-certificates.crt"
# Make the middleware rewrite through local as default
# refs: https://github.com/lobehub/lobe-chat/issues/5876
ENV MIDDLEWARE_REWRITE_THROUGH_LOCAL="1"
# set hostname to localhost
ENV HOSTNAME="0.0.0.0" \
PORT="3210"
# General Variables
ENV ACCESS_CODE="" \
API_KEY_SELECT_MODE="" \
DEFAULT_AGENT_CONFIG="" \
SYSTEM_AGENT="" \
FEATURE_FLAGS="" \
PROXY_URL=""
# Model Variables
ENV \
# AI21
AI21_API_KEY="" AI21_MODEL_LIST="" \
# Ai360
AI360_API_KEY="" AI360_MODEL_LIST="" \
# Anthropic
ANTHROPIC_API_KEY="" ANTHROPIC_MODEL_LIST="" ANTHROPIC_PROXY_URL="" \
# Amazon Bedrock
AWS_ACCESS_KEY_ID="" AWS_SECRET_ACCESS_KEY="" AWS_REGION="" AWS_BEDROCK_MODEL_LIST="" \
# Azure OpenAI
AZURE_API_KEY="" AZURE_API_VERSION="" AZURE_ENDPOINT="" AZURE_MODEL_LIST="" \
# Baichuan
BAICHUAN_API_KEY="" BAICHUAN_MODEL_LIST="" \
# Cloudflare
CLOUDFLARE_API_KEY="" CLOUDFLARE_BASE_URL_OR_ACCOUNT_ID="" CLOUDFLARE_MODEL_LIST="" \
# DeepSeek
DEEPSEEK_API_KEY="" DEEPSEEK_MODEL_LIST="" \
# Fireworks AI
FIREWORKSAI_API_KEY="" FIREWORKSAI_MODEL_LIST="" \
# Gitee AI
GITEE_AI_API_KEY="" GITEE_AI_MODEL_LIST="" \
# GitHub
GITHUB_TOKEN="" GITHUB_MODEL_LIST="" \
# Google
GOOGLE_API_KEY="" GOOGLE_MODEL_LIST="" GOOGLE_PROXY_URL="" \
# Groq
GROQ_API_KEY="" GROQ_MODEL_LIST="" GROQ_PROXY_URL="" \
# Higress
HIGRESS_API_KEY="" HIGRESS_MODEL_LIST="" HIGRESS_PROXY_URL="" \
# HuggingFace
HUGGINGFACE_API_KEY="" HUGGINGFACE_MODEL_LIST="" HUGGINGFACE_PROXY_URL="" \
# Hunyuan
HUNYUAN_API_KEY="" HUNYUAN_MODEL_LIST="" \
# InternLM
INTERNLM_API_KEY="" INTERNLM_MODEL_LIST="" \
# Jina
JINA_API_KEY="" JINA_MODEL_LIST="" JINA_PROXY_URL="" \
# Minimax
MINIMAX_API_KEY="" MINIMAX_MODEL_LIST="" \
# Mistral
MISTRAL_API_KEY="" MISTRAL_MODEL_LIST="" \
# Moonshot
MOONSHOT_API_KEY="" MOONSHOT_MODEL_LIST="" MOONSHOT_PROXY_URL="" \
# Novita
NOVITA_API_KEY="" NOVITA_MODEL_LIST="" \
# Nvidia NIM
NVIDIA_API_KEY="" NVIDIA_MODEL_LIST="" NVIDIA_PROXY_URL="" \
# Ollama
ENABLED_OLLAMA="" OLLAMA_MODEL_LIST="" OLLAMA_PROXY_URL="" \
# OpenAI
OPENAI_API_KEY="" OPENAI_MODEL_LIST="" OPENAI_PROXY_URL="" \
# OpenRouter
OPENROUTER_API_KEY="" OPENROUTER_MODEL_LIST="" \
# Perplexity
PERPLEXITY_API_KEY="" PERPLEXITY_MODEL_LIST="" PERPLEXITY_PROXY_URL="" \
# Qwen
QWEN_API_KEY="" QWEN_MODEL_LIST="" QWEN_PROXY_URL="" \
# SambaNova
SAMBANOVA_API_KEY="" SAMBANOVA_MODEL_LIST="" \
# SenseNova
SENSENOVA_API_KEY="" SENSENOVA_MODEL_LIST="" \
# SiliconCloud
SILICONCLOUD_API_KEY="" SILICONCLOUD_MODEL_LIST="" SILICONCLOUD_PROXY_URL="" \
# Spark
SPARK_API_KEY="" SPARK_MODEL_LIST="" \
# Stepfun
STEPFUN_API_KEY="" STEPFUN_MODEL_LIST="" \
# Taichu
TAICHU_API_KEY="" TAICHU_MODEL_LIST="" \
# TogetherAI
TOGETHERAI_API_KEY="" TOGETHERAI_MODEL_LIST="" \
# Upstage
UPSTAGE_API_KEY="" UPSTAGE_MODEL_LIST="" \
# vLLM
VLLM_API_KEY="" VLLM_MODEL_LIST="" VLLM_PROXY_URL="" \
# Wenxin
WENXIN_API_KEY="" WENXIN_MODEL_LIST="" \
# xAI
XAI_API_KEY="" XAI_MODEL_LIST="" XAI_PROXY_URL="" \
# 01.AI
ZEROONE_API_KEY="" ZEROONE_MODEL_LIST="" \
# Zhipu
ZHIPU_API_KEY="" ZHIPU_MODEL_LIST="" \
# Tencent Cloud
TENCENT_CLOUD_API_KEY="" TENCENT_CLOUD_MODEL_LIST=""
USER nextjs
EXPOSE 3210/tcp
ENTRYPOINT ["/bin/node"]
CMD ["/app/startServer.js"]
+207 -100
View File
@@ -8,7 +8,7 @@ An open-source, modern-design ChatGPT/LLMs UI/Framework.<br/>
Supports speech-synthesis, multi-modal, and extensible ([function call][docs-functionc-call]) plugin system.<br/>
One-click **FREE** deployment of your private OpenAI ChatGPT/Claude/Gemini/Groq/Ollama chat application.
**English** · [简体中文](./README.zh-CN.md) · [Official Site][official-site] · [Changelog](./CHANGELOG.md) · [Documents][docs] · [Blog][blog] · [Feedback][github-issues-link]
**English** · [简体中文](./README.zh-CN.md) · [Official Site][official-site] · [Changelog][changelog] · [Documents][docs] · [Blog][blog] · [Feedback][github-issues-link]
<!-- SHIELD GROUP -->
@@ -41,7 +41,7 @@ One-click **FREE** deployment of your private OpenAI ChatGPT/Claude/Gemini/Groq/
[![][github-trending-shield]][github-trending-url]
[![][image-overview]][vercel-link]
![][image-overview]
</div>
@@ -52,22 +52,26 @@ One-click **FREE** deployment of your private OpenAI ChatGPT/Claude/Gemini/Groq/
- [👋🏻 Getting Started & Join Our Community](#-getting-started--join-our-community)
- [✨ Features](#-features)
- [`1` Multi-Model Service Provider Support](#1-multi-model-service-provider-support)
- [`2` Local Large Language Model (LLM) Support](#2-local-large-language-model-llm-support)
- [`3` Model Visual Recognition](#3-model-visual-recognition)
- [`4` TTS & STT Voice Conversation](#4-tts--stt-voice-conversation)
- [`5` Text to Image Generation](#5-text-to-image-generation)
- [`6` Plugin System (Function Calling)](#6-plugin-system-function-calling)
- [`7` Agent Market (GPTs)](#7-agent-market-gpts)
- [`8` Support Local / Remote Database](#8-support-local--remote-database)
- [`9` Support Multi-User Management](#9-support-multi-user-management)
- [`10` Progressive Web App (PWA)](#10-progressive-web-app-pwa)
- [`11` Mobile Device Adaptation](#11-mobile-device-adaptation)
- [`12` Custom Themes](#12-custom-themes)
- [`1` Chain of Thought](#1-chain-of-thought)
- [`2` Branching Conversations](#2-branching-conversations)
- [`3` Artifacts Support](#3-artifacts-support)
- [`4` File Upload /Knowledge Base](#4-file-upload-knowledge-base)
- [`5` Multi-Model Service Provider Support](#5-multi-model-service-provider-support)
- [`6` Local Large Language Model (LLM) Support](#6-local-large-language-model-llm-support)
- [`7` Model Visual Recognition](#7-model-visual-recognition)
- [`8` TTS & STT Voice Conversation](#8-tts--stt-voice-conversation)
- [`9` Text to Image Generation](#9-text-to-image-generation)
- [`10` Plugin System (Function Calling)](#10-plugin-system-function-calling)
- [`11` Agent Market (GPTs)](#11-agent-market-gpts)
- [`12` Support Local / Remote Database](#12-support-local--remote-database)
- [`13` Support Multi-User Management](#13-support-multi-user-management)
- [`14` Progressive Web App (PWA)](#14-progressive-web-app-pwa)
- [`15` Mobile Device Adaptation](#15-mobile-device-adaptation)
- [`16` Custom Themes](#16-custom-themes)
- [`*` What's more](#-whats-more)
- [⚡️ Performance](#-performance)
- [🛳 Self Hosting](#-self-hosting)
- [`A` Deploying with Vercel, Zeabur or Sealos](#a-deploying-with-vercel-zeabur-or-sealos)
- [`A` Deploying with Vercel, Zeabur , Sealos or Alibaba Cloud](#a-deploying-with-vercel-zeabur--sealos-or-alibaba-cloud)
- [`B` Deploying with Docker](#b-deploying-with-docker)
- [Environment Variable](#environment-variable)
- [📦 Ecosystem](#-ecosystem)
@@ -110,9 +114,66 @@ Whether for users or professional developers, LobeHub will be your AI Agent play
## ✨ Features
[![][image-feat-cot]][docs-feat-cot]
### `1` [Chain of Thought][docs-feat-cot]
Experience AI reasoning like never before. Watch as complex problems unfold step by step through our innovative Chain of Thought (CoT) visualization. This breakthrough feature provides unprecedented transparency into AI's decision-making process, allowing you to observe how conclusions are reached in real-time.
By breaking down complex reasoning into clear, logical steps, you can better understand and validate the AI's problem-solving approach. Whether you're debugging, learning, or simply curious about AI reasoning, CoT visualization transforms abstract thinking into an engaging, interactive experience.
[![][back-to-top]](#readme-top)
[![][image-feat-branch]][docs-feat-branch]
### `2` [Branching Conversations][docs-feat-branch]
Introducing a more natural and flexible way to chat with AI. With Branch Conversations, your discussions can flow in multiple directions, just like human conversations do. Create new conversation branches from any message, giving you the freedom to explore different paths while preserving the original context.
Choose between two powerful modes:
- **Continuation Mode:** Seamlessly extend your current discussion while maintaining valuable context
- **Standalone Mode:** Start fresh with a new topic based on any previous message
This groundbreaking feature transforms linear conversations into dynamic, tree-like structures, enabling deeper exploration of ideas and more productive interactions.
[![][back-to-top]](#readme-top)
[![][image-feat-artifacts]][docs-feat-artifacts]
### `3` [Artifacts Support][docs-feat-artifacts]
Experience the power of Claude Artifacts, now integrated into LobeChat. This revolutionary feature expands the boundaries of AI-human interaction, enabling real-time creation and visualization of diverse content formats.
Create and visualize with unprecedented flexibility:
- Generate and display dynamic SVG graphics
- Build and render interactive HTML pages in real-time
- Produce professional documents in multiple formats
[![][back-to-top]](#readme-top)
[![][image-feat-knowledgebase]][docs-feat-knowledgebase]
### `4` [File Upload /Knowledge Base][docs-feat-knowledgebase]
LobeChat supports file upload and knowledge base functionality. You can upload various types of files including documents, images, audio, and video, as well as create knowledge bases, making it convenient for users to manage and search for files. Additionally, you can utilize files and knowledge base features during conversations, enabling a richer dialogue experience.
<https://github.com/user-attachments/assets/faa8cf67-e743-4590-8bf6-ebf6ccc34175>
> \[!TIP]
>
> Learn more on [📘 LobeChat Knowledge Base Launch — From Now On, Every Step Counts](https://lobehub.com/blog/knowledge-base)
<div align="right">
[![][back-to-top]](#readme-top)
</div>
[![][image-feat-privoder]][docs-feat-provider]
### `1` [Multi-Model Service Provider Support][docs-feat-provider]
### `5` [Multi-Model Service Provider Support][docs-feat-provider]
In the continuous development of LobeChat, we deeply understand the importance of diversity in model service providers for meeting the needs of the community when providing AI conversation services. Therefore, we have expanded our support to multiple model service providers, rather than being limited to a single one, in order to offer users a more diverse and rich selection of conversations.
@@ -122,20 +183,56 @@ In this way, LobeChat can more flexibly adapt to the needs of different users, w
We have implemented support for the following model service providers:
- **AWS Bedrock**: Integrated with AWS Bedrock service, supporting models such as **Claude / LLama2**, providing powerful natural language processing capabilities. [Learn more](https://aws.amazon.com/cn/bedrock)
- **Anthropic (Claude)**: Accessed Anthropic's **Claude** series models, including Claude 3 and Claude 2, with breakthroughs in multi-modal capabilities and extended context, setting a new industry benchmark. [Learn more](https://www.anthropic.com/claude)
- **Google AI (Gemini Pro, Gemini Vision)**: Access to Google's **Gemini** series models, including Gemini and Gemini Pro, to support advanced language understanding and generation. [Learn more](https://deepmind.google/technologies/gemini/)
- **Groq**: Accessed Groq's AI models, efficiently processing message sequences and generating responses, capable of multi-turn dialogues and single-interaction tasks. [Learn more](https://groq.com/)
- **OpenRouter**: Supports routing of models including **Claude 3**, **Gemma**, **Mistral**, **Llama2** and **Cohere**, with intelligent routing optimization to improve usage efficiency, open and flexible. [Learn more](https://openrouter.ai/)
- **01.AI (Yi Model)**: Integrated the 01.AI models, with series of APIs featuring fast inference speed, which not only shortened the processing time, but also maintained excellent model performance. [Learn more](https://01.ai/)
- **Together.ai**: Over 100 leading open-source Chat, Language, Image, Code, and Embedding models are available through the Together Inference API. For these models you pay just for what you use. [Learn more](https://www.together.ai/)
- **ChatGLM**: Added the **ChatGLM** series models from Zhipuai (GLM-4/GLM-4-vision/GLM-3-turbo), providing users with another efficient conversation model choice. [Learn more](https://www.zhipuai.cn/)
- **Moonshot AI (Dark Side of the Moon)**: Integrated with the Moonshot series models, an innovative AI startup from China, aiming to provide deeper conversation understanding. [Learn more](https://www.moonshot.cn/)
- **Minimax**: Integrated the Minimax models, including the MoE model **abab6**, offers a broader range of choices. [Learn more](https://www.minimaxi.com/)
- **DeepSeek**: Integrated with the DeepSeek series models, an innovative AI startup from China, The product has been designed to provide a model that balances performance with price. [Learn more](https://www.deepseek.com/)
- **Qwen**: Integrated the Qwen series models, including the latest **qwen-turbo**, **qwen-plus** and **qwen-max**. [Lean more](https://help.aliyun.com/zh/dashscope/developer-reference/model-introduction)
<!-- PROVIDER LIST -->
At the same time, we are also planning to support more model service providers, such as Replicate and Perplexity, to further enrich our service provider library. If you would like LobeChat to support your favorite service provider, feel free to join our [community discussion](https://github.com/lobehub/lobe-chat/discussions/1284).
- **[OpenAI](https://lobechat.com/discover/provider/openai)**: OpenAI is a global leader in artificial intelligence research, with models like the GPT series pushing the frontiers of natural language processing. OpenAI is committed to transforming multiple industries through innovative and efficient AI solutions. Their products demonstrate significant performance and cost-effectiveness, widely used in research, business, and innovative applications.
- **[Ollama](https://lobechat.com/discover/provider/ollama)**: Ollama provides models that cover a wide range of fields, including code generation, mathematical operations, multilingual processing, and conversational interaction, catering to diverse enterprise-level and localized deployment needs.
- **[Anthropic](https://lobechat.com/discover/provider/anthropic)**: Anthropic is a company focused on AI research and development, offering a range of advanced language models such as Claude 3.5 Sonnet, Claude 3 Sonnet, Claude 3 Opus, and Claude 3 Haiku. These models achieve an ideal balance between intelligence, speed, and cost, suitable for various applications from enterprise workloads to rapid-response scenarios. Claude 3.5 Sonnet, as their latest model, has excelled in multiple evaluations while maintaining a high cost-performance ratio.
- **[Bedrock](https://lobechat.com/discover/provider/bedrock)**: Bedrock is a service provided by Amazon AWS, focusing on delivering advanced AI language and visual models for enterprises. Its model family includes Anthropic's Claude series, Meta's Llama 3.1 series, and more, offering a range of options from lightweight to high-performance, supporting tasks such as text generation, conversation, and image processing for businesses of varying scales and needs.
- **[Google](https://lobechat.com/discover/provider/google)**: Google's Gemini series represents its most advanced, versatile AI models, developed by Google DeepMind, designed for multimodal capabilities, supporting seamless understanding and processing of text, code, images, audio, and video. Suitable for various environments from data centers to mobile devices, it significantly enhances the efficiency and applicability of AI models.
- **[DeepSeek](https://lobechat.com/discover/provider/deepseek)**: DeepSeek is a company focused on AI technology research and application, with its latest model DeepSeek-V2.5 integrating general dialogue and code processing capabilities, achieving significant improvements in human preference alignment, writing tasks, and instruction following.
- **[HuggingFace](https://lobechat.com/discover/provider/huggingface)**: The HuggingFace Inference API provides a fast and free way for you to explore thousands of models for various tasks. Whether you are prototyping for a new application or experimenting with the capabilities of machine learning, this API gives you instant access to high-performance models across multiple domains.
- **[OpenRouter](https://lobechat.com/discover/provider/openrouter)**: OpenRouter is a service platform providing access to various cutting-edge large model interfaces, supporting OpenAI, Anthropic, LLaMA, and more, suitable for diverse development and application needs. Users can flexibly choose the optimal model and pricing based on their requirements, enhancing the AI experience.
- **[Cloudflare Workers AI](https://lobechat.com/discover/provider/cloudflare)**: Run serverless GPU-powered machine learning models on Cloudflare's global network.
- **[GitHub](https://lobechat.com/discover/provider/github)**: With GitHub Models, developers can become AI engineers and leverage the industry's leading AI models.
<details><summary><kbd>See more providers (+27)</kbd></summary>
- **[Novita](https://lobechat.com/discover/provider/novita)**: Novita AI is a platform providing a variety of large language models and AI image generation API services, flexible, reliable, and cost-effective. It supports the latest open-source models like Llama3 and Mistral, offering a comprehensive, user-friendly, and auto-scaling API solution for generative AI application development, suitable for the rapid growth of AI startups.
- **[PPIO](https://lobechat.com/discover/provider/ppio)**: PPIO supports stable and cost-efficient open-source LLM APIs, such as DeepSeek, Llama, Qwen etc.
- **[Together AI](https://lobechat.com/discover/provider/togetherai)**: Together AI is dedicated to achieving leading performance through innovative AI models, offering extensive customization capabilities, including rapid scaling support and intuitive deployment processes to meet various enterprise needs.
- **[Fireworks AI](https://lobechat.com/discover/provider/fireworksai)**: Fireworks AI is a leading provider of advanced language model services, focusing on functional calling and multimodal processing. Its latest model, Firefunction V2, is based on Llama-3, optimized for function calling, conversation, and instruction following. The visual language model FireLLaVA-13B supports mixed input of images and text. Other notable models include the Llama series and Mixtral series, providing efficient multilingual instruction following and generation support.
- **[Groq](https://lobechat.com/discover/provider/groq)**: Groq's LPU inference engine has excelled in the latest independent large language model (LLM) benchmarks, redefining the standards for AI solutions with its remarkable speed and efficiency. Groq represents instant inference speed, demonstrating strong performance in cloud-based deployments.
- **[Perplexity](https://lobechat.com/discover/provider/perplexity)**: Perplexity is a leading provider of conversational generation models, offering various advanced Llama 3.1 models that support both online and offline applications, particularly suited for complex natural language processing tasks.
- **[Mistral](https://lobechat.com/discover/provider/mistral)**: Mistral provides advanced general, specialized, and research models widely used in complex reasoning, multilingual tasks, and code generation. Through functional calling interfaces, users can integrate custom functionalities for specific applications.
- **[Ai21Labs](https://lobechat.com/discover/provider/ai21)**: AI21 Labs builds foundational models and AI systems for enterprises, accelerating the application of generative AI in production.
- **[Upstage](https://lobechat.com/discover/provider/upstage)**: Upstage focuses on developing AI models for various business needs, including Solar LLM and document AI, aiming to achieve artificial general intelligence (AGI) for work. It allows for the creation of simple conversational agents through Chat API and supports functional calling, translation, embedding, and domain-specific applications.
- **[xAI](https://lobechat.com/discover/provider/xai)**: xAI is a company dedicated to building artificial intelligence to accelerate human scientific discovery. Our mission is to advance our collective understanding of the universe.
- **[Qwen](https://lobechat.com/discover/provider/qwen)**: Tongyi Qianwen is a large-scale language model independently developed by Alibaba Cloud, featuring strong natural language understanding and generation capabilities. It can answer various questions, create written content, express opinions, and write code, playing a role in multiple fields.
- **[Wenxin](https://lobechat.com/discover/provider/wenxin)**: An enterprise-level one-stop platform for large model and AI-native application development and services, providing the most comprehensive and user-friendly toolchain for the entire process of generative artificial intelligence model development and application development.
- **[Hunyuan](https://lobechat.com/discover/provider/hunyuan)**: A large language model developed by Tencent, equipped with powerful Chinese creative capabilities, logical reasoning abilities in complex contexts, and reliable task execution skills.
- **[ZhiPu](https://lobechat.com/discover/provider/zhipu)**: Zhipu AI offers an open platform for multimodal and language models, supporting a wide range of AI application scenarios, including text processing, image understanding, and programming assistance.
- **[SiliconCloud](https://lobechat.com/discover/provider/siliconcloud)**: SiliconFlow is dedicated to accelerating AGI for the benefit of humanity, enhancing large-scale AI efficiency through an easy-to-use and cost-effective GenAI stack.
- **[01.AI](https://lobechat.com/discover/provider/zeroone)**: 01.AI focuses on AI 2.0 era technologies, vigorously promoting the innovation and application of 'human + artificial intelligence', using powerful models and advanced AI technologies to enhance human productivity and achieve technological empowerment.
- **[Spark](https://lobechat.com/discover/provider/spark)**: iFlytek's Spark model provides powerful AI capabilities across multiple domains and languages, utilizing advanced natural language processing technology to build innovative applications suitable for smart hardware, smart healthcare, smart finance, and other vertical scenarios.
- **[SenseNova](https://lobechat.com/discover/provider/sensenova)**: SenseNova, backed by SenseTime's robust infrastructure, offers efficient and user-friendly full-stack large model services.
- **[Stepfun](https://lobechat.com/discover/provider/stepfun)**: StepFun's large model possesses industry-leading multimodal and complex reasoning capabilities, supporting ultra-long text understanding and powerful autonomous scheduling search engine functions.
- **[Moonshot](https://lobechat.com/discover/provider/moonshot)**: Moonshot is an open-source platform launched by Beijing Dark Side Technology Co., Ltd., providing various natural language processing models with a wide range of applications, including but not limited to content creation, academic research, intelligent recommendations, and medical diagnosis, supporting long text processing and complex generation tasks.
- **[Baichuan](https://lobechat.com/discover/provider/baichuan)**: Baichuan Intelligence is a company focused on the research and development of large AI models, with its models excelling in domestic knowledge encyclopedias, long text processing, and generative creation tasks in Chinese, surpassing mainstream foreign models. Baichuan Intelligence also possesses industry-leading multimodal capabilities, performing excellently in multiple authoritative evaluations. Its models include Baichuan 4, Baichuan 3 Turbo, and Baichuan 3 Turbo 128k, each optimized for different application scenarios, providing cost-effective solutions.
- **[Minimax](https://lobechat.com/discover/provider/minimax)**: MiniMax is a general artificial intelligence technology company established in 2021, dedicated to co-creating intelligence with users. MiniMax has independently developed general large models of different modalities, including trillion-parameter MoE text models, voice models, and image models, and has launched applications such as Conch AI.
- **[InternLM](https://lobechat.com/discover/provider/internlm)**: An open-source organization dedicated to the research and development of large model toolchains. It provides an efficient and user-friendly open-source platform for all AI developers, making cutting-edge large models and algorithm technologies easily accessible.
- **[Higress](https://lobechat.com/discover/provider/higress)**: Higress is a cloud-native API gateway that was developed internally at Alibaba to address the issues of Tengine reload affecting long-lived connections and the insufficient load balancing capabilities for gRPC/Dubbo.
- **[Gitee AI](https://lobechat.com/discover/provider/giteeai)**: Gitee AI's Serverless API provides AI developers with an out of the box large model inference API service.
- **[Taichu](https://lobechat.com/discover/provider/taichu)**: The Institute of Automation, Chinese Academy of Sciences, and Wuhan Artificial Intelligence Research Institute have launched a new generation of multimodal large models, supporting comprehensive question-answering tasks such as multi-turn Q\&A, text creation, image generation, 3D understanding, and signal analysis, with stronger cognitive, understanding, and creative abilities, providing a new interactive experience.
- **[360 AI](https://lobechat.com/discover/provider/ai360)**: 360 AI is an AI model and service platform launched by 360 Company, offering various advanced natural language processing models, including 360GPT2 Pro, 360GPT Pro, 360GPT Turbo, and 360GPT Turbo Responsibility 8K. These models combine large-scale parameters and multimodal capabilities, widely applied in text generation, semantic understanding, dialogue systems, and code generation. With flexible pricing strategies, 360 AI meets diverse user needs, supports developer integration, and promotes the innovation and development of intelligent applications.
</details>
> 📊 Total providers: [<kbd>**37**</kbd>](https://lobechat.com/discover/providers)
<!-- PROVIDER LIST -->
At the same time, we are also planning to support more model service providers. If you would like LobeChat to support your favorite service provider, feel free to join our [💬 community discussion](https://github.com/lobehub/lobe-chat/discussions/1284).
<div align="right">
@@ -145,7 +242,7 @@ At the same time, we are also planning to support more model service providers,
[![][image-feat-local]][docs-feat-local]
### `2` [Local Large Language Model (LLM) Support][docs-feat-local]
### `6` [Local Large Language Model (LLM) Support][docs-feat-local]
To meet the specific needs of users, LobeChat also supports the use of local models based on [Ollama](https://ollama.ai), allowing users to flexibly use their own or third-party models.
@@ -161,7 +258,7 @@ To meet the specific needs of users, LobeChat also supports the use of local mod
[![][image-feat-vision]][docs-feat-vision]
### `3` [Model Visual Recognition][docs-feat-vision]
### `7` [Model Visual Recognition][docs-feat-vision]
LobeChat now supports OpenAI's latest [`gpt-4-vision`](https://platform.openai.com/docs/guides/vision) model with visual recognition capabilities,
a multimodal intelligence that can perceive visuals. Users can easily upload or drag and drop images into the dialogue box,
@@ -179,7 +276,7 @@ Whether it's sharing images in daily use or interpreting images within specific
[![][image-feat-tts]][docs-feat-tts]
### `4` [TTS & STT Voice Conversation][docs-feat-tts]
### `8` [TTS & STT Voice Conversation][docs-feat-tts]
LobeChat supports Text-to-Speech (TTS) and Speech-to-Text (STT) technologies, enabling our application to convert text messages into clear voice outputs,
allowing users to interact with our conversational agent as if they were talking to a real person. Users can choose from a variety of voices to pair with the agent.
@@ -196,7 +293,7 @@ Users can choose the voice that suits their personal preferences or specific sce
[![][image-feat-t2i]][docs-feat-t2i]
### `5` [Text to Image Generation][docs-feat-t2i]
### `9` [Text to Image Generation][docs-feat-t2i]
With support for the latest text-to-image generation technology, LobeChat now allows users to invoke image creation tools directly within conversations with the agent. By leveraging the capabilities of AI tools such as [`DALL-E 3`](https://openai.com/dall-e-3), [`MidJourney`](https://www.midjourney.com/), and [`Pollinations`](https://pollinations.ai/), the agents are now equipped to transform your ideas into images.
@@ -210,7 +307,7 @@ This enables a more private and immersive creative process, allowing for the sea
[![][image-feat-plugin]][docs-feat-plugin]
### `6` [Plugin System (Function Calling)][docs-feat-plugin]
### `10` [Plugin System (Function Calling)][docs-feat-plugin]
The plugin ecosystem of LobeChat is an important extension of its core functionality, greatly enhancing the practicality and flexibility of the LobeChat assistant.
@@ -226,14 +323,14 @@ In addition, these plugins are not limited to news aggregation, but can also ext
<!-- PLUGIN LIST -->
| Recent Submits | Description |
| ---------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- |
| [Savvy Trader AI](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **savvytrader** on **2024-06-27**</sup> | Realtime stock, crypto and other investment data.<br/>`stock` `analyze` |
| [Social Search](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **say-apps** on **2024-06-02**</sup> | The Social Search provides access to tweets, users, followers, images, media and more.<br/>`social` `twitter` `x` `search` |
| [Space](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **automateyournetwork** on **2024-05-12**</sup> | Space data including NASA.<br/>`space` `nasa` |
| [Search1API](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **fatwang2** on **2024-05-06**</sup> | Search aggregation service, specifically designed for LLMs<br/>`web` `search` |
| Recent Submits | Description |
| ---------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- |
| [Web](https://lobechat.com/discover/plugin/web)<br/><sup>By **Proghit** on **2025-01-24**</sup> | Smart web search that reads and analyzes pages to deliver comprehensive answers from Google results.<br/>`web` `search` |
| [MintbaseSearch](https://lobechat.com/discover/plugin/mintbasesearch)<br/><sup>By **mintbase** on **2024-12-31**</sup> | Find any NFT data on the NEAR Protocol.<br/>`crypto` `nft` |
| [Bing_websearch](https://lobechat.com/discover/plugin/Bingsearch-identifier)<br/><sup>By **FineHow** on **2024-12-22**</sup> | Search for information from the internet base BingApi<br/>`bingsearch` |
| [PortfolioMeta](https://lobechat.com/discover/plugin/StockData)<br/><sup>By **portfoliometa** on **2024-12-22**</sup> | Analyze stocks and get comprehensive real-time investment data and analytics.<br/>`stock` |
> 📊 Total plugins: [<kbd>**52**</kbd>](https://github.com/lobehub/lobe-chat-plugins)
> 📊 Total plugins: [<kbd>**47**</kbd>](https://lobechat.com/discover/plugins)
<!-- PLUGIN LIST -->
@@ -245,7 +342,7 @@ In addition, these plugins are not limited to news aggregation, but can also ext
[![][image-feat-agent]][docs-feat-agent]
### `7` [Agent Market (GPTs)][docs-feat-agent]
### `11` [Agent Market (GPTs)][docs-feat-agent]
In LobeChat Agent Marketplace, creators can discover a vibrant and innovative community that brings together a multitude of well-designed agents,
which not only play an important role in work scenarios but also offer great convenience in learning processes.
@@ -265,14 +362,14 @@ Our marketplace is not just a showcase platform but also a collaborative space.
<!-- AGENT LIST -->
| Recent Submits | Description |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [AOSP Source Code Expert](https://chat-preview.lobehub.com/market?agent=aosp-development)<br/><sup>By **[viruscoding](https://github.com/viruscoding)** on **2024-06-24**</sup> | An expert in AOSP (Android Open Source Project) for Android, with a deep understanding and analytical ability of the latest AOSP source code.<br/>`aosp` |
| [Fastapi Project Development Assistant](https://chat-preview.lobehub.com/market?agent=fastapi-development)<br/><sup>By **[xwxw098](https://github.com/xwxw098)** on **2024-06-19**</sup> | Proficient in Python modular development, skilled in using FastAPI, PostgreSQL, Tortoise-ORM, and other technologies, able to provide clear code structure and detailed comments for large projects.<br/>`fast-api` `python` `modular-development` |
| [IT Systems Architect](https://chat-preview.lobehub.com/market?agent=it-system-architect)<br/><sup>By **[a562314](https://github.com/a562314)** on **2024-06-19**</sup> | Senior IT architect specializing in requirements analysis, system design, technology selection, and cross-platform system optimization. With over 5 years of experience, proficient in Windows, macOS, and Linux operating systems, skilled in troubleshooting, and security protection.<br/>`it-architecture-design` `problem-solving` `agile-development` `system-optimization` `cross-platform-skills` `teamwork` |
| [Linux Kernel Expert](https://chat-preview.lobehub.com/market?agent=linux-kernel)<br/><sup>By **[wming126](https://github.com/wming126)** on **2024-06-19**</sup> | Role Description: I am an expert in Linux kernel, with a deep understanding and analytical ability of the latest kernel source code (as of June 2024). I can provide users with detailed and accurate information about the Linux kernel.<br/>`linux` `kernel` |
| Recent Submits | Description |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Cron Expression Assistant](https://lobechat.com/discover/assistant/crontab-generate)<br/><sup>By **[edgesider](https://github.com/edgesider)** on **2025-02-17**</sup> | Crontab Expression Generator<br/>`crontab` `time-expression` `trigger-time` `generator` `technical-assistance` |
| [Xiao Zhi French Translation Assistant](https://lobechat.com/discover/assistant/xiao-zhi-french-translation-asst-v-1)<br/><sup>By **[WeR-Best](https://github.com/WeR-Best)** on **2025-02-10**</sup> | A friendly, professional, and empathetic AI assistant for French translation<br/>`ai-assistant` `french-translation` `cross-cultural-communication` `creativity` |
| [Language Charm Learning Mentor](https://lobechat.com/discover/assistant/bad-language-helper)<br/><sup>By **[Guducat](https://github.com/Guducat)** on **2025-02-06**</sup> | Specializes in teaching the charm of language and witty responses<br/>`language-learning` `dialogue-examples` |
| [Astrology Researcher](https://lobechat.com/discover/assistant/fate-researcher)<br/><sup>By **[Jack980506](https://github.com/Jack980506)** on **2025-02-06**</sup> | Expert in BaZi astrology<br/>`astrology` `ba-zi` `traditional-culture` |
> 📊 Total agents: [<kbd>**293**</kbd> ](https://github.com/lobehub/lobe-chat-agents)
> 📊 Total agents: [<kbd>**487**</kbd> ](https://lobechat.com/discover/assistants)
<!-- AGENT LIST -->
@@ -284,7 +381,7 @@ Our marketplace is not just a showcase platform but also a collaborative space.
[![][image-feat-database]][docs-feat-database]
### `8` [Support Local / Remote Database][docs-feat-database]
### `12` [Support Local / Remote Database][docs-feat-database]
LobeChat supports the use of both server-side and local databases. Depending on your needs, you can choose the appropriate deployment solution:
@@ -301,13 +398,13 @@ Regardless of which database you choose, LobeChat can provide you with an excell
[![][image-feat-auth]][docs-feat-auth]
### `9` [Support Multi-User Management][docs-feat-auth]
### `13` [Support Multi-User Management][docs-feat-auth]
LobeChat supports multi-user management and provides two main user authentication and management solutions to meet different needs:
- **next-auth**: LobeChat integrates `next-auth`, a flexible and powerful identity verification library that supports multiple authentication methods, including OAuth, email login, credential login, etc. With `next-auth`, you can easily implement user registration, login, session management, social login, and other functions to ensure the security and privacy of user data.
- **Clerk**: For users who need more advanced user management features, LobeChat also supports `Clerk`, a modern user management platform. `Clerk` provides richer functions, such as multi-factor authentication (MFA), user profile management, login activity monitoring, etc. With `Clerk`, you can get higher security and flexibility, and easily cope with complex user management needs.
- [**Clerk**](https://go.clerk.com/exgqLG0): For users who need more advanced user management features, LobeChat also supports `Clerk`, a modern user management platform. `Clerk` provides richer functions, such as multi-factor authentication (MFA), user profile management, login activity monitoring, etc. With `Clerk`, you can get higher security and flexibility, and easily cope with complex user management needs.
Regardless of which user management solution you choose, LobeChat can provide you with an excellent user experience and powerful functional support.
@@ -319,7 +416,7 @@ Regardless of which user management solution you choose, LobeChat can provide yo
[![][image-feat-pwa]][docs-feat-pwa]
### `10` [Progressive Web App (PWA)][docs-feat-pwa]
### `14` [Progressive Web App (PWA)][docs-feat-pwa]
We deeply understand the importance of providing a seamless experience for users in today's multi-device environment.
Therefore, we have adopted Progressive Web Application ([PWA](https://support.google.com/chrome/answer/9658361)) technology,
@@ -346,7 +443,7 @@ providing smooth animations, responsive layouts, and adapting to different devic
[![][image-feat-mobile]][docs-feat-mobile]
### `11` [Mobile Device Adaptation][docs-feat-mobile]
### `15` [Mobile Device Adaptation][docs-feat-mobile]
We have carried out a series of optimization designs for mobile devices to enhance the user's mobile experience. Currently, we are iterating on the mobile user experience to achieve smoother and more intuitive interactions. If you have any suggestions or ideas, we welcome you to provide feedback through GitHub Issues or Pull Requests.
@@ -358,7 +455,7 @@ We have carried out a series of optimization designs for mobile devices to enhan
[![][image-feat-theme]][docs-feat-theme]
### `12` [Custom Themes][docs-feat-theme]
### `16` [Custom Themes][docs-feat-theme]
As a design-engineering-oriented application, LobeChat places great emphasis on users' personalized experiences,
hence introducing flexible and diverse theme modes, including a light mode for daytime and a dark mode for nighttime.
@@ -419,15 +516,15 @@ Beside these features, LobeChat also have much better basic technique undergroun
## 🛳 Self Hosting
LobeChat provides Self-Hosted Version with Vercel and [Docker Image][docker-release-link]. This allows you to deploy your own chatbot within a few minutes without any prior knowledge.
LobeChat provides Self-Hosted Version with Vercel, Alibaba Cloud, and [Docker Image][docker-release-link]. This allows you to deploy your own chatbot within a few minutes without any prior knowledge.
> \[!TIP]
>
> Learn more about [📘 Build your own LobeChat][docs-self-hosting] by checking it out.
### `A` Deploying with Vercel, Zeabur or Sealos
### `A` Deploying with Vercel, Zeabur , Sealos or Alibaba Cloud
If you want to deploy this service yourself on either Vercel or Zeabur, you can follow these steps:
"If you want to deploy this service yourself on Vercel, Zeabur or Alibaba Cloud, you can follow these steps:
- Prepare your [OpenAI API Key](https://platform.openai.com/account/api-keys).
- Click the button below to start deployment: Log in directly with your GitHub account, and remember to fill in the `OPENAI_API_KEY`(required) and `ACCESS_CODE` (recommended) on the environment variable section.
@@ -436,9 +533,9 @@ If you want to deploy this service yourself on either Vercel or Zeabur, you can
<div align="center">
| Deploy with Vercel | Deploy with Zeabur | Deploy with Sealos |
| :-------------------------------------: | :---------------------------------------------------------: | :---------------------------------------------------------: |
| [![][deploy-button-image]][deploy-link] | [![][deploy-on-zeabur-button-image]][deploy-on-zeabur-link] | [![][deploy-on-sealos-button-image]][deploy-on-sealos-link] |
| Deploy with Vercel | Deploy with Zeabur | Deploy with Sealos | Deploy with RepoCloud | Deploy with Alibaba Cloud |
| :-------------------------------------: | :---------------------------------------------------------: | :---------------------------------------------------------: | :---------------------------------------------------------------: | :-----------------------------------------------------------------------: |
| [![][deploy-button-image]][deploy-link] | [![][deploy-on-zeabur-button-image]][deploy-on-zeabur-link] | [![][deploy-on-sealos-button-image]][deploy-on-sealos-link] | [![][deploy-on-repocloud-button-image]][deploy-on-repocloud-link] | [![][deploy-on-alibaba-cloud-button-image]][deploy-on-alibaba-cloud-link] |
</div>
@@ -464,25 +561,22 @@ If you have deployed your own project following the one-click deployment steps i
We provide a Docker image for deploying the LobeChat service on your own private device. Use the following command to start the LobeChat service:
1. create a folder to for storage files
```fish
$ docker run -d -p 3210:3210 \
-e OPENAI_API_KEY=sk-xxxx \
-e ACCESS_CODE=lobe66 \
--name lobe-chat \
lobehub/lobe-chat
$ mkdir lobe-chat-db && cd lobe-chat-db
```
> \[!TIP]
>
> If you need to use the OpenAI service through a proxy, you can configure the proxy address using the `OPENAI_PROXY_URL` environment variable:
2. init the LobeChat infrastructure
```fish
$ docker run -d -p 3210:3210 \
-e OPENAI_API_KEY=sk-xxxx \
-e OPENAI_PROXY_URL=https://api-proxy.com/v1 \
-e ACCESS_CODE=lobe66 \
--name lobe-chat \
lobehub/lobe-chat
bash <(curl -fsSL https://lobe.li/setup.sh)
```
3. Start the LobeChat service
```fish
docker compose up -d
```
> \[!NOTE]
@@ -575,7 +669,7 @@ If you would like to learn more details, please feel free to look at our [📘 D
## 🤝 Contributing
Contributions of all types are more than welcome; if you are interested in contributing code, feel free to check out our GitHub [Issues][github-issues-link] and [Projects][github-project-link] to get stuck in to show us what youre made of.
Contributions of all types are more than welcome; if you are interested in contributing code, feel free to check out our GitHub [Issues][github-issues-link] and [Projects][github-project-link] to get stuck in to show us what you're made of.
> \[!TIP]
>
@@ -672,6 +766,7 @@ This project is [Apache 2.0](./LICENSE) licensed.
[back-to-top]: https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square
[blog]: https://lobehub.com/blog
[changelog]: https://lobehub.com/changelog
[chat-desktop]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/chat/desktop/pagespeed.svg
[chat-desktop-report]: https://lobehub.github.io/lobe-chat/lighthouse/chat/desktop/chat_preview_lobehub_com_chat.html
[chat-mobile]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/chat/mobile/pagespeed.svg
@@ -685,26 +780,34 @@ This project is [Apache 2.0](./LICENSE) licensed.
[codespaces-shield]: https://github.com/codespaces/badge.svg
[deploy-button-image]: https://vercel.com/button
[deploy-link]: https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Flobehub%2Flobe-chat&env=OPENAI_API_KEY,ACCESS_CODE&envDescription=Find%20your%20OpenAI%20API%20Key%20by%20click%20the%20right%20Learn%20More%20button.%20%7C%20Access%20Code%20can%20protect%20your%20website&envLink=https%3A%2F%2Fplatform.openai.com%2Faccount%2Fapi-keys&project-name=lobe-chat&repository-name=lobe-chat
[deploy-on-alibaba-cloud-button-image]: https://service-info-public.oss-cn-hangzhou.aliyuncs.com/computenest-en.svg
[deploy-on-alibaba-cloud-link]: https://computenest.console.aliyun.com/service/instance/create/default?type=user&ServiceName=LobeChat%E7%A4%BE%E5%8C%BA%E7%89%88
[deploy-on-repocloud-button-image]: https://d16t0pc4846x52.cloudfront.net/deploylobe.svg
[deploy-on-repocloud-link]: https://repocloud.io/details/?app_id=248
[deploy-on-sealos-button-image]: https://raw.githubusercontent.com/labring-actions/templates/main/Deploy-on-Sealos.svg
[deploy-on-sealos-link]: https://cloud.sealos.io/?openapp=system-template%3FtemplateName%3Dlobe-chat
[deploy-on-sealos-link]: https://template.usw.sealos.io/deploy?templateName=lobe-chat-db
[deploy-on-zeabur-button-image]: https://zeabur.com/button.svg
[deploy-on-zeabur-link]: https://zeabur.com/templates/VZGGTI
[discord-link]: https://discord.gg/AYFPHvv2jT
[discord-shield]: https://img.shields.io/discord/1127171173982154893?color=5865F2&label=discord&labelColor=black&logo=discord&logoColor=white&style=flat-square
[discord-shield-badge]: https://img.shields.io/discord/1127171173982154893?color=5865F2&label=discord&labelColor=black&logo=discord&logoColor=white&style=for-the-badge
[docker-pulls-link]: https://hub.docker.com/r/lobehub/lobe-chat
[docker-pulls-shield]: https://img.shields.io/docker/pulls/lobehub/lobe-chat?color=45cc11&labelColor=black&style=flat-square
[docker-release-link]: https://hub.docker.com/r/lobehub/lobe-chat
[docker-release-shield]: https://img.shields.io/docker/v/lobehub/lobe-chat?color=369eff&label=docker&labelColor=black&logo=docker&logoColor=white&style=flat-square
[docker-size-link]: https://hub.docker.com/r/lobehub/lobe-chat
[docker-size-shield]: https://img.shields.io/docker/image-size/lobehub/lobe-chat?color=369eff&labelColor=black&style=flat-square
[docker-pulls-link]: https://hub.docker.com/r/lobehub/lobe-chat-database
[docker-pulls-shield]: https://img.shields.io/docker/pulls/lobehub/lobe-chat?color=45cc11&labelColor=black&style=flat-square&sort=semver
[docker-release-link]: https://hub.docker.com/r/lobehub/lobe-chat-database
[docker-release-shield]: https://img.shields.io/docker/v/lobehub/lobe-chat-database?color=369eff&label=docker&labelColor=black&logo=docker&logoColor=white&style=flat-square&sort=semver
[docker-size-link]: https://hub.docker.com/r/lobehub/lobe-chat-database
[docker-size-shield]: https://img.shields.io/docker/image-size/lobehub/lobe-chat-database?color=369eff&labelColor=black&style=flat-square&sort=semver
[docs]: https://lobehub.com/docs/usage/start
[docs-dev-guide]: https://github.com/lobehub/lobe-chat/wiki/index
[docs-docker]: https://lobehub.com/docs/self-hosting/platform/docker
[docs-docker]: https://lobehub.com/docs/self-hosting/server-database/docker-compose
[docs-env-var]: https://lobehub.com/docs/self-hosting/environment-variables
[docs-feat-agent]: https://lobehub.com/docs/usage/features/agent-market
[docs-feat-artifacts]: https://lobehub.com/docs/usage/features/artifacts
[docs-feat-auth]: https://lobehub.com/docs/usage/features/auth
[docs-feat-branch]: https://lobehub.com/docs/usage/features/branching-conversations
[docs-feat-cot]: https://lobehub.com/docs/usage/features/cot
[docs-feat-database]: https://lobehub.com/docs/usage/features/database
[docs-feat-knowledgebase]: https://lobehub.com/blog/knowledge-base
[docs-feat-local]: https://lobehub.com/docs/usage/features/local-llm
[docs-feat-mobile]: https://lobehub.com/docs/usage/features/mobile
[docs-feat-plugin]: https://lobehub.com/docs/usage/features/plugin-system
@@ -744,21 +847,25 @@ This project is [Apache 2.0](./LICENSE) licensed.
[github-stars-shield]: https://img.shields.io/github/stars/lobehub/lobe-chat?color=ffcb47&labelColor=black&style=flat-square
[github-trending-shield]: https://trendshift.io/api/badge/repositories/2256
[github-trending-url]: https://trendshift.io/repositories/2256
[image-banner]: https://github.com/lobehub/lobe-chat/assets/28616219/9f155dff-4737-429f-9cad-a70a1a860c5f
[image-feat-agent]: https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/268670869-f1ffbf66-42b6-42cf-a937-9ce1f8328514.png
[image-feat-auth]: https://github.com/lobehub/lobe-chat/assets/17870709/8ce70e15-40df-451e-b700-66090fe5b8c2
[image-feat-database]: https://github.com/lobehub/lobe-chat/assets/17870709/c27a0234-a4e9-40e5-8bcb-42d5ce7e40f9
[image-feat-local]: https://github.com/lobehub/lobe-chat/assets/28616219/ca9a21bc-ea6c-4c90-bf4a-fa53b4fb2b5c
[image-feat-mobile]: https://gw.alipayobjects.com/zos/kitchen/R441AuFS4W/mobile.webp
[image-feat-plugin]: https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/268670883-33c43a5c-a512-467e-855c-fa299548cce5.png
[image-feat-privoder]: https://github.com/lobehub/lobe-chat/assets/28616219/b164bc54-8ba2-4c1e-b2f2-f4d7f7e7a551
[image-feat-pwa]: https://gw.alipayobjects.com/zos/kitchen/69x6bllkX3/pwa.webp
[image-feat-t2i]: https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/297746445-0ff762b9-aa08-4337-afb7-12f932b6efbb.png
[image-feat-theme]: https://gw.alipayobjects.com/zos/kitchen/pvus1lo%26Z7/darkmode.webp
[image-feat-tts]: https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/284072124-c9853d8d-f1b5-44a8-a305-45ebc0f6d19a.png
[image-feat-vision]: https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/284072129-382bdf30-e3d6-4411-b5a0-249710b8ba08.png
[image-overview]: https://github.com/lobehub/lobe-chat/assets/17870709/56b95d48-f573-41cd-8b38-387bf88bc4bf
[image-star]: https://github.com/lobehub/lobe-chat/assets/17870709/cb06b748-513f-47c2-8740-d876858d7855
[image-banner]: https://github.com/user-attachments/assets/6f293c7f-47b4-47eb-9202-fe68a942d35b
[image-feat-agent]: https://github.com/user-attachments/assets/b3ab6e35-4fbc-468d-af10-e3e0c687350f
[image-feat-artifacts]: https://github.com/user-attachments/assets/7f95fad6-b210-4e6e-84a0-7f39e96f3a00
[image-feat-auth]: https://github.com/user-attachments/assets/80bb232e-19d1-4f97-98d6-e291f3585e6d
[image-feat-branch]: https://github.com/user-attachments/assets/92f72082-02bd-4835-9c54-b089aad7fd41
[image-feat-cot]: https://github.com/user-attachments/assets/f74f1139-d115-4e9c-8c43-040a53797a5e
[image-feat-database]: https://github.com/user-attachments/assets/f1697c8b-d1fb-4dac-ba05-153c6295d91d
[image-feat-knowledgebase]: https://github.com/user-attachments/assets/7da7a3b2-92fd-4630-9f4e-8560c74955ae
[image-feat-local]: https://github.com/user-attachments/assets/1239da50-d832-4632-a7ef-bd754c0f3850
[image-feat-mobile]: https://github.com/user-attachments/assets/32cf43c4-96bd-4a4c-bfb6-59acde6fe380
[image-feat-plugin]: https://github.com/user-attachments/assets/66a891ac-01b6-4e3f-b978-2eb07b489b1b
[image-feat-privoder]: https://github.com/user-attachments/assets/e553e407-42de-4919-977d-7dbfcf44a821
[image-feat-pwa]: https://github.com/user-attachments/assets/9647f70f-b71b-43b6-9564-7cdd12d1c24d
[image-feat-t2i]: https://github.com/user-attachments/assets/708274a7-2458-494b-a6ec-b73dfa1fa7c2
[image-feat-theme]: https://github.com/user-attachments/assets/b47c39f1-806f-492b-8fcb-b0fa973937c1
[image-feat-tts]: https://github.com/user-attachments/assets/50189597-2cc3-4002-b4c8-756a52ad5c0a
[image-feat-vision]: https://github.com/user-attachments/assets/18574a1f-46c2-4cbc-af2c-35a86e128a07
[image-overview]: https://github.com/user-attachments/assets/dbfaa84a-2c82-4dd9-815c-5be616f264a4
[image-star]: https://github.com/user-attachments/assets/c3b482e7-cef5-4e94-bef9-226900ecfaab
[issues-link]: https://img.shields.io/github/issues/lobehub/lobe-chat.svg?style=flat
[lobe-chat-plugins]: https://github.com/lobehub/lobe-chat-plugins
[lobe-commit]: https://github.com/lobehub/lobe-commit/tree/master/packages/lobe-commit
@@ -783,7 +890,7 @@ This project is [Apache 2.0](./LICENSE) licensed.
[profile-link]: https://github.com/lobehub
[share-linkedin-link]: https://linkedin.com/feed
[share-linkedin-shield]: https://img.shields.io/badge/-share%20on%20linkedin-black?labelColor=black&logo=linkedin&logoColor=white&style=flat-square
[share-mastodon-link]: https://mastodon.social/share?text=Check%20this%20GitHub%20repository%20out%20%F0%9F%A4%AF%20LobeChat%20-%20An%20open-source,%20extensible%20(Function%20Calling),%20high-performance%20chatbot%20framework.%20It%20supports%20one-click%20free%20deployment%20of%20your%20private%20ChatGPT/LLM%20web%20application.%20https://github.com/lobehub/lobe-chat%20#chatbot%20#chatGPT%20#openAI
[share-mastodon-link]: https://mastodon.social/share?text=Check%20this%20GitHub%20repository%20out%20%F0%9F%A4%AF%20LobeChat%20-%20An%20open-source,%20extensible%20%28Function%20Calling%29,%20high-performance%20chatbot%20framework.%20It%20supports%20one-click%20free%20deployment%20of%20your%20private%20ChatGPT%2FLLM%20web%20application.%20https://github.com/lobehub/lobe-chat%20#chatbot%20#chatGPT%20#openAI
[share-mastodon-shield]: https://img.shields.io/badge/-share%20on%20mastodon-black?labelColor=black&logo=mastodon&logoColor=white&style=flat-square
[share-reddit-link]: https://www.reddit.com/submit?title=Check%20this%20GitHub%20repository%20out%20%F0%9F%A4%AF%20LobeChat%20-%20An%20open-source%2C%20extensible%20%28Function%20Calling%29%2C%20high-performance%20chatbot%20framework.%20It%20supports%20one-click%20free%20deployment%20of%20your%20private%20ChatGPT%2FLLM%20web%20application.%20%23chatbot%20%23chatGPT%20%23openAI&url=https%3A%2F%2Fgithub.com%2Flobehub%2Flobe-chat
[share-reddit-shield]: https://img.shields.io/badge/-share%20on%20reddit-black?labelColor=black&logo=reddit&logoColor=white&style=flat-square
+207 -102
View File
@@ -8,7 +8,7 @@
支持语音合成、多模态、可扩展的([function call][docs-functionc-call])插件系统<br/>
一键**免费**拥有你自己的 ChatGPT/Gemini/Claude/Ollama 应用
[English](./README.md) · **简体中文** · [官网][official-site] · [更新日志](./CHANGELOG.md) · [文档][docs] · [博客][blog] · [反馈问题][github-issues-link]
[English](./README.md) · **简体中文** · [官网][official-site] · [更新日志][changelog] · [文档][docs] · [博客][blog] · [反馈问题][github-issues-link]
<!-- SHIELD GROUP -->
@@ -41,7 +41,7 @@
[![][github-trending-shield]][github-trending-url]
[![][github-hello-shield]][github-hello-url]
[![][image-overview]][vercel-link]
![][image-overview]
</div>
@@ -52,22 +52,26 @@
- [👋🏻 开始使用 & 交流](#-开始使用--交流)
- [✨ 特性一览](#-特性一览)
- [`1` 多模型服务商支持](#1-多模型服务商支持)
- [`2` 支持本地大语言模型 (LLM)](#2-支持本地大语言模型-llm)
- [`3` 模型视觉识别 (Model Visual)](#3-模型视觉识别-model-visual)
- [`4` TTS & STT 语音会话](#4-tts--stt-语音会话)
- [`5` Text to Image 文生图](#5-text-to-image-文生图)
- [`6` 插件系统 (Function Calling)](#6-插件系统-function-calling)
- [`7` 助手市场 (GPTs)](#7-助手市场-gpts)
- [`8` 支持本地 / 远程数据库](#8-支持本地--远程数据库)
- [`9` 支持多用户管理](#9-支持多用户管理)
- [`10` 渐进式 Web 应用 (PWA)](#10-渐进式-web-应用-pwa)
- [`11` 移动设备适配](#11-移动设备适配)
- [`12` 自定义主题](#12-自定义主题)
- [更多特性](#更多特性)
- [`1` 思维链 (CoT)](#1-思维链-cot)
- [`2` 分支对话](#2-分支对话)
- [`3` 支持白板 (Artifacts)](#3-支持白板-artifacts)
- [`4` 文件上传 / 知识库](#4-文件上传--知识库)
- [`5` 多模型服务商支持](#5-多模型服务商支持)
- [`6` 支持本地大语言模型 (LLM)](#6-支持本地大语言模型-llm)
- [`7` 模型视觉识别 (Model Visual)](#7-模型视觉识别-model-visual)
- [`8` TTS & STT 语音会话](#8-tts--stt-语音会话)
- [`9` Text to Image 文生图](#9-text-to-image-文生图)
- [`10` 插件系统 (Tools Calling)](#10-插件系统-tools-calling)
- [`11` 助手市场 (GPTs)](#11-助手市场-gpts)
- [`12` 支持本地 / 远程数据库](#12-支持本地--远程数据库)
- [`13` 支持多用户管理](#13-支持多用户管理)
- [`14` 渐进式 Web 应用 (PWA)](#14-渐进式-web-应用-pwa)
- [`15` 移动设备适配](#15-移动设备适配)
- [`16` 自定义主题](#16-自定义主题)
- [`*` 更多特性](#-更多特性)
- [⚡️ 性能测试](#-性能测试)
- [🛳 开箱即用](#-开箱即用)
- [`A` 使用 Vercel、Zeabur Sealos 部署](#a-使用-vercelzeabur-或-sealos-部署)
- [`A` 使用 Vercel、Zeabur Sealos 或 阿里云计算巢 部署](#a-使用-vercelzeabur-sealos-或-阿里云计算巢-部署)
- [`B` 使用 Docker 部署](#b-使用-docker-部署)
- [环境变量](#环境变量)
- [获取 OpenAI API Key](#获取-openai-api-key)
@@ -110,9 +114,66 @@
## ✨ 特性一览
[![][image-feat-cot]][docs-feat-cot]
### `1` [思维链 (CoT)][docs-feat-cot]
体验前所未有的 AI 推理过程。通过创新的思维链(CoT)可视化功能,您可以实时观察复杂问题是如何一步步被解析的。这项突破性的功能为 AI 的决策过程提供了前所未有的透明度,让您能够清晰地了解结论是如何得出的。
通过将复杂的推理过程分解为清晰的逻辑步骤,您可以更好地理解和验证 AI 的解题思路。无论您是在调试问题、学习知识,还是单纯对 AI 推理感兴趣,思维链可视化都能将抽象思维转化为一种引人入胜的互动体验。
[![][back-to-top]](#readme-top)
[![][image-feat-branch]][docs-feat-branch]
### `2` [分支对话][docs-feat-branch]
为您带来更自然、更灵活的 AI 对话方式。通过分支对话功能,您的讨论可以像人类对话一样自然延伸。在任意消息处创建新的对话分支,让您在保留原有上下文的同时,自由探索不同的对话方向。
两种强大模式任您选择:
- **延续模式**:无缝延展当前讨论,保持宝贵的对话上下文
- **独立模式**:基于任意历史消息,开启全新话题探讨
这项突破性功能将线性对话转变为动态的树状结构,让您能够更深入地探索想法,实现更高效的互动体验。
[![][back-to-top]](#readme-top)
[![][image-feat-artifacts]][docs-feat-artifacts]
### `3` [支持白板 (Artifacts)][docs-feat-artifacts]
体验集成于 LobeChat 的 Claude Artifacts 能力。这项革命性功能突破了 AI 人机交互的边界,让您能够实时创建和可视化各种格式的内容。
以前所未有的灵活度进行创作与可视化:
- 生成并展示动态 SVG 图形
- 实时构建与渲染交互式 HTML 页面
- 输出多种格式的专业文档
[![][back-to-top]](#readme-top)
[![][image-feat-knowledgebase]][docs-feat-knowledgebase]
### `4` [文件上传 / 知识库][docs-feat-knowledgebase]
LobeChat 支持文件上传与知识库功能,你可以上传文件、图片、音频、视频等多种类型的文件,以及创建知识库,方便用户管理和查找文件。同时在对话中使用文件和知识库功能,实现更加丰富的对话体验。
<https://github.com/user-attachments/assets/faa8cf67-e743-4590-8bf6-ebf6ccc34175>
> \[!TIP]
>
> 查阅 [📘 LobeChat 知识库上线 —— 此刻起,跬步千里](https://lobehub.com/zh/blog/knowledge-base) 了解详情。
<div align="right">
[![][back-to-top]](#readme-top)
</div>
[![][image-feat-privoder]][docs-feat-provider]
### `1` [多模型服务商支持][docs-feat-provider]
### `5` [多模型服务商支持][docs-feat-provider]
在 LobeChat 的不断发展过程中,我们深刻理解到在提供 AI 会话服务时模型服务商的多样性对于满足社区需求的重要性。因此,我们不再局限于单一的模型服务商,而是拓展了对多种模型服务商的支持,以便为用户提供更为丰富和多样化的会话选择。
@@ -122,20 +183,56 @@
我们已经实现了对以下模型服务商的支持:
- **AWS Bedrock**:集成了 AWS Bedrock 服务,支持了 **Claude / LLama2** 等模型,提供了强大的自然语言处理能力。[了解更多](https://aws.amazon.com/cn/bedrock)
- **Google AI (Gemini Pro、Gemini Vision)**:接入了 Google 的 **Gemini** 系列模型,包括 Gemini 和 Gemini Pro,以支持更高级的语言理解和生成。[了解更多](https://deepmind.google/technologies/gemini/)
- **Anthropic (Claude)**:接入了 Anthropic 的 **Claude** 系列模型,包括 Claude 3 和 Claude 2,多模态突破,超长上下文,树立行业新基准。[了解更多](https://www.anthropic.com/claude)
- **ChatGLM**:加入了智谱的 **ChatGLM** 系列模型(GLM-4/GLM-4-vision/GLM-3-turbo),为用户提供了另一种高效的会话模型选择。[了解更多](https://www.zhipuai.cn/)
- **Moonshot AI (月之暗面)**:集成了 Moonshot 系列模型,这是一家来自中国的创新性 AI 创业公司,旨在提供更深层次的会话理解。[了解更多](https://www.moonshot.cn/)
- **Together.ai**:集成部署了数百种开源模型和向量模型,无需本地部署即可随时访问这些模型。[了解更多](https://www.together.ai/)
- **01.AI (零一万物)**:集成了零一万物模型,系列 API 具备较快的推理速度,这不仅缩短了处理时间,同时也保持了出色的模型效果。[了解更多](https://www.lingyiwanwu.com/)
- **Groq**:接入了 Groq 的 AI 模型,高效处理消息序列,生成回应,胜任多轮对话及单次交互任务。[了解更多](https://groq.com/)
- **OpenRouter**:其支持包括 **Claude 3****Gemma****Mistral****Llama2**和**Cohere**等模型路由,支持智能路由优化,提升使用效率,开放且灵活。[了解更多](https://openrouter.ai/)
- **Minimax**: 接入了 Minimax 的 AI 模型,包括 MoE 模型 **abab6**,提供了更多的选择空间。[了解更多](https://www.minimaxi.com/)
- **DeepSeek**: 接入了 DeepSeek 的 AI 模型,包括最新的 **DeepSeek-V2**,提供兼顾性能与价格的模型。[了解更多](https://www.deepseek.com/)
- **Qwen**: 接入了 Qwen 的 AI 模型,包括最新的 **qwen-turbo****qwen-plus** 和 **qwen-max** 等模型。[了解更多](https://help.aliyun.com/zh/dashscope/developer-reference/model-introduction)
<!-- PROVIDER LIST -->
同时,我们也在计划支持更多的模型服务商,如 Replicate 和 Perplexity 等,以进一步丰富我们的服务商库。如果你希望让 LobeChat 支持你喜爱的服务商,欢迎加入我们的[社区讨论](https://github.com/lobehub/lobe-chat/discussions/1284)
- **[OpenAI](https://lobechat.com/discover/provider/openai)**: OpenAI 是全球领先的人工智能研究机构,其开发的模型如 GPT 系列推动了自然语言处理的前沿。OpenAI 致力于通过创新和高效的 AI 解决方案改变多个行业。他们的产品具有显著的性能和经济性,广泛用于研究、商业和创新应用
- **[Ollama](https://lobechat.com/discover/provider/ollama)**: Ollama 提供的模型广泛涵盖代码生成、数学运算、多语种处理和对话互动等领域,支持企业级和本地化部署的多样化需求。
- **[Anthropic](https://lobechat.com/discover/provider/anthropic)**: Anthropic 是一家专注于人工智能研究和开发的公司,提供了一系列先进的语言模型,如 Claude 3.5 Sonnet、Claude 3 Sonnet、Claude 3 Opus 和 Claude 3 Haiku。这些模型在智能、速度和成本之间取得了理想的平衡,适用于从企业级工作负载到快速响应的各种应用场景。Claude 3.5 Sonnet 作为其最新模型,在多项评估中表现优异,同时保持了较高的性价比。
- **[Bedrock](https://lobechat.com/discover/provider/bedrock)**: Bedrock 是亚马逊 AWS 提供的一项服务,专注于为企业提供先进的 AI 语言模型和视觉模型。其模型家族包括 Anthropic 的 Claude 系列、Meta 的 Llama 3.1 系列等,涵盖从轻量级到高性能的多种选择,支持文本生成、对话、图像处理等多种任务,适用于不同规模和需求的企业应用。
- **[Google](https://lobechat.com/discover/provider/google)**: Google 的 Gemini 系列是其最先进、通用的 AI 模型,由 Google DeepMind 打造,专为多模态设计,支持文本、代码、图像、音频和视频的无缝理解与处理。适用于从数据中心到移动设备的多种环境,极大提升了 AI 模型的效率与应用广泛性。
- **[DeepSeek](https://lobechat.com/discover/provider/deepseek)**: DeepSeek 是一家专注于人工智能技术研究和应用的公司,其最新模型 DeepSeek-V3 多项评测成绩超越 Qwen2.5-72B 和 Llama-3.1-405B 等开源模型,性能对齐领军闭源模型 GPT-4o 与 Claude-3.5-Sonnet。
- **[HuggingFace](https://lobechat.com/discover/provider/huggingface)**: HuggingFace Inference API 提供了一种快速且免费的方式,让您可以探索成千上万种模型,适用于各种任务。无论您是在为新应用程序进行原型设计,还是在尝试机器学习的功能,这个 API 都能让您即时访问多个领域的高性能模型。
- **[OpenRouter](https://lobechat.com/discover/provider/openrouter)**: OpenRouter 是一个提供多种前沿大模型接口的服务平台,支持 OpenAI、Anthropic、LLaMA 及更多,适合多样化的开发和应用需求。用户可根据自身需求灵活选择最优的模型和价格,助力 AI 体验的提升。
- **[Cloudflare Workers AI](https://lobechat.com/discover/provider/cloudflare)**: 在 Cloudflare 的全球网络上运行由无服务器 GPU 驱动的机器学习模型。
- **[GitHub](https://lobechat.com/discover/provider/github)**: 通过 GitHub 模型,开发人员可以成为 AI 工程师,并使用行业领先的 AI 模型进行构建。
<details><summary><kbd>See more providers (+27)</kbd></summary>
- **[Novita](https://lobechat.com/discover/provider/novita)**: Novita AI 是一个提供多种大语言模型与 AI 图像生成的 API 服务的平台,灵活、可靠且具有成本效益。它支持 Llama3、Mistral 等最新的开源模型,并为生成式 AI 应用开发提供了全面、用户友好且自动扩展的 API 解决方案,适合 AI 初创公司的快速发展。
- **[PPIO](https://lobechat.com/discover/provider/ppio)**: PPIO 派欧云提供稳定、高性价比的开源模型 API 服务,支持 DeepSeek 全系列、Llama、Qwen 等行业领先大模型。
- **[Together AI](https://lobechat.com/discover/provider/togetherai)**: Together AI 致力于通过创新的 AI 模型实现领先的性能,提供广泛的自定义能力,包括快速扩展支持和直观的部署流程,满足企业的各种需求。
- **[Fireworks AI](https://lobechat.com/discover/provider/fireworksai)**: Fireworks AI 是一家领先的高级语言模型服务商,专注于功能调用和多模态处理。其最新模型 Firefunction V2 基于 Llama-3,优化用于函数调用、对话及指令跟随。视觉语言模型 FireLLaVA-13B 支持图像和文本混合输入。其他 notable 模型包括 Llama 系列和 Mixtral 系列,提供高效的多语言指令跟随与生成支持。
- **[Groq](https://lobechat.com/discover/provider/groq)**: Groq 的 LPU 推理引擎在最新的独立大语言模型(LLM)基准测试中表现卓越,以其惊人的速度和效率重新定义了 AI 解决方案的标准。Groq 是一种即时推理速度的代表,在基于云的部署中展现了良好的性能。
- **[Perplexity](https://lobechat.com/discover/provider/perplexity)**: Perplexity 是一家领先的对话生成模型提供商,提供多种先进的 Llama 3.1 模型,支持在线和离线应用,特别适用于复杂的自然语言处理任务。
- **[Mistral](https://lobechat.com/discover/provider/mistral)**: Mistral 提供先进的通用、专业和研究型模型,广泛应用于复杂推理、多语言任务、代码生成等领域,通过功能调用接口,用户可以集成自定义功能,实现特定应用。
- **[Ai21Labs](https://lobechat.com/discover/provider/ai21)**: AI21 Labs 为企业构建基础模型和人工智能系统,加速生成性人工智能在生产中的应用。
- **[Upstage](https://lobechat.com/discover/provider/upstage)**: Upstage 专注于为各种商业需求开发 AI 模型,包括 Solar LLM 和文档 AI,旨在实现工作的人造通用智能(AGI)。通过 Chat API 创建简单的对话代理,并支持功能调用、翻译、嵌入以及特定领域应用。
- **[xAI](https://lobechat.com/discover/provider/xai)**: xAI 是一家致力于构建人工智能以加速人类科学发现的公司。我们的使命是推动我们对宇宙的共同理解。
- **[Qwen](https://lobechat.com/discover/provider/qwen)**: 通义千问是阿里云自主研发的超大规模语言模型,具有强大的自然语言理解和生成能力。它可以回答各种问题、创作文字内容、表达观点看法、撰写代码等,在多个领域发挥作用。
- **[Wenxin](https://lobechat.com/discover/provider/wenxin)**: 企业级一站式大模型与 AI 原生应用开发及服务平台,提供最全面易用的生成式人工智能模型开发、应用开发全流程工具链
- **[Hunyuan](https://lobechat.com/discover/provider/hunyuan)**: 由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力
- **[ZhiPu](https://lobechat.com/discover/provider/zhipu)**: 智谱 AI 提供多模态与语言模型的开放平台,支持广泛的 AI 应用场景,包括文本处理、图像理解与编程辅助等。
- **[SiliconCloud](https://lobechat.com/discover/provider/siliconcloud)**: SiliconCloud,基于优秀开源基础模型的高性价比 GenAI 云服务
- **[01.AI](https://lobechat.com/discover/provider/zeroone)**: 零一万物致力于推动以人为本的 AI 2.0 技术革命,旨在通过大语言模型创造巨大的经济和社会价值,并开创新的 AI 生态与商业模式。
- **[Spark](https://lobechat.com/discover/provider/spark)**: 科大讯飞星火大模型提供多领域、多语言的强大 AI 能力,利用先进的自然语言处理技术,构建适用于智能硬件、智慧医疗、智慧金融等多种垂直场景的创新应用。
- **[SenseNova](https://lobechat.com/discover/provider/sensenova)**: 商汤日日新,依托商汤大装置的强大的基础支撑,提供高效易用的全栈大模型服务。
- **[Stepfun](https://lobechat.com/discover/provider/stepfun)**: 阶级星辰大模型具备行业领先的多模态及复杂推理能力,支持超长文本理解和强大的自主调度搜索引擎功能。
- **[Moonshot](https://lobechat.com/discover/provider/moonshot)**: Moonshot 是由北京月之暗面科技有限公司推出的开源平台,提供多种自然语言处理模型,应用领域广泛,包括但不限于内容创作、学术研究、智能推荐、医疗诊断等,支持长文本处理和复杂生成任务。
- **[Baichuan](https://lobechat.com/discover/provider/baichuan)**: 百川智能是一家专注于人工智能大模型研发的公司,其模型在国内知识百科、长文本处理和生成创作等中文任务上表现卓越,超越了国外主流模型。百川智能还具备行业领先的多模态能力,在多项权威评测中表现优异。其模型包括 Baichuan 4、Baichuan 3 Turbo 和 Baichuan 3 Turbo 128k 等,分别针对不同应用场景进行优化,提供高性价比的解决方案。
- **[Minimax](https://lobechat.com/discover/provider/minimax)**: MiniMax 是 2021 年成立的通用人工智能科技公司,致力于与用户共创智能。MiniMax 自主研发了不同模态的通用大模型,其中包括万亿参数的 MoE 文本大模型、语音大模型以及图像大模型。并推出了海螺 AI 等应用。
- **[InternLM](https://lobechat.com/discover/provider/internlm)**: 致力于大模型研究与开发工具链的开源组织。为所有 AI 开发者提供高效、易用的开源平台,让最前沿的大模型与算法技术触手可及
- **[Higress](https://lobechat.com/discover/provider/higress)**: Higress 是一款云原生 API 网关,在阿里内部为解决 Tengine reload 对长连接业务有损,以及 gRPC/Dubbo 负载均衡能力不足而诞生。
- **[Gitee AI](https://lobechat.com/discover/provider/giteeai)**: Gitee AI 的 Serverless API 为 AI 开发者提供开箱即用的大模型推理 API 服务。
- **[Taichu](https://lobechat.com/discover/provider/taichu)**: 中科院自动化研究所和武汉人工智能研究院推出新一代多模态大模型,支持多轮问答、文本创作、图像生成、3D 理解、信号分析等全面问答任务,拥有更强的认知、理解、创作能力,带来全新互动体验。
- **[360 AI](https://lobechat.com/discover/provider/ai360)**: 360 AI 是 360 公司推出的 AI 模型和服务平台,提供多种先进的自然语言处理模型,包括 360GPT2 Pro、360GPT Pro、360GPT Turbo 和 360GPT Turbo Responsibility 8K。这些模型结合了大规模参数和多模态能力,广泛应用于文本生成、语义理解、对话系统与代码生成等领域。通过灵活的定价策略,360 AI 满足多样化用户需求,支持开发者集成,推动智能化应用的革新和发展。
</details>
> 📊 Total providers: [<kbd>**37**</kbd>](https://lobechat.com/discover/providers)
<!-- PROVIDER LIST -->
同时,我们也在计划支持更多的模型服务商,以进一步丰富我们的服务商库。如果你希望让 LobeChat 支持你喜爱的服务商,欢迎加入我们的 [💬 社区讨论](https://github.com/lobehub/lobe-chat/discussions/6157)。
<div align="right">
@@ -145,7 +242,7 @@
[![][image-feat-local]][docs-feat-local]
### `2` [支持本地大语言模型 (LLM)][docs-feat-local]
### `6` [支持本地大语言模型 (LLM)][docs-feat-local]
为了满足特定用户的需求,LobeChat 还基于 [Ollama](https://ollama.ai) 支持了本地模型的使用,让用户能够更灵活地使用自己的或第三方的模型。
@@ -161,7 +258,7 @@
[![][image-feat-vision]][docs-feat-vision]
### `3` [模型视觉识别 (Model Visual)][docs-feat-vision]
### `7` [模型视觉识别 (Model Visual)][docs-feat-vision]
LobeChat 已经支持 OpenAI 最新的 [`gpt-4-vision`](https://platform.openai.com/docs/guides/vision) 支持视觉识别的模型,这是一个具备视觉识别能力的多模态应用。
用户可以轻松上传图片或者拖拽图片到对话框中,助手将能够识别图片内容,并在此基础上进行智能对话,构建更智能、更多元化的聊天场景。
@@ -176,7 +273,7 @@ LobeChat 已经支持 OpenAI 最新的 [`gpt-4-vision`](https://platform.openai.
[![][image-feat-tts]][docs-feat-tts]
### `4` [TTS & STT 语音会话][docs-feat-tts]
### `8` [TTS & STT 语音会话][docs-feat-tts]
LobeChat 支持文字转语音(Text-to-SpeechTTS)和语音转文字(Speech-to-Text,STT)技术,这使得我们的应用能够将文本信息转化为清晰的语音输出,用户可以像与真人交谈一样与我们的对话助手进行交流。
用户可以从多种声音中选择,给助手搭配合适的音源。 同时,对于那些倾向于听觉学习或者想要在忙碌中获取信息的用户来说,TTS 提供了一个极佳的解决方案。
@@ -191,7 +288,7 @@ LobeChat 支持文字转语音(Text-to-SpeechTTS)和语音转文字(Spe
[![][image-feat-t2i]][docs-feat-t2i]
### `5` [Text to Image 文生图][docs-feat-t2i]
### `9` [Text to Image 文生图][docs-feat-t2i]
支持最新的文本到图片生成技术,LobeChat 现在能够让用户在与助手对话中直接调用文生图工具进行创作。
通过利用 [`DALL-E 3`](https://openai.com/dall-e-3)、[`MidJourney`](https://www.midjourney.com/) 和 [`Pollinations`](https://pollinations.ai/) 等 AI 工具的能力, 助手们现在可以将你的想法转化为图像。
@@ -205,7 +302,7 @@ LobeChat 支持文字转语音(Text-to-SpeechTTS)和语音转文字(Spe
[![][image-feat-plugin]][docs-feat-plugin]
### `6` [插件系统 (Function Calling)][docs-feat-plugin]
### `10` [插件系统 (Tools Calling)][docs-feat-plugin]
LobeChat 的插件生态系统是其核心功能的重要扩展,它极大地增强了 ChatGPT 的实用性和灵活性。
@@ -219,14 +316,14 @@ LobeChat 的插件生态系统是其核心功能的重要扩展,它极大地
<!-- PLUGIN LIST -->
| 最近新增 | 插件描述 |
| ---------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- |
| [Savvy Trader AI](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **savvytrader** on **2024-06-27**</sup> | 实时股票、加密货币和其他投资数据。<br/>`股票` `分析` |
| [社交搜索](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **say-apps** on **2024-06-02**</sup> | 社交搜索提供访问推文、用户、关注者、图片、媒体等功能。<br/>`社交` `推特` `x` `搜索` |
| [空间](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **automateyournetwork** on **2024-05-12**</sup> | 包括 NASA 的空间数据。<br/>`空间` `nasa` |
| [Search1API](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **fatwang2** on **2024-05-06**</sup> | 搜索聚合服务,专为 LLMs 设计<br/>`web` `search` |
| 最近新增 | 描述 |
| -------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- |
| [网页](https://lobechat.com/discover/plugin/web)<br/><sup>By **Proghit** on **2025-01-24**</sup> | 智能网页搜索,读取和分析页面,以提供来自 Google 结果的全面答案。<br/>`网页` `搜索` |
| [MintbaseSearch](https://lobechat.com/discover/plugin/mintbasesearch)<br/><sup>By **mintbase** on **2024-12-31**</sup> | 在 NEAR 协议上查找任何 NFT 数据。<br/>`加密货币` `nft` |
| [必应网页搜索](https://lobechat.com/discover/plugin/Bingsearch-identifier)<br/><sup>By **FineHow** on **2024-12-22**</sup> | 通过 BingApi 搜索互联网上的信息<br/>`bingsearch` |
| [PortfolioMeta](https://lobechat.com/discover/plugin/StockData)<br/><sup>By **portfoliometa** on **2024-12-22**</sup> | 分析股票并获取全面的实时投资数据和分析。<br/>`股票` |
> 📊 Total plugins: [<kbd>**52**</kbd>](https://github.com/lobehub/lobe-chat-plugins)
> 📊 Total plugins: [<kbd>**47**</kbd>](https://lobechat.com/discover/plugins)
<!-- PLUGIN LIST -->
@@ -238,7 +335,7 @@ LobeChat 的插件生态系统是其核心功能的重要扩展,它极大地
[![][image-feat-agent]][docs-feat-agent]
### `7` [助手市场 (GPTs)][docs-feat-agent]
### `11` [助手市场 (GPTs)][docs-feat-agent]
在 LobeChat 的助手市场中,创作者们可以发现一个充满活力和创新的社区,它汇聚了众多精心设计的助手,这些助手不仅在工作场景中发挥着重要作用,也在学习过程中提供了极大的便利。
我们的市场不仅是一个展示平台,更是一个协作的空间。在这里,每个人都可以贡献自己的智慧,分享个人开发的助手。
@@ -254,14 +351,14 @@ LobeChat 的插件生态系统是其核心功能的重要扩展,它极大地
<!-- AGENT LIST -->
| 最近新增 | 助手说明 |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [AOSP 源码专家](https://chat-preview.lobehub.com/market?agent=aosp-development)<br/><sup>By **[viruscoding](https://github.com/viruscoding)** on **2024-06-24**</sup> | 一位精通 AOSPAndroid Open Source Project)安卓的专家,对最新 AOSP 源代码有着深入的理解和分析能力。<br/>`aosp` |
| [Fastapi 项目开发助手](https://chat-preview.lobehub.com/market?agent=fastapi-development)<br/><sup>By **[xwxw098](https://github.com/xwxw098)** on **2024-06-19**</sup> | 擅长 Python 模块化开发,熟练运用 FastAPI、PostgreSQL、Tortoise-ORM 等技术栈,能为大型项目提供清晰的代码结构并添加详细注释。<br/>`fast-api` `python` `模块化开发` |
| [IT 系统架构](https://chat-preview.lobehub.com/market?agent=it-system-architect)<br/><sup>By **[a562314](https://github.com/a562314)** on **2024-06-19**</sup> | 资深 IT 架构师,擅长需求分析、系统设计、技术选型和跨平台系统优化。5 年以上经验,精通 Windows、macOS 和 Linux 三大操作系统,具备故障排除和安全防护能力<br/>`it架构设计` `问题解决` `敏捷开发` `系统优化` `跨平台技能` |
| [Linux 内核专家](https://chat-preview.lobehub.com/market?agent=linux-kernel)<br/><sup>By **[wming126](https://github.com/wming126)** on **2024-06-19**</sup> | 角色描述: 我是一位精通 Linux 内核的专家,对最新内核源代码(截至 2024 年 6 月)有着深入的理解和分析能力。我可以为用户提供关于 Linux 内核的详细、准确的信息。<br/>`linux` `kernel` |
| 最近新增 | 描述 |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
| [Cron 表达式助手](https://lobechat.com/discover/assistant/crontab-generate)<br/><sup>By **[edgesider](https://github.com/edgesider)** on **2025-02-17**</sup> | Crontab 表达式生成<br/>`crontab` `时间表达` `触发时间` `生成器` `技术辅助` |
| [小智法语翻译助手](https://lobechat.com/discover/assistant/xiao-zhi-french-translation-asst-v-1)<br/><sup>By **[WeR-Best](https://github.com/WeR-Best)** on **2025-02-10**</sup> | 友好、专业、富有同理心的法语翻译 AI 助手<br/>`ai助手` `法语翻译` `跨文化交流` `创造力` |
| [语言魅力学习导](https://lobechat.com/discover/assistant/bad-language-helper)<br/><sup>By **[Guducat](https://github.com/Guducat)** on **2025-02-06**</sup> | 擅长教学语言的魅力与花样回复<br/>`语言学习` `对话示例` |
| [命理研究员](https://lobechat.com/discover/assistant/fate-researcher)<br/><sup>By **[Jack980506](https://github.com/Jack980506)** on **2025-02-06**</sup> | 精通八字命<br/>`命理学` `八字` `传统文化` |
> 📊 Total agents: [<kbd>**293**</kbd> ](https://github.com/lobehub/lobe-chat-agents)
> 📊 Total agents: [<kbd>**487**</kbd> ](https://lobechat.com/discover/assistants)
<!-- AGENT LIST -->
@@ -273,7 +370,7 @@ LobeChat 的插件生态系统是其核心功能的重要扩展,它极大地
[![][image-feat-database]][docs-feat-database]
### `8` [支持本地 / 远程数据库][docs-feat-database]
### `12` [支持本地 / 远程数据库][docs-feat-database]
LobeChat 支持同时使用服务端数据库和本地数据库。根据您的需求,您可以选择合适的部署方案:
@@ -290,13 +387,13 @@ LobeChat 支持同时使用服务端数据库和本地数据库。根据您的
[![][image-feat-auth]][docs-feat-auth]
### `9` [支持多用户管理][docs-feat-auth]
### `13` [支持多用户管理][docs-feat-auth]
LobeChat 支持多用户管理,提供了两种主要的用户认证和管理方案,以满足不同需求:
- **next-auth**LobeChat 集成了 `next-auth`,一个灵活且强大的身份验证库,支持多种身份验证方式,包括 OAuth、邮件登录、凭证登录等。通过 `next-auth`,您可以轻松实现用户的注册、登录、会话管理以及社交登录等功能,确保用户数据的安全性和隐私性。
- **Clerk**:对于需要更高级用户管理功能的用户,LobeChat 还支持 `Clerk`,一个现代化的用户管理平台。`Clerk` 提供了更丰富的功能,如多因素认证 (MFA)、白名单、用户管理、登录活动监控等。通过 `Clerk`,您可以获得更高的安全性和灵活性,轻松应对生产级的用户管理需求。
- [**Clerk**](https://go.clerk.com/exgqLG0):对于需要更高级用户管理功能的用户,LobeChat 还支持 `Clerk`,一个现代化的用户管理平台。`Clerk` 提供了更丰富的功能,如多因素认证 (MFA)、白名单、用户管理、登录活动监控等。通过 `Clerk`,您可以获得更高的安全性和灵活性,轻松应对生产级的用户管理需求。
您可以根据自己的需求,选择合适的用户管理方案。
@@ -308,7 +405,7 @@ LobeChat 支持多用户管理,提供了两种主要的用户认证和管理
[![][image-feat-pwa]][docs-feat-pwa]
### `10` [渐进式 Web 应用 (PWA)][docs-feat-pwa]
### `14` [渐进式 Web 应用 (PWA)][docs-feat-pwa]
我们深知在当今多设备环境下为用户提供无缝体验的重要性。为此,我们采用了渐进式 Web 应用 [PWA](https://support.google.com/chrome/answer/9658361) 技术,
这是一种能够将网页应用提升至接近原生应用体验的现代 Web 技术。通过 PWA,LobeChat 能够在桌面和移动设备上提供高度优化的用户体验,同时保持轻量级和高性能的特点。
@@ -331,7 +428,7 @@ LobeChat 支持多用户管理,提供了两种主要的用户认证和管理
[![][image-feat-mobile]][docs-feat-mobile]
### `11` [移动设备适配][docs-feat-mobile]
### `15` [移动设备适配][docs-feat-mobile]
针对移动设备进行了一系列的优化设计,以提升用户的移动体验。目前,我们正在对移动端的用户体验进行版本迭代,以实现更加流畅和直观的交互。如果您有任何建议或想法,我们非常欢迎您通过 GitHub Issues 或者 Pull Requests 提供反馈。
@@ -343,7 +440,7 @@ LobeChat 支持多用户管理,提供了两种主要的用户认证和管理
[![][image-feat-theme]][docs-feat-theme]
### `12` [自定义主题][docs-feat-theme]
### `16` [自定义主题][docs-feat-theme]
作为设计工程师出身,LobeChat 在界面设计上充分考虑用户的个性化体验,因此引入了灵活多变的主题模式,其中包括日间的亮色模式和夜间的深色模式。
除了主题模式的切换,还提供了一系列的颜色定制选项,允许用户根据自己的喜好来调整应用的主题色彩。无论是想要沉稳的深蓝,还是希望活泼的桃粉,或者是专业的灰白,用户都能够在 LobeChat 中找到匹配自己风格的颜色选择。
@@ -358,7 +455,7 @@ LobeChat 支持多用户管理,提供了两种主要的用户认证和管理
</div>
### 更多特性
### `*` 更多特性
除了上述功能特性以外,LobeChat 所具有的设计和技术能力将为你带来更多使用保障:
@@ -407,9 +504,9 @@ LobeChat 提供了 Vercel 的 自托管版本 和 [Docker 镜像][docker-release
>
> 完整教程请查阅 [📘 构建属于自己的 Lobe Chat][docs-self-hosting]
### `A` 使用 Vercel、Zeabur Sealos 部署
### `A` 使用 Vercel、Zeabur Sealos 或 阿里云计算巢 部署
如果想在 Vercel Zeabur 上部署该服务,可以按照以下步骤进行操作:
如果想在 Vercel Zeabur 或 阿里云 上部署该服务,可以按照以下步骤进行操作:
- 准备好你的 [OpenAI API Key](https://platform.openai.com/account/api-keys) 。
- 点击下方按钮开始部署: 直接使用 GitHub 账号登录即可,记得在环境变量页填入 `OPENAI_API_KEY` (必填) and `ACCESS_CODE`(推荐);
@@ -418,9 +515,9 @@ LobeChat 提供了 Vercel 的 自托管版本 和 [Docker 镜像][docker-release
<div align="center">
| 使用 Vercel 部署 | 使用 Zeabur 部署 | 使用 Sealos 部署 |
| :-------------------------------------: | :---------------------------------------------------------: | :---------------------------------------------------------: |
| [![][deploy-button-image]][deploy-link] | [![][deploy-on-zeabur-button-image]][deploy-on-zeabur-link] | [![][deploy-on-sealos-button-image]][deploy-on-sealos-link] |
| 使用 Vercel 部署 | 使用 Zeabur 部署 | 使用 Sealos 部署 | 使用阿里云计算巢部署 |
| :-------------------------------------: | :---------------------------------------------------------: | :---------------------------------------------------------: | :-----------------------------------------------------------------------: |
| [![][deploy-button-image]][deploy-link] | [![][deploy-on-zeabur-button-image]][deploy-on-zeabur-link] | [![][deploy-on-sealos-button-image]][deploy-on-sealos-link] | [![][deploy-on-alibaba-cloud-button-image]][deploy-on-alibaba-cloud-link] |
</div>
@@ -444,27 +541,24 @@ LobeChat 提供了 Vercel 的 自托管版本 和 [Docker 镜像][docker-release
[![][docker-size-shield]][docker-size-link]
[![][docker-pulls-shield]][docker-pulls-link]
我们提供了 Docker 镜像,供你在自己的私有设备上部署 LobeChat 服务。使用以下命令即可使用一键启动 LobeChat 服务:
We provide a Docker image for deploying the LobeChat service on your own private device. Use the following command to start the LobeChat service:
1. create a folder to for storage files
```fish
$ docker run -d -p 3210:3210 \
-e OPENAI_API_KEY=sk-xxxx \
-e ACCESS_CODE=lobe66 \
--name lobe-chat \
lobehub/lobe-chat
$ mkdir lobe-chat-db && cd lobe-chat-db
```
> \[!TIP]
>
> 如果你需要通过代理使用 OpenAI 服务,你可以使用 `OPENAI_PROXY_URL` 环境变量来配置代理地址:
2. 启动一键脚本
```fish
$ docker run -d -p 3210:3210 \
-e OPENAI_API_KEY=sk-xxxx \
-e OPENAI_PROXY_URL=https://api-proxy.com/v1 \
-e ACCESS_CODE=lobe66 \
--name lobe-chat \
lobehub/lobe-chat
bash <(curl -fsSL https://lobe.li/setup.sh) -l zh_CN
```
3. 启动 LobeChat
```fish
docker compose up -d
```
> \[!NOTE]
@@ -694,10 +788,11 @@ This project is [Apache 2.0](./LICENSE) licensed.
[back-to-top]: https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square
[blog]: https://lobehub.com/zh/blog
[changelog]: https://lobehub.com/changelog
[chat-desktop]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/chat/desktop/pagespeed.svg
[chat-desktop-report]: https://lobehub.github.io/lobe-chat/lighthouse/chat/desktop/chat_preview_lobehub_com_chat.html
[chat-desktop-report]: https://lobehub.github.io/lobe-chat/lighthouse/chat/desktop/lobechat_com_chat.html
[chat-mobile]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/chat/mobile/pagespeed.svg
[chat-mobile-report]: https://lobehub.github.io/lobe-chat/lighthouse/chat/mobile/chat_preview_lobehub_com_chat.html
[chat-mobile-report]: https://lobehub.github.io/lobe-chat/lighthouse/chat/mobile/lobechat_com_chat.html
[chat-plugin-sdk]: https://github.com/lobehub/chat-plugin-sdk
[chat-plugin-template]: https://github.com/lobehub/chat-plugin-template
[chat-plugins-gateway]: https://github.com/lobehub/chat-plugins-gateway
@@ -707,26 +802,32 @@ This project is [Apache 2.0](./LICENSE) licensed.
[codespaces-shield]: https://github.com/codespaces/badge.svg
[deploy-button-image]: https://vercel.com/button
[deploy-link]: https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Flobehub%2Flobe-chat&env=OPENAI_API_KEY,ACCESS_CODE&envDescription=Find%20your%20OpenAI%20API%20Key%20by%20click%20the%20right%20Learn%20More%20button.%20%7C%20Access%20Code%20can%20protect%20your%20website&envLink=https%3A%2F%2Fplatform.openai.com%2Faccount%2Fapi-keys&project-name=lobe-chat&repository-name=lobe-chat
[deploy-on-alibaba-cloud-button-image]: https://service-info-public.oss-cn-hangzhou.aliyuncs.com/computenest-en.svg
[deploy-on-alibaba-cloud-link]: https://computenest.console.aliyun.com/service/instance/create/default?type=user&ServiceName=LobeChat%E7%A4%BE%E5%8C%BA%E7%89%88
[deploy-on-sealos-button-image]: https://raw.githubusercontent.com/labring-actions/templates/main/Deploy-on-Sealos.svg
[deploy-on-sealos-link]: https://cloud.sealos.io/?openapp=system-template%3FtemplateName%3Dlobe-chat
[deploy-on-sealos-link]: https://template.hzh.sealos.run/deploy?templateName=lobe-chat-db
[deploy-on-zeabur-button-image]: https://zeabur.com/button.svg
[deploy-on-zeabur-link]: https://zeabur.com/templates/VZGGTI
[discord-link]: https://discord.gg/AYFPHvv2jT
[discord-shield]: https://img.shields.io/discord/1127171173982154893?color=5865F2&label=discord&labelColor=black&logo=discord&logoColor=white&style=flat-square
[discord-shield-badge]: https://img.shields.io/discord/1127171173982154893?color=5865F2&label=discord&labelColor=black&logo=discord&logoColor=white&style=for-the-badge
[docker-pulls-link]: https://hub.docker.com/r/lobehub/lobe-chat
[docker-pulls-shield]: https://img.shields.io/docker/pulls/lobehub/lobe-chat?color=45cc11&labelColor=black&style=flat-square
[docker-release-link]: https://hub.docker.com/r/lobehub/lobe-chat
[docker-release-shield]: https://img.shields.io/docker/v/lobehub/lobe-chat?color=369eff&label=docker&labelColor=black&logo=docker&logoColor=white&style=flat-square
[docker-size-link]: https://hub.docker.com/r/lobehub/lobe-chat
[docker-size-shield]: https://img.shields.io/docker/image-size/lobehub/lobe-chat?color=369eff&labelColor=black&style=flat-square
[docker-pulls-link]: https://hub.docker.com/r/lobehub/lobe-chat-database
[docker-pulls-shield]: https://img.shields.io/docker/pulls/lobehub/lobe-chat?color=45cc11&labelColor=black&style=flat-square&sort=semver
[docker-release-link]: https://hub.docker.com/r/lobehub/lobe-chat-database
[docker-release-shield]: https://img.shields.io/docker/v/lobehub/lobe-chat-database?color=369eff&label=docker&labelColor=black&logo=docker&logoColor=white&style=flat-square&sort=semver
[docker-size-link]: https://hub.docker.com/r/lobehub/lobe-chat-database
[docker-size-shield]: https://img.shields.io/docker/image-size/lobehub/lobe-chat-database?color=369eff&labelColor=black&style=flat-square&sort=semver
[docs]: https://lobehub.com/zh/docs/usage/start
[docs-dev-guide]: https://github.com/lobehub/lobe-chat/wiki/index
[docs-docker]: https://lobehub.com/docs/self-hosting/platform/docker
[docs-docker]: https://lobehub.com/zh/docs/self-hosting/server-database/docker-compose
[docs-env-var]: https://lobehub.com/docs/self-hosting/environment-variables
[docs-feat-agent]: https://lobehub.com/docs/usage/features/agent-market
[docs-feat-artifacts]: https://lobehub.com/docs/usage/features/artifacts
[docs-feat-auth]: https://lobehub.com/docs/usage/features/auth
[docs-feat-branch]: https://lobehub.com/docs/usage/features/branching-conversations
[docs-feat-cot]: https://lobehub.com/docs/usage/features/cot
[docs-feat-database]: https://lobehub.com/docs/usage/features/database
[docs-feat-knowledgebase]: https://lobehub.com/blog/knowledge-base
[docs-feat-local]: https://lobehub.com/docs/usage/features/local-llm
[docs-feat-mobile]: https://lobehub.com/docs/usage/features/mobile
[docs-feat-plugin]: https://lobehub.com/docs/usage/features/plugin-system
@@ -768,21 +869,25 @@ This project is [Apache 2.0](./LICENSE) licensed.
[github-stars-shield]: https://img.shields.io/github/stars/lobehub/lobe-chat?color=ffcb47&labelColor=black&style=flat-square
[github-trending-shield]: https://trendshift.io/api/badge/repositories/2256
[github-trending-url]: https://trendshift.io/repositories/2256
[image-banner]: https://github.com/lobehub/lobe-chat/assets/28616219/9f155dff-4737-429f-9cad-a70a1a860c5f
[image-feat-agent]: https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/268670869-f1ffbf66-42b6-42cf-a937-9ce1f8328514.png
[image-feat-auth]: https://github.com/lobehub/lobe-chat/assets/17870709/8ce70e15-40df-451e-b700-66090fe5b8c2
[image-feat-database]: https://github.com/lobehub/lobe-chat/assets/17870709/c27a0234-a4e9-40e5-8bcb-42d5ce7e40f9
[image-feat-local]: https://github.com/lobehub/lobe-chat/assets/28616219/ca9a21bc-ea6c-4c90-bf4a-fa53b4fb2b5c
[image-feat-mobile]: https://gw.alipayobjects.com/zos/kitchen/R441AuFS4W/mobile.webp
[image-feat-plugin]: https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/268670883-33c43a5c-a512-467e-855c-fa299548cce5.png
[image-feat-privoder]: https://github.com/lobehub/lobe-chat/assets/28616219/b164bc54-8ba2-4c1e-b2f2-f4d7f7e7a551
[image-feat-pwa]: https://gw.alipayobjects.com/zos/kitchen/69x6bllkX3/pwa.webp
[image-feat-t2i]: https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/297746445-0ff762b9-aa08-4337-afb7-12f932b6efbb.png
[image-feat-theme]: https://gw.alipayobjects.com/zos/kitchen/pvus1lo%26Z7/darkmode.webp
[image-feat-tts]: https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/284072124-c9853d8d-f1b5-44a8-a305-45ebc0f6d19a.png
[image-feat-vision]: https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/284072129-382bdf30-e3d6-4411-b5a0-249710b8ba08.png
[image-overview]: https://github.com/lobehub/lobe-chat/assets/17870709/56b95d48-f573-41cd-8b38-387bf88bc4bf
[image-star]: https://github.com/lobehub/lobe-chat/assets/17870709/cb06b748-513f-47c2-8740-d876858d7855
[image-banner]: https://github.com/user-attachments/assets/6f293c7f-47b4-47eb-9202-fe68a942d35b
[image-feat-agent]: https://github.com/user-attachments/assets/b3ab6e35-4fbc-468d-af10-e3e0c687350f
[image-feat-artifacts]: https://github.com/user-attachments/assets/7f95fad6-b210-4e6e-84a0-7f39e96f3a00
[image-feat-auth]: https://github.com/user-attachments/assets/80bb232e-19d1-4f97-98d6-e291f3585e6d
[image-feat-branch]: https://github.com/user-attachments/assets/92f72082-02bd-4835-9c54-b089aad7fd41
[image-feat-cot]: https://github.com/user-attachments/assets/f74f1139-d115-4e9c-8c43-040a53797a5e
[image-feat-database]: https://github.com/user-attachments/assets/f1697c8b-d1fb-4dac-ba05-153c6295d91d
[image-feat-knowledgebase]: https://github.com/user-attachments/assets/7da7a3b2-92fd-4630-9f4e-8560c74955ae
[image-feat-local]: https://github.com/user-attachments/assets/1239da50-d832-4632-a7ef-bd754c0f3850
[image-feat-mobile]: https://github.com/user-attachments/assets/32cf43c4-96bd-4a4c-bfb6-59acde6fe380
[image-feat-plugin]: https://github.com/user-attachments/assets/66a891ac-01b6-4e3f-b978-2eb07b489b1b
[image-feat-privoder]: https://github.com/user-attachments/assets/e553e407-42de-4919-977d-7dbfcf44a821
[image-feat-pwa]: https://github.com/user-attachments/assets/9647f70f-b71b-43b6-9564-7cdd12d1c24d
[image-feat-t2i]: https://github.com/user-attachments/assets/708274a7-2458-494b-a6ec-b73dfa1fa7c2
[image-feat-theme]: https://github.com/user-attachments/assets/b47c39f1-806f-492b-8fcb-b0fa973937c1
[image-feat-tts]: https://github.com/user-attachments/assets/50189597-2cc3-4002-b4c8-756a52ad5c0a
[image-feat-vision]: https://github.com/user-attachments/assets/18574a1f-46c2-4cbc-af2c-35a86e128a07
[image-overview]: https://github.com/user-attachments/assets/dbfaa84a-2c82-4dd9-815c-5be616f264a4
[image-star]: https://github.com/user-attachments/assets/c3b482e7-cef5-4e94-bef9-226900ecfaab
[issues-link]: https://img.shields.io/github/issues/lobehub/lobe-chat.svg?style=flat
[lobe-chat-plugins]: https://github.com/lobehub/lobe-chat-plugins
[lobe-commit]: https://github.com/lobehub/lobe-commit/tree/master/packages/lobe-commit
File diff suppressed because it is too large Load Diff
+4786
View File
File diff suppressed because it is too large Load Diff
+4813
View File
File diff suppressed because it is too large Load Diff
+12 -42
View File
@@ -2,64 +2,34 @@
#### TOC
- [Welcome Page](#welcome-page)
- [Chat Page](#chat-page)
- [Market Page](#market-page)
- [Settings Page](#settings-page)
## Welcome Page
> **Info**\
> <https://chat-preview.lobehub.com/welcome>
| Desktop | Mobile |
| :---------------------------------------------: | :--------------------------------------------: |
| ![][welcome-desktop] | ![][welcome-mobile] |
| [⚡️ Lighthouse Report][welcome-desktop-report] | [⚡️ Lighthouse Report][welcome-mobile-report] |
- [Discover Page](#discover-page)
## Chat Page
> **Info**\
> <https://chat-preview.lobehub.com/chat>
> <https://lobechat.com/chat>
| Desktop | Mobile |
| :------------------------------------------: | :-----------------------------------------: |
| ![][chat-desktop] | ![][chat-mobile] |
| [⚡️ Lighthouse Report][chat-desktop-report] | [⚡️ Lighthouse Report][chat-mobile-report] |
## Market Page
## Discover Page
> **Info**\
> <https://chat-preview.lobehub.com/market>
| Desktop | Mobile |
| :--------------------------------------------: | :-------------------------------------------: |
| ![][market-desktop] | ![][market-mobile] |
| [⚡️ Lighthouse Report][market-desktop-report] | [⚡️ Lighthouse Report][market-mobile-report] |
## Settings Page
> **Info**\
> <https://chat-preview.lobehub.com/settings>
> <https://lobechat.com/discover>
| Desktop | Mobile |
| :----------------------------------------------: | :---------------------------------------------: |
| ![][settings-desktop] | ![][settings-mobile] |
| [⚡️ Lighthouse Report][settings-desktop-report] | [⚡️ Lighthouse Report][settings-mobile-report] |
| ![][discover-desktop] | ![][discover-mobile] |
| [⚡️ Lighthouse Report][discover-desktop-report] | [⚡️ Lighthouse Report][discover-mobile-report] |
[chat-desktop]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/chat/desktop/pagespeed.svg
[chat-desktop-report]: https://lobehub.github.io/lobe-chat/lighthouse/chat/desktop/chat_preview_lobehub_com_chat.html
[chat-desktop-report]: https://lobehub.github.io/lobe-chat/lighthouse/chat/desktop/lobechat_com_chat.html
[chat-mobile]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/chat/mobile/pagespeed.svg
[chat-mobile-report]: https://lobehub.github.io/lobe-chat/lighthouse/chat/mobile/chat_preview_lobehub_com_chat.html
[market-desktop]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/market/desktop/pagespeed.svg
[market-desktop-report]: https://lobehub.github.io/lobe-chat/lighthouse/market/desktop/chat_preview_lobehub_com_market.html
[market-mobile]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/market/mobile/pagespeed.svg
[market-mobile-report]: https://lobehub.github.io/lobe-chat/lighthouse/market/mobile/chat_preview_lobehub_com_market.html
[settings-desktop]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/settings/desktop/pagespeed.svg
[settings-desktop-report]: https://lobehub.github.io/lobe-chat/lighthouse/settings/desktop/chat_preview_lobehub_com_settings.html
[settings-mobile]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/settings/mobile/pagespeed.svg
[settings-mobile-report]: https://lobehub.github.io/lobe-chat/lighthouse/settings/mobile/chat_preview_lobehub_com_settings.html
[welcome-desktop]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/welcome/desktop/pagespeed.svg
[welcome-desktop-report]: https://lobehub.github.io/lobe-chat/lighthouse/welcome/desktop/chat_preview_lobehub_com_welcome.html
[welcome-mobile]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/welcome/mobile/pagespeed.svg
[welcome-mobile-report]: https://lobehub.github.io/lobe-chat/lighthouse/welcome/mobile/chat_preview_lobehub_com_welcome.html
[chat-mobile-report]: https://lobehub.github.io/lobe-chat/lighthouse/chat/mobile/lobechat_com_chat.html
[discover-desktop]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/discover/desktop/pagespeed.svg
[discover-desktop-report]: https://lobehub.github.io/lobe-chat/lighthouse/discover/desktop/lobechat_com_discover.html
[discover-mobile]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/discover/mobile/pagespeed.svg
[discover-mobile-report]: https://lobehub.github.io/lobe-chat/lighthouse/discover/mobile/lobechat_com_discover.html
+12 -42
View File
@@ -2,64 +2,34 @@
#### TOC
- [Welcome 欢迎页面](#welcome-欢迎页面)
- [Chat 聊天页面](#chat-聊天页面)
- [Market 市场页面](#market-市场页面)
- [Settings 设置页面](#settings-设置页面)
## Welcome 欢迎页面
> **Info**\
> <https://chat-preview.lobehub.com/welcome>
| Desktop | Mobile |
| :---------------------------------------------: | :--------------------------------------------: |
| ![][welcome-desktop] | ![][welcome-mobile] |
| [⚡️ Lighthouse Report][welcome-desktop-report] | [⚡️ Lighthouse Report][welcome-mobile-report] |
- [Discover 发现页面](#discover-发现页面)
## Chat 聊天页面
> **Info**\
> <https://chat-preview.lobehub.com/chat>
> <https://lobechat.com/chat>
| Desktop | Mobile |
| :------------------------------------------: | :-----------------------------------------: |
| ![][chat-desktop] | ![][chat-mobile] |
| [⚡️ Lighthouse Report][chat-desktop-report] | [⚡️ Lighthouse Report][chat-mobile-report] |
## Market 市场页面
## Discover 发现页面
> **Info**\
> <https://chat-preview.lobehub.com/market>
| Desktop | Mobile |
| :--------------------------------------------: | :-------------------------------------------: |
| ![][market-desktop] | ![][market-mobile] |
| [⚡️ Lighthouse Report][market-desktop-report] | [⚡️ Lighthouse Report][market-mobile-report] |
## Settings 设置页面
> **Info**\
> <https://chat-preview.lobehub.com/settings>
> <https://lobechat.com/discover>
| Desktop | Mobile |
| :----------------------------------------------: | :---------------------------------------------: |
| ![][settings-desktop] | ![][settings-mobile] |
| [⚡️ Lighthouse Report][settings-desktop-report] | [⚡️ Lighthouse Report][settings-mobile-report] |
| ![][discover-desktop] | ![][discover-mobile] |
| [⚡️ Lighthouse Report][discover-desktop-report] | [⚡️ Lighthouse Report][discover-mobile-report] |
[chat-desktop]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/chat/desktop/pagespeed.svg
[chat-desktop-report]: https://lobehub.github.io/lobe-chat/lighthouse/chat/desktop/chat_preview_lobehub_com_chat.html
[chat-desktop-report]: https://lobehub.github.io/lobe-chat/lighthouse/chat/desktop/lobechat_com_chat.html
[chat-mobile]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/chat/mobile/pagespeed.svg
[chat-mobile-report]: https://lobehub.github.io/lobe-chat/lighthouse/chat/mobile/chat_preview_lobehub_com_chat.html
[market-desktop]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/market/desktop/pagespeed.svg
[market-desktop-report]: https://lobehub.github.io/lobe-chat/lighthouse/market/desktop/chat_preview_lobehub_com_market.html
[market-mobile]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/market/mobile/pagespeed.svg
[market-mobile-report]: https://lobehub.github.io/lobe-chat/lighthouse/market/mobile/chat_preview_lobehub_com_market.html
[settings-desktop]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/settings/desktop/pagespeed.svg
[settings-desktop-report]: https://lobehub.github.io/lobe-chat/lighthouse/settings/desktop/chat_preview_lobehub_com_settings.html
[settings-mobile]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/settings/mobile/pagespeed.svg
[settings-mobile-report]: https://lobehub.github.io/lobe-chat/lighthouse/settings/mobile/chat_preview_lobehub_com_settings.html
[welcome-desktop]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/welcome/desktop/pagespeed.svg
[welcome-desktop-report]: https://lobehub.github.io/lobe-chat/lighthouse/welcome/desktop/chat_preview_lobehub_com_welcome.html
[welcome-mobile]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/welcome/mobile/pagespeed.svg
[welcome-mobile-report]: https://lobehub.github.io/lobe-chat/lighthouse/welcome/mobile/chat_preview_lobehub_com_welcome.html
[chat-mobile-report]: https://lobehub.github.io/lobe-chat/lighthouse/chat/mobile/lobechat_com_chat.html
[discover-desktop]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/discover/desktop/pagespeed.svg
[discover-desktop-report]: https://lobehub.github.io/lobe-chat/lighthouse/discover/desktop/lobechat_com_discover.html
[discover-mobile]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/discover/mobile/pagespeed.svg
[discover-mobile-report]: https://lobehub.github.io/lobe-chat/lighthouse/discover/mobile/lobechat_com_discover.html
+41
View File
@@ -0,0 +1,41 @@
# Proxy, if you need it
# HTTP_PROXY=http://localhost:7890
# HTTPS_PROXY=http://localhost:7890
# Other environment variables, as needed. You can refer to the environment variables configuration for the client version, making sure not to have ACCESS_CODE.
# OPENAI_API_KEY=sk-xxxx
# OPENAI_PROXY_URL=https://api.openai.com/v1
# OPENAI_MODEL_LIST=...
# ===========================
# ====== Preset config ======
# ===========================
# if no special requirements, no need to change
LOBE_PORT=3210
CASDOOR_PORT=8000
MINIO_PORT=9000
APP_URL=http://localhost:3210
AUTH_URL=http://localhost:3210/api/auth
# Postgres related, which are the necessary environment variables for DB
LOBE_DB_NAME=lobechat
POSTGRES_PASSWORD=uWNZugjBqixf8dxC
AUTH_CASDOOR_ISSUER=http://localhost:8000
# Casdoor secret
AUTH_CASDOOR_ID=a387a4892ee19b1a2249
AUTH_CASDOOR_SECRET=dbf205949d704de81b0b5b3603174e23fbecc354
# MinIO S3 configuration
MINIO_ROOT_USER=admin
MINIO_ROOT_PASSWORD=YOUR_MINIO_PASSWORD
# Configure the bucket information of MinIO
S3_PUBLIC_DOMAIN=http://localhost:9000
S3_ENDPOINT=http://localhost:9000
MINIO_LOBE_BUCKET=lobe
# Configure for casdoor
origin=http://localhost:8000
+41
View File
@@ -0,0 +1,41 @@
# Proxy,如果你需要的话(比如你使用 GitHub 作为鉴权服务提供商)
# HTTP_PROXY=http://localhost:7890
# HTTPS_PROXY=http://localhost:7890
# 其他环境变量,视需求而定,可以参照客户端版本的环境变量配置,注意不要有 ACCESS_CODE
# OPENAI_API_KEY=sk-xxxx
# OPENAI_PROXY_URL=https://api.openai.com/v1
# OPENAI_MODEL_LIST=...
# ===================
# ===== 预设配置 =====
# ===================
# 如没有特殊需要不用更改
LOBE_PORT=3210
CASDOOR_PORT=8000
MINIO_PORT=9000
APP_URL=http://localhost:3210
AUTH_URL=http://localhost:3210/api/auth
# Postgres 相关,也即 DB 必须的环境变量
LOBE_DB_NAME=lobechat
POSTGRES_PASSWORD=uWNZugjBqixf8dxC
AUTH_CASDOOR_ISSUER=http://localhost:8000
# Casdoor secret
AUTH_CASDOOR_ID=a387a4892ee19b1a2249
AUTH_CASDOOR_SECRET=dbf205949d704de81b0b5b3603174e23fbecc354
# MinIO S3 配置
MINIO_ROOT_USER=admin
MINIO_ROOT_PASSWORD=YOUR_MINIO_PASSWORD
# 在下方配置 minio 中添加的桶
S3_PUBLIC_DOMAIN=http://localhost:9000
S3_ENDPOINT=http://localhost:9000
MINIO_LOBE_BUCKET=lobe
# 为 casdoor 配置
origin=http://localhost:8000
+172
View File
@@ -0,0 +1,172 @@
name: lobe-chat-database
services:
network-service:
image: alpine
container_name: lobe-network
restart: always
ports:
- '${MINIO_PORT}:${MINIO_PORT}' # MinIO API
- '9001:9001' # MinIO Console
- '${CASDOOR_PORT}:${CASDOOR_PORT}' # Casdoor
- '${LOBE_PORT}:3210' # LobeChat
command: tail -f /dev/null
networks:
- lobe-network
postgresql:
image: pgvector/pgvector:pg17
container_name: lobe-postgres
ports:
- '5432:5432'
volumes:
- './data:/var/lib/postgresql/data'
environment:
- 'POSTGRES_DB=${LOBE_DB_NAME}'
- 'POSTGRES_PASSWORD=${POSTGRES_PASSWORD}'
healthcheck:
test: ['CMD-SHELL', 'pg_isready -U postgres']
interval: 5s
timeout: 5s
retries: 5
restart: always
networks:
- lobe-network
minio:
image: minio/minio
container_name: lobe-minio
network_mode: 'service:network-service'
volumes:
- './s3_data:/etc/minio/data'
environment:
- 'MINIO_API_CORS_ALLOW_ORIGIN=*'
env_file:
- .env
restart: always
entrypoint: >
/bin/sh -c "
minio server /etc/minio/data --address ':${MINIO_PORT}' --console-address ':9001' &
MINIO_PID=\$!
while ! curl -s http://localhost:${MINIO_PORT}/minio/health/live; do
echo 'Waiting for MinIO to start...'
sleep 1
done
sleep 5
mc alias set myminio http://localhost:${MINIO_PORT} ${MINIO_ROOT_USER} ${MINIO_ROOT_PASSWORD}
echo 'Creating bucket ${MINIO_LOBE_BUCKET}'
mc mb myminio/${MINIO_LOBE_BUCKET}
wait \$MINIO_PID
"
casdoor:
image: casbin/casdoor
container_name: lobe-casdoor
entrypoint: /bin/sh -c './server --createDatabase=true'
network_mode: 'service:network-service'
depends_on:
postgresql:
condition: service_healthy
environment:
httpport: ${CASDOOR_PORT}
RUNNING_IN_DOCKER: 'true'
driverName: 'postgres'
dataSourceName: 'user=postgres password=${POSTGRES_PASSWORD} host=postgresql port=5432 sslmode=disable dbname=casdoor'
runmode: 'dev'
volumes:
- ./init_data.json:/init_data.json
env_file:
- .env
searxng:
image: searxng/searxng
container_name: lobe-searxng
volumes:
- './searxng-settings.yml:/etc/searxng/settings.yml'
environment:
- 'SEARXNG_SETTINGS_FILE=/etc/searxng/settings.yml'
restart: always
networks:
- lobe-network
env_file:
- .env
lobe:
image: lobehub/lobe-chat-database
container_name: lobe-chat
network_mode: 'service:network-service'
depends_on:
postgresql:
condition: service_healthy
network-service:
condition: service_started
minio:
condition: service_started
casdoor:
condition: service_started
environment:
- 'NEXT_AUTH_SSO_PROVIDERS=casdoor'
- 'KEY_VAULTS_SECRET=Kix2wcUONd4CX51E/ZPAd36BqM4wzJgKjPtz2sGztqQ='
- 'NEXT_AUTH_SECRET=NX2kaPE923dt6BL2U8e9oSre5RfoT7hg'
- 'DATABASE_URL=postgresql://postgres:${POSTGRES_PASSWORD}@postgresql:5432/${LOBE_DB_NAME}'
- 'S3_BUCKET=${MINIO_LOBE_BUCKET}'
- 'S3_ENABLE_PATH_STYLE=1'
- 'S3_ACCESS_KEY=${MINIO_ROOT_USER}'
- 'S3_ACCESS_KEY_ID=${MINIO_ROOT_USER}'
- 'S3_SECRET_ACCESS_KEY=${MINIO_ROOT_PASSWORD}'
- 'LLM_VISION_IMAGE_USE_BASE64=1'
- 'S3_SET_ACL=0'
- 'SEARXNG_URL=http://searxng:8080'
env_file:
- .env
restart: always
entrypoint: >
/bin/sh -c "
/bin/node /app/startServer.js &
LOBE_PID=\$!
sleep 3
if [ $(wget --timeout=5 --spider --server-response ${AUTH_CASDOOR_ISSUER}/.well-known/openid-configuration 2>&1 | grep -c 'HTTP/1.1 200 OK') -eq 0 ]; then
echo '⚠️Warining: Unable to fetch OIDC configuration from Casdoor'
echo 'Request URL: ${AUTH_CASDOOR_ISSUER}/.well-known/openid-configuration'
echo 'Read more at: https://lobehub.com/docs/self-hosting/server-database/docker-compose#necessary-configuration'
echo ''
echo '⚠️注意:无法从 Casdoor 获取 OIDC 配置'
echo '请求 URL: ${AUTH_CASDOOR_ISSUER}/.well-known/openid-configuration'
echo '了解更多:https://lobehub.com/zh/docs/self-hosting/server-database/docker-compose#necessary-configuration'
echo ''
else
if ! wget -O - --timeout=5 ${AUTH_CASDOOR_ISSUER}/.well-known/openid-configuration 2>&1 | grep 'issuer' | grep ${AUTH_CASDOOR_ISSUER}; then
printf '❌Error: The Auth issuer is conflict, Issuer in OIDC configuration is: %s' \$(wget -O - --timeout=5 ${AUTH_CASDOOR_ISSUER}/.well-known/openid-configuration 2>&1 | grep -E 'issuer.*' | awk -F '\"' '{print \$4}')
echo ' , but the issuer in .env file is: ${AUTH_CASDOOR_ISSUER} '
echo 'Request URL: ${AUTH_CASDOOR_ISSUER}/.well-known/openid-configuration'
echo 'Read more at: https://lobehub.com/docs/self-hosting/server-database/docker-compose#necessary-configuration'
echo ''
printf '❌错误:Auth 的 issuer 冲突,OIDC 配置中的 issuer 是:%s' \$(wget -O - --timeout=5 ${AUTH_CASDOOR_ISSUER}/.well-known/openid-configuration 2>&1 | grep -E 'issuer.*' | awk -F '\"' '{print \$4}')
echo ' , 但 .env 文件中的 issuer 是:${AUTH_CASDOOR_ISSUER} '
echo '请求 URL: ${AUTH_CASDOOR_ISSUER}/.well-known/openid-configuration'
echo '了解更多:https://lobehub.com/zh/docs/self-hosting/server-database/docker-compose#necessary-configuration'
echo ''
fi
fi
if [ $(wget --timeout=5 --spider --server-response ${S3_ENDPOINT}/minio/health/live 2>&1 | grep -c 'HTTP/1.1 200 OK') -eq 0 ]; then
echo '⚠️Warining: Unable to fetch MinIO health status'
echo 'Request URL: ${S3_ENDPOINT}/minio/health/live'
echo 'Read more at: https://lobehub.com/docs/self-hosting/server-database/docker-compose#necessary-configuration'
echo ''
echo '⚠️注意:无法获取 MinIO 健康状态'
echo '请求 URL: ${S3_ENDPOINT}/minio/health/live'
echo '了解更多:https://lobehub.com/zh/docs/self-hosting/server-database/docker-compose#necessary-configuration'
echo ''
fi
wait \$LOBE_PID
"
volumes:
data:
driver: local
s3_data:
driver: local
networks:
lobe-network:
driver: bridge
File diff suppressed because it is too large Load Diff
+34
View File
@@ -0,0 +1,34 @@
# Logto secret
AUTH_LOGTO_ID=
AUTH_LOGTO_SECRET=
AUTH_LOGTO_ISSUER=
# MinIO S3 configuration
MINIO_ROOT_USER=YOUR_MINIO_USER
MINIO_ROOT_PASSWORD=YOUR_MINIO_PASSWORD
# Configure the bucket information of MinIO
MINIO_LOBE_BUCKET=lobe
S3_ACCESS_KEY_ID=
S3_SECRET_ACCESS_KEY=
# Proxy, if you need it
# HTTP_PROXY=http://localhost:7890
# HTTPS_PROXY=http://localhost:7890
# Other environment variables, as needed. You can refer to the environment variables configuration for the client version, making sure not to have ACCESS_CODE.
# OPENAI_API_KEY=sk-xxxx
# OPENAI_PROXY_URL=https://api.openai.com/v1
# OPENAI_MODEL_LIST=...
# ----- Other config -----
# if no special requirements, no need to change
LOBE_PORT=3210
LOGTO_PORT=3001
MINIO_PORT=9000
# Postgres related, which are the necessary environment variables for DB
LOBE_DB_NAME=lobechat
POSTGRES_PASSWORD=uWNZugjBqixf8dxC
@@ -0,0 +1,34 @@
# Logto 鉴权相关
AUTH_LOGTO_ID=
AUTH_LOGTO_SECRET=
AUTH_LOGTO_ISSUER=
# MinIO S3 配置
MINIO_ROOT_USER=YOUR_MINIO_USER
MINIO_ROOT_PASSWORD=YOUR_MINIO_PASSWORD
# 在下方配置 minio 中添加的桶
MINIO_LOBE_BUCKET=lobe
S3_ACCESS_KEY_ID=
S3_SECRET_ACCESS_KEY=
# Proxy,如果你需要的话(比如你使用 GitHub 作为鉴权服务提供商)
# HTTP_PROXY=http://localhost:7890
# HTTPS_PROXY=http://localhost:7890
# 其他环境变量,视需求而定,可以参照客户端版本的环境变量配置,注意不要有 ACCESS_CODE
# OPENAI_API_KEY=sk-xxxx
# OPENAI_PROXY_URL=https://api.openai.com/v1
# OPENAI_MODEL_LIST=...
# ----- 相关配置 start -----
# 如没有特殊需要不用更改
LOBE_PORT=3210
LOGTO_PORT=3001
MINIO_PORT=9000
# Postgres 相关,也即 DB 必须的环境变量
LOBE_DB_NAME=lobechat
POSTGRES_PASSWORD=uWNZugjBqixf8dxC
@@ -0,0 +1,103 @@
name: lobe-chat-database
services:
network-service:
image: alpine
container_name: lobe-network
ports:
- '${MINIO_PORT}:${MINIO_PORT}' # MinIO API
- '9001:9001' # MinIO Console
- '${LOGTO_PORT}:${LOGTO_PORT}' # Logto
- '3002:3002' # Logto Admin
- '${LOBE_PORT}:3210' # LobeChat
command: tail -f /dev/null
networks:
- lobe-network
postgresql:
image: pgvector/pgvector:pg16
container_name: lobe-postgres
ports:
- '5432:5432'
volumes:
- './data:/var/lib/postgresql/data'
environment:
- 'POSTGRES_DB=${LOBE_DB_NAME}'
- 'POSTGRES_PASSWORD=${POSTGRES_PASSWORD}'
healthcheck:
test: ['CMD-SHELL', 'pg_isready -U postgres']
interval: 5s
timeout: 5s
retries: 5
restart: always
networks:
- lobe-network
minio:
image: minio/minio
container_name: lobe-minio
network_mode: 'service:network-service'
volumes:
- './s3_data:/etc/minio/data'
environment:
- 'MINIO_ROOT_USER=${MINIO_ROOT_USER}'
- 'MINIO_ROOT_PASSWORD=${MINIO_ROOT_PASSWORD}'
- 'MINIO_API_CORS_ALLOW_ORIGIN=http://localhost:${LOBE_PORT}'
restart: always
command: >
server /etc/minio/data --address ":${MINIO_PORT}" --console-address ":9001"
logto:
image: svhd/logto
container_name: lobe-logto
network_mode: 'service:network-service'
depends_on:
postgresql:
condition: service_healthy
environment:
- 'TRUST_PROXY_HEADER=1'
- 'PORT=${LOGTO_PORT}'
- 'DB_URL=postgresql://postgres:${POSTGRES_PASSWORD}@postgresql:5432/logto'
- 'ENDPOINT=http://localhost:${LOGTO_PORT}'
- 'ADMIN_ENDPOINT=http://localhost:3002'
entrypoint: ['sh', '-c', 'npm run cli db seed -- --swe && npm start']
lobe:
image: lobehub/lobe-chat-database
container_name: lobe-chat
network_mode: 'service:network-service'
depends_on:
postgresql:
condition: service_healthy
network-service:
condition: service_started
minio:
condition: service_started
logto:
condition: service_started
environment:
- 'APP_URL=http://localhost:3210'
- 'NEXT_AUTH_SSO_PROVIDERS=logto'
- 'KEY_VAULTS_SECRET=Kix2wcUONd4CX51E/ZPAd36BqM4wzJgKjPtz2sGztqQ='
- 'NEXT_AUTH_SECRET=NX2kaPE923dt6BL2U8e9oSre5RfoT7hg'
- 'NEXTAUTH_URL=http://localhost:${LOBE_PORT}/api/auth'
- 'AUTH_LOGTO_ISSUER=http://localhost:${LOGTO_PORT}/oidc'
- 'DATABASE_URL=postgresql://postgres:${POSTGRES_PASSWORD}@postgresql:5432/${LOBE_DB_NAME}'
- 'S3_ENDPOINT=http://localhost:${MINIO_PORT}'
- 'S3_BUCKET=${MINIO_LOBE_BUCKET}'
- 'S3_PUBLIC_DOMAIN=http://localhost:${MINIO_PORT}'
- 'S3_ENABLE_PATH_STYLE=1'
env_file:
- .env
restart: always
volumes:
data:
driver: local
s3_data:
driver: local
networks:
lobe-network:
driver: bridge
File diff suppressed because it is too large Load Diff
+33
View File
@@ -0,0 +1,33 @@
# Required: LobeChat domain for tRPC calls
# Ensure this domain is whitelisted in your NextAuth providers and S3 service CORS settings
APP_URL=http://localhost:3210
# Postgres related environment variables
# Required: Secret key for encrypting sensitive information. Generate with: openssl rand -base64 32
KEY_VAULTS_SECRET=Kix2wcUONd4CX51E/ZPAd36BqM4wzJgKjPtz2sGztqQ=
# Required: Postgres database connection string
DATABASE_URL=postgresql://postgres:uWNZugjBqixf8dxC@postgresql:5432/lobechat
# NEXT_AUTH related environment variables
NEXTAUTH_URL=http://localhost:3210/api/auth
NEXT_AUTH_SECRET=NX2kaPE923dt6BL2U8e9oSre5RfoT7hg
NEXT_AUTH_SSO_PROVIDERS=zitadel
# ZiTADEL provider configuration
# Please refer tohttps://lobehub.com/zh/docs/self-hosting/advanced/auth/next-auth/zitadel
AUTH_ZITADEL_ID=285945938244075523
AUTH_ZITADEL_SECRET=hkbtzHLaCEIeHeFThym14UcydpmQiEB5JtAX08HSqSoJxhAlVVkyovTuNUZ5TNrT
AUTH_ZITADEL_ISSUER=http://localhost:8080
# MinIO S3 configuration
S3_ACCESS_KEY_ID=
S3_SECRET_ACCESS_KEY=
S3_ENDPOINT=http://localhost:9000
S3_BUCKET=lobe
S3_PUBLIC_DOMAIN=http://localhost:9000
S3_ENABLE_PATH_STYLE=1
LLM_VISION_IMAGE_USE_BASE64=1
# Other environment variables, as needed. You can refer to the environment variables configuration for the client version, making sure not to have ACCESS_CODE.
# OPENAI_API_KEY=sk-xxxx
# OPENAI_PROXY_URL=https://api.openai.com/v1
# OPENAI_MODEL_LIST=...
@@ -0,0 +1,32 @@
# LobeChat 域名
APP_URL=http://localhost:3210
# Postgres 相关,也即 DB 必须的环境变量
# 用于加密敏感信息的密钥,可以使用 openssl rand -base64 32 生成
KEY_VAULTS_SECRET=Kix2wcUONd4CX51E/ZPAd36BqM4wzJgKjPtz2sGztqQ=
# Postgres 数据库连接字符串
DATABASE_URL=postgresql://postgres:uWNZugjBqixf8dxC@postgresql:5432/lobechat
# NEXT_AUTH 相关
NEXTAUTH_URL=http://localhost:3210/api/auth
NEXT_AUTH_SECRET=NX2kaPE923dt6BL2U8e9oSre5RfoT7hg
NEXT_AUTH_SSO_PROVIDERS=zitadel
# ZiTADEL 鉴权服务提供商部分
# 请参考:https://lobehub.com/zh/docs/self-hosting/advanced/auth/next-auth/zitadel
AUTH_ZITADEL_ID=285945938244075523
AUTH_ZITADEL_SECRET=hkbtzHLaCEIeHeFThym14UcydpmQiEB5JtAX08HSqSoJxhAlVVkyovTuNUZ5TNrT
AUTH_ZITADEL_ISSUER=http://localhost:8080
# MinIO S3 配置
S3_ACCESS_KEY_ID=
S3_SECRET_ACCESS_KEY=
S3_ENDPOINT=http://localhost:9000
S3_BUCKET=lobe
S3_PUBLIC_DOMAIN=http://localhost:9000
S3_ENABLE_PATH_STYLE=1
LLM_VISION_IMAGE_USE_BASE64=1
# 其他环境变量,视需求而定,可以参照客户端版本的环境变量配置,注意不要有 ACCESS_CODE
# OPENAI_API_KEY=sk-xxxx
# OPENAI_PROXY_URL=https://api.openai.com/v1
# OPENAI_MODEL_LIST=...
@@ -0,0 +1,86 @@
name: lobe-chat-database
services:
network-service:
image: alpine
container_name: lobe-network
ports:
- '9000:9000' # MinIO API
- '9001:9001' # MinIO Console
- '8080:8080' # Zitadel Console
- '3210:3210' # LobeChat
command: tail -f /dev/null
networks:
- lobe-network
postgresql:
image: pgvector/pgvector:pg16
container_name: lobe-postgres
ports:
- '5432:5432'
volumes:
- './data:/var/lib/postgresql/data'
environment:
- 'POSTGRES_DB=lobechat'
- 'POSTGRES_PASSWORD=uWNZugjBqixf8dxC'
healthcheck:
test: ['CMD-SHELL', 'pg_isready -U postgres']
interval: 5s
timeout: 5s
retries: 5
restart: always
networks:
- lobe-network
minio:
image: minio/minio
container_name: lobe-minio
network_mode: 'service:network-service'
volumes:
- './s3_data:/etc/minio/data'
environment:
- 'MINIO_ROOT_USER=YOUR_MINIO_USER'
- 'MINIO_ROOT_PASSWORD=YOUR_MINIO_PASSWORD'
- 'MINIO_API_CORS_ALLOW_ORIGIN=http://localhost:3210'
restart: always
command: >
server /etc/minio/data --address ":9000" --console-address ":9001"
zitadel:
restart: 'always'
image: 'ghcr.io/zitadel/zitadel:latest'
container_name: lobe-zitadel
network_mode: 'service:network-service'
command: start-from-init --config /zitadel-config.yaml --steps /zitadel-init-steps.yaml --masterkey "cft3Tekr/rQBOqwoQSCPoncA9BHbn7QJ" --tlsMode disabled #MasterkeyNeedsToHave32Characters
volumes:
- ./zitadel-config.yaml:/zitadel-config.yaml:ro
- ./zitadel-init-steps.yaml:/zitadel-init-steps.yaml:ro
depends_on:
postgresql:
condition: service_healthy
lobe:
image: lobehub/lobe-chat-database
container_name: lobe-chat
network_mode: 'service:network-service'
depends_on:
postgresql:
condition: service_healthy
network-service:
condition: service_started
minio:
condition: service_started
zitadel:
condition: service_started
env_file:
- .env
restart: always
volumes:
data:
driver: local
s3_data:
driver: local
networks:
lobe-network:
driver: bridge
@@ -0,0 +1,26 @@
Log:
Level: 'info'
Port: 8080
ExternalPort: 8080
ExternalDomain: localhost
ExternalSecure: false
TLS:
Enabled: false
# If not using the docker compose example, adjust these values for connecting ZITADEL to your PostgreSQL
Database:
postgres:
Host: postgresql
Port: 5432
Database: zitadel
User:
Username: 'zitadel'
Password: 'zitadel'
SSL:
Mode: 'disable'
Admin:
Username: 'postgres'
Password: 'uWNZugjBqixf8dxC' #postgres password
SSL:
Mode: 'disable'
@@ -0,0 +1,11 @@
# All possible options and their defaults: https://github.com/zitadel/zitadel/blob/main/cmd/setup/steps.yaml
FirstInstance:
Org:
Human:
# use the loginname root@zitadel.localhost
Username: 'root'
# The password must be 8 characters or more and must contain uppercase letters, lowercase letters, symbols, and numbers. The first login will require a password change.
Password: 'Password1!'
Email:
# Optional, if set, can be used to log in with email.
Address: 'example@zitadel.com' # ZITADEL_FIRSTINSTANCE_ORG_HUMAN_EMAIL_ADDRESS
+34
View File
@@ -0,0 +1,34 @@
{
"Statement": [
{
"Effect": "Allow",
"Principal": {
"AWS": ["*"]
},
"Action": ["s3:GetBucketLocation"],
"Resource": ["arn:aws:s3:::lobe"]
},
{
"Effect": "Allow",
"Principal": {
"AWS": ["*"]
},
"Action": ["s3:ListBucket"],
"Resource": ["arn:aws:s3:::lobe"],
"Condition": {
"StringEquals": {
"s3:prefix": ["files/*"]
}
}
},
{
"Effect": "Allow",
"Principal": {
"AWS": ["*"]
},
"Action": ["s3:PutObject", "s3:DeleteObject", "s3:GetObject"],
"Resource": ["arn:aws:s3:::lobe/files/**"]
}
],
"Version": "2012-10-17"
}
@@ -0,0 +1,56 @@
# Required: LobeChat domain for tRPC calls
# Ensure this domain is whitelisted in your NextAuth providers and S3 service CORS settings
APP_URL=https://lobe.example.com/
# Postgres related environment variables
# Required: Secret key for encrypting sensitive information. Generate with: openssl rand -base64 32
KEY_VAULTS_SECRET=Kix2wcUONd4CX51E/ZPAd36BqM4wzJgKjPtz2sGztqQ=
# Required: Postgres database connection string
# Format: postgresql://username:password@host:port/dbname
# If using Docker, you can use the container name as the host
DATABASE_URL=postgresql://postgres:uWNZugjBqixf8dxC@postgresql:5432/lobe
# NEXT_AUTH related environment variables
# Supports auth0, Azure AD, GitHub, Authentik, Zitadel, Logto, etc.
# For supported providers, see: https://lobehub.com/docs/self-hosting/advanced/auth#next-auth
# If you have ACCESS_CODE, please remove it. We use NEXT_AUTH as the sole authentication source
# Required: NextAuth secret key. Generate with: openssl rand -base64 32
NEXT_AUTH_SECRET=NX2kaPE923dt6BL2U8e9oSre5RfoT7hg
# Required: Specify the authentication provider (e.g., Logto)
NEXT_AUTH_SSO_PROVIDERS=logto
# Required: NextAuth URL for callbacks
NEXTAUTH_URL=https://lobe.example.com/api/auth
# NextAuth providers configuration (example using Logto)
# For other providers, see: https://lobehub.com/docs/self-hosting/environment-variables/auth
AUTH_LOGTO_ID=YOUR_LOGTO_ID
AUTH_LOGTO_SECRET=YOUR_LOGTO_SECRET
AUTH_LOGTO_ISSUER=https://lobe-auth-api.example.com/oidc
# Proxy settings (if needed, e.g., when using GitHub as an auth provider)
# HTTP_PROXY=http://localhost:7890
# HTTPS_PROXY=http://localhost:7890
# S3 related environment variables (example using MinIO)
# Required: S3 Access Key ID (for MinIO, invalid until manually created in MinIO UI)
S3_ACCESS_KEY_ID=YOUR_S3_ACCESS_KEY_ID
# Required: S3 Secret Access Key (for MinIO, invalid until manually created in MinIO UI)
S3_SECRET_ACCESS_KEY=YOUR_S3_SECRET_ACCESS_KEY
# Required: S3 Endpoint for server/client connections to S3 API
S3_ENDPOINT=https://lobe-s3-api.example.com
# Required: S3 Bucket (invalid until manually created in MinIO UI)
S3_BUCKET=lobe
# Required: S3 Public Domain for client access to unstructured data
S3_PUBLIC_DOMAIN=https://lobe-s3-api.example.com
# Optional: S3 Enable Path Style
# Use 0 for mainstream S3 cloud providers; use 1 for self-hosted MinIO
# See: https://lobehub.com/docs/self-hosting/advanced/s3#s-3-enable-path-style
S3_ENABLE_PATH_STYLE=1
# Other basic environment variables (as needed)
# See: https://lobehub.com/docs/self-hosting/environment-variables/basic
# Note: For server versions, the API must support embedding models (OpenAI text-embedding-3-small) for file processing
# You don't need to specify this model in OPENAI_MODEL_LIST
# OPENAI_API_KEY=sk-xxxx
# OPENAI_PROXY_URL=https://api.openai.com/v1
# OPENAI_MODEL_LIST=...
@@ -0,0 +1,55 @@
# 必填,LobeChat 域名,用于 tRPC 调用
# 请保证此域名在你的 NextAuth 鉴权服务提供商、S3 服务商的 CORS 白名单中
APP_URL=https://lobe.example.com/
# Postgres 相关,也即 DB 必需的环境变量
# 必填,用于加密敏感信息的密钥,可以使用 openssl rand -base64 32 生成
KEY_VAULTS_SECRET=Kix2wcUONd4CX51E/ZPAd36BqM4wzJgKjPtz2sGztqQ=
# 必填,Postgres 数据库连接字符串,用于连接到数据库
# 格式:postgresql://username:password@host:port/dbname,如果你的 pg 实例为 Docker 容器且位于同一 docker-compose 文件中,亦可使用容器名作为 host
DATABASE_URL=postgresql://postgres:uWNZugjBqixf8dxC@postgresql:5432/lobe
# NEXT_AUTH 相关,也即鉴权服务必需的环境变量
# 可以使用 auth0、Azure AD、GitHub、Authentik、Zitadel、Logto 等,如有其他接入诉求欢迎提 PR
# 目前支持的鉴权服务提供商请参考:https://lobehub.com/zh/docs/self-hosting/advanced/auth#next-auth
# 如果你有 ACCESS_CODE,请务必清空,我们以 NEXT_AUTH 作为唯一鉴权来源
# 必填,用于 NextAuth 的密钥,可以使用 openssl rand -base64 32 生成
NEXT_AUTH_SECRET=NX2kaPE923dt6BL2U8e9oSre5RfoT7hg
# 必填,指定鉴权服务提供商,这里以 Logto 为例
NEXT_AUTH_SSO_PROVIDERS=logto
# 必填,NextAuth 的 URL,用于 NextAuth 的回调
NEXTAUTH_URL=https://lobe.example.com/api/auth
# NextAuth 鉴权服务提供商部分,以 Logto 为例
# 其他鉴权服务提供商所需的环境变量,请参考:https://lobehub.com/zh/docs/self-hosting/environment-variables/auth
AUTH_LOGTO_ID=YOUR_LOGTO_ID
AUTH_LOGTO_SECRET=YOUR_LOGTO_SECRET
AUTH_LOGTO_ISSUER=https://lobe-auth-api.example.com/oidc
# 代理相关,如果你需要的话(比如你使用 GitHub 作为鉴权服务提供商)
# HTTP_PROXY=http://localhost:7890
# HTTPS_PROXY=http://localhost:7890
# S3 相关,也即非结构化数据(文件、图片等)存储必需的环境变量
# 这里以 MinIO 为例
# 必填,S3 的 Access Key ID,对于 MinIO 来说,直到在 MinIO UI 中手动创建之前都是无效的
S3_ACCESS_KEY_ID=YOUR_S3_ACCESS_KEY_ID
# 必填,S3 的 Secret Access Key,对于 MinIO 来说,直到在 MinIO UI 中手动创建之前都是无效的
S3_SECRET_ACCESS_KEY=YOUR_S3_SECRET_ACCESS_KEY
# 必填,S3 的 Endpoint,用于服务端/客户端连接到 S3 API
S3_ENDPOINT=https://lobe-s3-api.example.com
# 必填,S3 的 Bucket,直到在 MinIO UI 中手动创建之前都是无效的
S3_BUCKET=lobe
# 必填,S3 的 Public Domain,用于客户端通过公开连接访问非结构化数据
S3_PUBLIC_DOMAIN=https://lobe-s3-api.example.com
# 选填,S3 的 Enable Path Style
# 对于主流 S3 Cloud 服务商,一般填 0 即可;对于自部署的 MinIO,请填 1
# 请参考:https://lobehub.com/zh/docs/self-hosting/advanced/s3#s-3-enable-path-style
S3_ENABLE_PATH_STYLE=1
# 其他基础环境变量,视需求而定。注意不要有 ACCESS_CODE
# 请参考:https://lobehub.com/zh/docs/self-hosting/environment-variables/basic
# 请注意,对于服务端版本,其 API 必须支持嵌入(即 OpenAI text-embedding-3-small)模型,否则无法对上传文件进行处理,但你无需在 OPENAI_MODEL_LIST 中指定此模型
# OPENAI_API_KEY=sk-xxxx
# OPENAI_PROXY_URL=https://api.openai.com/v1
# OPENAI_MODEL_LIST=...
@@ -0,0 +1,71 @@
name: lobe-chat-database
services:
postgresql:
image: pgvector/pgvector:pg16
container_name: lobe-postgres
ports:
- '5432:5432'
volumes:
- './data:/var/lib/postgresql/data'
environment:
- 'POSTGRES_DB=lobe'
- 'POSTGRES_PASSWORD=uWNZugjBqixf8dxC'
healthcheck:
test: ['CMD-SHELL', 'pg_isready -U postgres']
interval: 5s
timeout: 5s
retries: 5
restart: always
minio:
image: minio/minio
container_name: lobe-minio
ports:
- '9000:9000'
- '9001:9001'
volumes:
- './s3_data:/etc/minio/data'
environment:
- 'MINIO_ROOT_USER=YOUR_MINIO_USER'
- 'MINIO_ROOT_PASSWORD=YOUR_MINIO_PASSWORD'
- 'MINIO_DOMAIN=lobe-s3-api.example.com'
- 'MINIO_API_CORS_ALLOW_ORIGIN=https://lobe.example.com' # Your LobeChat's domain name.
restart: always
command: >
server /etc/minio/data --address ":9000" --console-address ":9001"
logto:
image: svhd/logto
container_name: lobe-logto
ports:
- '3001:3001'
- '3002:3002'
depends_on:
postgresql:
condition: service_healthy
environment:
- 'TRUST_PROXY_HEADER=1'
- 'DB_URL=postgresql://postgres:uWNZugjBqixf8dxC@postgresql:5432/logto'
- 'ENDPOINT=https://lobe-auth-api.example.com'
- 'ADMIN_ENDPOINT=https://lobe-auth-ui.example.com'
entrypoint: ['sh', '-c', 'npm run cli db seed -- --swe && npm start']
lobe:
image: lobehub/lobe-chat-database
container_name: lobe-chat
ports:
- '3210:3210'
depends_on:
- postgresql
- minio
- logto
env_file:
- .env
restart: always
volumes:
data:
driver: local
s3_data:
driver: local
@@ -0,0 +1,53 @@
# Required: LobeChat domain for tRPC calls
# Ensure this domain is whitelisted in your NextAuth providers and S3 service CORS settings
APP_URL=https://lobe.example.com/
# Postgres related environment variables
# Required: Secret key for encrypting sensitive information. Generate with: openssl rand -base64 32
KEY_VAULTS_SECRET=Kix2wcUONd4CX51E/ZPAd36BqM4wzJgKjPtz2sGztqQ=
# Required: Postgres database connection string
# Format: postgresql://username:password@host:port/dbname
# If using Docker, you can use the container name as the host
DATABASE_URL=postgresql://postgres:uWNZugjBqixf8dxC@postgresql:5432/lobe
# NEXT_AUTH related environment variables
# Required: NextAuth URL for callbacks
NEXTAUTH_URL=https://lobe.example.com/api/auth
# Required: NextAuth secret key. Generate with: openssl rand -base64 32
NEXT_AUTH_SECRET=NX2kaPE923dt6BL2U8e9oSre5RfoT7hg
# Required: Specify the authentication provider
NEXT_AUTH_SSO_PROVIDERS=zitadel
# ZiTADEL provider configuration
# Please refer tohttps://lobehub.com/zh/docs/self-hosting/advanced/auth/next-auth/zitadel
AUTH_ZITADEL_ID=285934220675723622
AUTH_ZITADEL_SECRET=pe7Nh3lopXkZkfqh5YEDYI2xsbIz08eZKqInOUZxssd3refRia518Apbv3DZ
AUTH_ZITADEL_ISSUER=https://zitadel.example.com
# Proxy settings (if needed, e.g., when using GitHub as an auth provider)
# HTTP_PROXY=http://localhost:7890
# HTTPS_PROXY=http://localhost:7890
# S3 related environment variables (example using MinIO)
# Required: S3 Access Key ID (for MinIO, invalid until manually created in MinIO UI)
S3_ACCESS_KEY_ID=YOUR_S3_ACCESS_KEY_ID
# Required: S3 Secret Access Key (for MinIO, invalid until manually created in MinIO UI)
S3_SECRET_ACCESS_KEY=YOUR_S3_SECRET_ACCESS_KEY
# Required: S3 Endpoint for server/client connections to S3 API
S3_ENDPOINT=https://lobe-s3-api.example.com
# Required: S3 Bucket (invalid until manually created in MinIO UI)
S3_BUCKET=lobe
# Required: S3 Public Domain for client access to unstructured data
S3_PUBLIC_DOMAIN=https://lobe-s3-api.example.com
# Optional: S3 Enable Path Style
# Use 0 for mainstream S3 cloud providers; use 1 for self-hosted MinIO
# See: https://lobehub.com/docs/self-hosting/advanced/s3#s-3-enable-path-style
S3_ENABLE_PATH_STYLE=1
# Other basic environment variables (as needed)
# See: https://lobehub.com/docs/self-hosting/environment-variables/basic
# Note: For server versions, the API must support embedding models (OpenAI text-embedding-3-small) for file processing
# You don't need to specify this model in OPENAI_MODEL_LIST
# OPENAI_API_KEY=sk-xxxx
# OPENAI_PROXY_URL=https://api.openai.com/v1
# OPENAI_MODEL_LIST=...
@@ -0,0 +1,48 @@
# 必填,LobeChat 域名,用于 tRPC 调用
# 请保证此域名在你的 NextAuth 鉴权服务提供商、S3 服务商的 CORS 白名单中
APP_URL=https://lobe.example.com/
# Postgres 相关,也即 DB 必需的环境变量
# 必填,用于加密敏感信息的密钥,可以使用 openssl rand -base64 32 生成
KEY_VAULTS_SECRET=Kix2wcUONd4CX51E/ZPAd36BqM4wzJgKjPtz2sGztqQ=
# 必填,Postgres 数据库连接字符串,用于连接到数据库
# 格式:postgresql://username:password@host:port/dbname,如果你的 pg 实例为 Docker 容器且位于同一 docker-compose 文件中,亦可使用容器名作为 host
DATABASE_URL=postgresql://postgres:uWNZugjBqixf8dxC@postgresql:5432/lobe
# NEXT_AUTH 相关,也即鉴权服务必需的环境变量
# 必填,NextAuth 的 URL,用于 NextAuth 的回调
NEXTAUTH_URL=https://lobe.example.com/api/auth
# 必填,用于 NextAuth 的密钥,可以使用 openssl rand -base64 32 生成
NEXT_AUTH_SECRET=NX2kaPE923dt6BL2U8e9oSre5RfoT7hg
# 必填,指定鉴权服务提供商
NEXT_AUTH_SSO_PROVIDERS=zitadel
# ZiTADEL 鉴权服务提供商部分
# 请参考:https://lobehub.com/zh/docs/self-hosting/advanced/auth/next-auth/zitadel
AUTH_ZITADEL_ID=285934220675723622
AUTH_ZITADEL_SECRET=pe7Nh3lopXkZkfqh5YEDYI2xsbIz08eZKqInOUZxssd3refRia518Apbv3DZ
AUTH_ZITADEL_ISSUER=https://zitadel.example.com
# S3 相关,也即非结构化数据(文件、图片等)存储必需的环境变量
# 这里以 MinIO 为例
# 必填,S3 的 Access Key ID,对于 MinIO 来说,直到在 MinIO UI 中手动创建之前都是无效的
S3_ACCESS_KEY_ID=YOUR_S3_ACCESS_KEY_ID
# 必填,S3 的 Secret Access Key,对于 MinIO 来说,直到在 MinIO UI 中手动创建之前都是无效的
S3_SECRET_ACCESS_KEY=YOUR_S3_SECRET_ACCESS_KEY
# 必填,S3 的 Endpoint,用于服务端/客户端连接到 S3 API
S3_ENDPOINT=https://lobe-s3-api.example.com
# 必填,S3 的 Bucket,直到在 MinIO UI 中手动创建之前都是无效的
S3_BUCKET=lobe
# 必填,S3 的 Public Domain,用于客户端通过公开连接访问非结构化数据
S3_PUBLIC_DOMAIN=https://lobe-s3-api.example.com
# 选填,S3 的 Enable Path Style
# 对于主流 S3 Cloud 服务商,一般填 0 即可;对于自部署的 MinIO,请填 1
# 请参考:https://lobehub.com/zh/docs/self-hosting/advanced/s3#s-3-enable-path-style
S3_ENABLE_PATH_STYLE=1
# 其他基础环境变量,视需求而定。注意不要有 ACCESS_CODE
# 请参考:https://lobehub.com/zh/docs/self-hosting/environment-variables/basic
# 请注意,对于服务端版本,其 API 必须支持嵌入(即 OpenAI text-embedding-3-small)模型,否则无法对上传文件进行处理,但你无需在 OPENAI_MODEL_LIST 中指定此模型
# OPENAI_API_KEY=sk-xxxx
# OPENAI_PROXY_URL=https://api.openai.com/v1
# OPENAI_MODEL_LIST=...
@@ -0,0 +1,69 @@
name: lobe-chat-database
services:
postgresql:
image: pgvector/pgvector:pg16
container_name: lobe-postgres
ports:
- '5432:5432'
volumes:
- './data:/var/lib/postgresql/data'
environment:
- 'POSTGRES_DB=lobe'
- 'POSTGRES_PASSWORD=uWNZugjBqixf8dxC'
healthcheck:
test: ['CMD-SHELL', 'pg_isready -U postgres']
interval: 5s
timeout: 5s
retries: 5
restart: always
minio:
image: minio/minio
container_name: lobe-minio
ports:
- '9000:9000'
- '9001:9001'
volumes:
- './s3_data:/etc/minio/data'
environment:
- 'MINIO_ROOT_USER=YOUR_MINIO_USER'
- 'MINIO_ROOT_PASSWORD=YOUR_MINIO_PASSWORD'
- 'MINIO_DOMAIN=lobe-s3-api.example.com'
- 'MINIO_API_CORS_ALLOW_ORIGIN=https://lobe.example.com' # Your LobeChat's domain name.
restart: always
command: >
server /etc/minio/data --address ":9000" --console-address ":9001"
zitadel:
restart: always
image: ghcr.io/zitadel/zitadel:latest
container_name: lobe-zitadel
command: start-from-init --config /zitadel-config.yaml --steps /zitadel-init-steps.yaml --masterkey "cft3Tekr/rQBOqwoQSCPoncA9BHbn7QJ" --tlsMode external #MasterkeyNeedsToHave32Characters
ports:
- 8080:8080
volumes:
- ./zitadel-config.yaml:/zitadel-config.yaml:ro
- ./zitadel-init-steps.yaml:/zitadel-init-steps.yaml:ro
depends_on:
postgresql:
condition: service_healthy
lobe:
image: lobehub/lobe-chat-database
container_name: lobe-chat
ports:
- '3210:3210'
depends_on:
- postgresql
- minio
- zitadel
env_file:
- .env
restart: always
volumes:
data:
driver: local
s3_data:
driver: local
@@ -0,0 +1,25 @@
Log:
Level: 'info'
ExternalPort: 443
ExternalDomain: example.com #Your zitadel's domain name
ExternalSecure: true
TLS:
Enabled: false # ZITADEL_TLS_ENABLED
# If not using the docker compose example, adjust these values for connecting ZITADEL to your PostgreSQL
Database:
postgres:
Host: postgresql
Port: 5432
Database: zitadel
User:
Username: 'zitadel'
Password: 'zitadel'
SSL:
Mode: 'disable'
Admin:
Username: 'postgres'
Password: 'uWNZugjBqixf8dxC' #postgres password
SSL:
Mode: 'disable'
@@ -0,0 +1,11 @@
# All possible options and their defaults: https://github.com/zitadel/zitadel/blob/main/cmd/setup/steps.yaml
FirstInstance:
Org:
Human:
# use the loginname root@zitadel.localhost, replace localhost with your configured external domain
Username: 'root'
# The password must be 8 characters or more and must contain uppercase letters, lowercase letters, symbols, and numbers. The first login will require a password change.
Password: 'Password1!'
Email:
# Optional, if set, can be used to log in with email.
Address: 'example@zitadel.com' # ZITADEL_FIRSTINSTANCE_ORG_HUMAN_EMAIL_ADDRESS
+753
View File
@@ -0,0 +1,753 @@
#!/bin/bash
# ==================
# == Env settings ==
# ==================
# check operating system
# ref: https://github.com/lobehub/lobe-chat/pull/5247
if [[ "$OSTYPE" == "darwin"* ]]; then
# macOS
SED_COMMAND="sed -i ''"
else
# not macOS
SED_COMMAND="sed -i"
fi
# ======================
# == Process the args ==
# ======================
# 1. Default values of arguments
# Arg: -l or --lang
# Determine the language to show, default is en
# Arg: --url
# Determine the source URL to download files
SOURCE_URL="https://raw.githubusercontent.com/lobehub/lobe-chat/main"
# Arg: --host
# Determine the server host
HOST=""
# 2. Parse script arguments
while getopts "l:-:" opt; do
case $opt in
l)
LANGUAGE=$OPTARG
;;
-)
case "${OPTARG}" in
lang)
LANGUAGE="${!OPTIND}"
OPTIND=$(($OPTIND + 1))
;;
url)
SOURCE_URL="${!OPTIND}"
OPTIND=$(($OPTIND + 1))
;;
host)
HOST="${!OPTIND}"
OPTIND=$(($OPTIND + 1))
;;
*)
echo "Usage: $0 [-l language|--lang language] [--url source] [--host serverhost]" >&2
exit 1
;;
esac
;;
*)
echo "Usage: $0 [-l language|--lang language] [--url source]" >&2
exit 1
;;
esac
done
#######################
## Helper Functions ##
#######################
# Supported languages and messages
# Arg: -l --lang
# If the language is not supported, default to English
# Function to show messages
show_message() {
local key="$1"
case $key in
choose_language)
echo "Please choose a language / 请选择语言:"
echo "(0) English"
echo "(1) 简体中文"
;;
downloading)
case $LANGUAGE in
zh_CN)
echo "正在下载文件..."
;;
*)
echo "Downloading files..."
;;
esac
;;
extracted_success)
case $LANGUAGE in
zh_CN)
echo " 解压成功到目录:"
;;
*)
echo " extracted successfully to directory: "
;;
esac
;;
extracted_failed)
case $LANGUAGE in
zh_CN)
echo " 解压失败。"
;;
*)
echo " extraction failed."
;;
esac
;;
file_not_exists)
case $LANGUAGE in
zh_CN)
echo " 不存在。"
;;
*)
echo " does not exist."
;;
esac
;;
security_secrect_regenerate)
case $LANGUAGE in
zh_CN)
echo "重新生成安全密钥..."
;;
*)
echo "Regenerate security secrets..."
;;
esac
;;
security_secrect_regenerate_failed)
case $LANGUAGE in
zh_CN)
echo "无法重新生成安全密钥:"
;;
*)
echo "Failed to regenerate security secrets: "
;;
esac
;;
host_regenerate)
case $LANGUAGE in
zh_CN)
echo "✔️ 已更新部署模式配置"
;;
*)
echo "✔️ Updated deployment mode configuration"
;;
esac
;;
host_regenerate_failed)
case $LANGUAGE in
zh_CN)
echo "无法重新生成服务器域名:"
;;
*)
echo "Failed to regenerate server host: "
;;
esac
;;
security_secrect_regenerate_report)
case $LANGUAGE in
zh_CN)
echo "安全密钥生成结果如下:"
;;
*)
echo "Security secret generation results are as follows:"
;;
esac
;;
tips_download_failed)
case $LANGUAGE in
zh_CN)
echo "$2 下载失败,请检查网络连接。"
;;
*)
echo "$2 Download failed, please check the network connection."
;;
esac
;;
tips_already_installed)
case $LANGUAGE in
zh_CN)
echo "检测到您已经运行过 LobeChat Database,本安装程序只能完成初始化配置,并不能重复安装。如果你需要重新安装,请删除 data 和 s3_data 文件夹。"
;;
*)
echo "It is detected that you have run LobeChat Database. This installation program can only complete the initialization configuration and cannot be reinstalled. If you need to reinstall, please delete the data and s3_data folders."
;;
esac
;;
tips_run_command)
case $LANGUAGE in
zh_CN)
echo "您已经完成了所有配置。请运行以下命令启动LobeChat:"
;;
*)
echo "You have completed all configurations. Please run this command to start LobeChat:"
;;
esac
;;
tips_show_documentation)
case $LANGUAGE in
zh_CN)
echo "完整的环境变量在'.env'中可以在文档中找到:"
;;
*)
echo "Full environment variables in the '.env' can be found at the documentation on "
;;
esac
;;
tips_show_documentation_url)
case $LANGUAGE in
zh_CN)
echo "https://lobehub.com/zh/docs/self-hosting/environment-variables"
;;
*)
echo "https://lobehub.com/docs/self-hosting/environment-variables"
;;
esac
;;
tips_no_executable)
case $LANGUAGE in
zh_CN)
echo "没有找到,请先安装。"
;;
*)
echo "not found, please install it first."
;;
esac
;;
tips_allow_ports)
case $LANGUAGE in
zh_CN)
echo "请确保服务器以下端口未被占用且能被访问:3210, 9000, 9001, 8000"
;;
*)
echo "Please make sure the following ports on the server are not occupied and can be accessed: 3210, 9000, 9001, 8000"
;;
esac
;;
tips_auto_detected)
case $LANGUAGE in
zh_CN)
echo "已自动识别"
;;
*)
echo "Auto-detected"
;;
esac
;;
tips_private_ip_detected)
case $LANGUAGE in
zh_CN)
echo "注意,当前识别到内网 IP,如果需要外部访问,请替换为公网 IP 地址"
;;
*)
echo "Note that the current internal IP is detected. If you need external access, please replace it with the public IP address."
;;
esac
;;
tips_add_reverse_proxy)
case $LANGUAGE in
zh_CN)
echo "请在你的反向代理中完成域名到端口的映射:"
;;
*)
echo "Please complete the mapping of domain to port in your reverse proxy:"
;;
esac
;;
tips_no_docker_permission)
case $LANGUAGE in
zh_CN)
echo "WARN: 看起来当前用户没有 Docker 权限。"
echo "使用 'sudo usermod -aG docker $USER' 为用户分配 Docker 权限(可能需要重新启动 shell)。"
;;
*)
echo "WARN: It look like the current user does not have Docker permissions."
echo "Use 'sudo usermod -aG docker $USER' to assign Docker permissions to the user (may require restarting shell)."
;;
esac
;;
tips_init_database_failed)
case $LANGUAGE in
zh_CN)
echo "无法初始化数据库,为了避免你的数据重复初始化,请在首次成功启动时运行以下指令清空 Casdoor 初始配置文件:"
echo "echo '{}' > init_data.json"
;;
*)
echo "Failed to initialize the database. To avoid your data being initialized repeatedly, run the following command to unmount the initial configuration file of Casdoor when you first start successfully:"
echo "echo '{}' > init_data.json"
;;
esac
;;
ask_regenerate_secrets)
case $LANGUAGE in
zh_CN)
echo "是否要重新生成安全密钥?"
;;
*)
echo "Do you want to regenerate security secrets?"
;;
esac
;;
ask_deploy_mode)
case $LANGUAGE in
zh_CN)
echo "请选择部署模式:"
echo "(0) 域名模式(访问时无需指明端口),需要使用反向代理服务 LobeChat, MinIO, Casdoor ,并分别分配一个域名;"
echo "(1) 端口模式(访问时需要指明端口,如使用IP访问,或域名+端口访问),需要放开指定端口;"
echo "(2) 本地模式(仅供本地测试使用)"
echo "如果你对这些内容疑惑,可以先选择使用本地模式进行部署,稍后根据文档指引再进行修改。"
echo "https://lobehub.com/docs/self-hosting/server-database/docker-compose"
;;
*)
echo "Please select the deployment mode:"
echo "(0) Domain mode (no need to specify the port when accessing), you need to use the reverse proxy service LobeChat, MinIO, Casdoor, and assign a domain name respectively;"
echo "(1) Port mode (need to specify the port when accessing, such as using IP access, or domain name + port access), you need to open the specified port;"
echo "(2) Local mode (for local testing only)"
echo "If you are confused about these contents, you can choose to deploy in local mode first, and then modify according to the document guide later."
echo "https://lobehub.com/docs/self-hosting/server-database/docker-compose"
;;
esac
;;
ask_host)
case $LANGUAGE in
zh_CN)
echo " 部署IP/域名"
;;
*)
echo " Deploy IP/Domain"
;;
esac
;;
ask_domain)
case $LANGUAGE in
zh_CN)
echo "服务的域名(例如 $2 ,不要包含协议前缀):"
;;
*)
echo "The domain of the service (e.g. $2, do not include the protocol prefix):"
;;
esac
;;
ask_protocol)
case $LANGUAGE in
zh_CN)
echo "域名是否使用 https 协议? (所有服务需要使用同一协议)"
;;
*)
echo "Does the domain use the https protocol? (All services need to use the same protocol)"
;;
esac
;;
ask_init_database)
case $LANGUAGE in
zh_CN)
echo "是否初始化数据库?"
;;
*)
echo "Do you want to initialize the database?"
;;
esac
;;
esac
}
# Function to download files
download_file() {
wget --show-progress "$1" -O "$2"
# If run failed, exit
if [ $? -ne 0 ]; then
show_message "tips_download_failed" "$2"
exit 1
fi
}
print_centered() {
# Define colors
declare -A colors
colors=(
[black]="\e[30m"
[red]="\e[31m"
[green]="\e[32m"
[yellow]="\e[33m"
[blue]="\e[34m"
[magenta]="\e[35m"
[cyan]="\e[36m"
[white]="\e[37m"
[reset]="\e[0m"
)
local text="$1" # Get input texts
local color="${2:-reset}" # Get color, default to reset
local term_width=$(tput cols) # Get terminal width
local text_length=${#text} # Get text length
local padding=$(((term_width - text_length) / 2)) # Get padding
# Check if the color is valid
if [[ -z "${colors[$color]}" ]]; then
echo "Invalid color specified. Available colors: ${!colors[@]}"
return 1
fi
# Print the text with padding
printf "%*s${colors[$color]}%s${colors[reset]}\n" $padding "" "$text"
}
# Usage:
# ```sh
# ask "prompt" "default" "description"
# echo $ask_result
# ```
# "prompt" ["description" "default"]:
ask() {
local prompt="$1"
local default="$2"
local description="$3"
# Add a space after the description if it is not empty
if [ -n "$description" ]; then
description="$description "
fi
local result
if [ -n "$default" ]; then
read -p "$prompt [${description}${default}]: " result
result=${result:-$default}
else
read -p "$prompt: " result
fi
# trim and assign to global variable
ask_result=$(echo "$result" | xargs)
}
####################
## Main Process ##
####################
# ===============
# == Variables ==
# ===============
# File list
SUB_DIR="docker-compose/local"
FILES=(
"$SUB_DIR/docker-compose.yml"
"$SUB_DIR/init_data.json"
"$SUB_DIR/searxng-settings.yml"
)
ENV_EXAMPLES=(
"$SUB_DIR/.env.zh-CN.example"
"$SUB_DIR/.env.example"
)
# Default values
CASDOOR_PASSWORD="123"
CASDOOR_SECRET="CASDOOR_SECRET"
MINIO_ROOT_PASSWORD="YOUR_MINIO_PASSWORD"
CASDOOR_HOST="localhost:8000"
MINIO_HOST="localhost:9000"
PROTOCOL="http"
# If no language is specified, ask the user to choose
if [ -z "$LANGUAGE" ]; then
show_message "choose_language"
ask "(0,1)" "0"
case $ask_result in
0)
LANGUAGE="en_US"
;;
1)
LANGUAGE="zh_CN"
;;
*)
echo "Invalid language: $ask_result"
exit 1
;;
esac
fi
section_download_files(){
# Download files asynchronously
if ! command -v wget &> /dev/null ; then
echo "wget" $(show_message "tips_no_executable")
exit 1
fi
download_file "$SOURCE_URL/${FILES[0]}" "docker-compose.yml"
download_file "$SOURCE_URL/${FILES[1]}" "init_data.json"
download_file "$SOURCE_URL/${FILES[2]}" "searxng-settings.yml"
# Download .env.example with the specified language
if [ "$LANGUAGE" = "zh_CN" ]; then
download_file "$SOURCE_URL/${ENV_EXAMPLES[0]}" ".env"
else
download_file "$SOURCE_URL/${ENV_EXAMPLES[1]}" ".env"
fi
}
# If the folder `data` or `s3_data` exists, warn the user
if [ -d "data" ] || [ -d "s3_data" ]; then
show_message "tips_already_installed"
exit 0
else
section_download_files
fi
section_configurate_host() {
DEPLOY_MODE=$ask_result
show_message "host_regenerate"
# If run in local mode, skip this step
if [[ "$DEPLOY_MODE" == "2" ]]; then
HOST="localhost:3210"
LOBE_HOST="$HOST"
return 0
fi
# Configurate protocol for domain
if [[ "$DEPLOY_MODE" == "0" ]]; then
# Ask if enable https
echo $(show_message "ask_protocol")
ask "(y/n)" "y"
if [[ "$ask_result" == "y" ]]; then
PROTOCOL="https"
# Replace all http with https
$SED_COMMAND "s#http://#https://#" .env
fi
fi
# Check if sed is installed
if ! command -v $SED_COMMAND &> /dev/null ; then
echo "sed" $(show_message "tips_no_executable")
exit 1
fi
# If user not specify host, try to get the server ip
if [ -z "$HOST" ]; then
HOST=$(hostname -I | awk '{print $1}')
# If the host is a private ip and the deploy mode is port mode
if [[ "$DEPLOY_MODE" == "1" ]] && ([[ "$HOST" == "192.168."* ]] || [[ "$HOST" == "172."* ]] || [[ "$HOST" == "10."* ]]); then
echo $(show_message "tips_private_ip_detected")
fi
fi
case $DEPLOY_MODE in
0)
DEPLOY_MODE="domain"
echo "LobeChat" $(show_message "ask_domain" "example.com")
ask "(example.com)"
LOBE_HOST="$ask_result"
# If user use domain mode, ask for the domain of Minio and Casdoor
echo "Minio S3 API" $(show_message "ask_domain" "minio.example.com")
ask "(minio.example.com)"
MINIO_HOST="$ask_result"
echo "Casdoor API" $(show_message "ask_domain" "auth.example.com")
ask "(auth.example.com)"
CASDOOR_HOST="$ask_result"
# Setup callback url for Casdoor
$SED_COMMAND "s/"example.com"/${LOBE_HOST}/" init_data.json
;;
1)
DEPLOY_MODE="ip"
ask $(printf "%s%s" "LobeChat" $(show_message "ask_host")) "$HOST" $(printf "%s" $(show_message "tips_auto_detected"))
LOBE_HOST="$ask_result"
# If user use ip mode, use ask_result as the host
HOST="$ask_result"
# If user use ip mode, append the port to the host
LOBE_HOST="${HOST}:3210"
MINIO_HOST="${HOST}:9000"
CASDOOR_HOST="${HOST}:8000"
# Setup callback url for Casdoor
$SED_COMMAND "s/"localhost:3210"/${LOBE_HOST}/" init_data.json
;;
*)
echo "Invalid deploy mode: $ask_result"
exit 1
;;
esac
# lobe host
$SED_COMMAND "s#^APP_URL=.*#APP_URL=$PROTOCOL://$LOBE_HOST#" .env
# auth related
$SED_COMMAND "s#^AUTH_URL=.*#AUTH_URL=$PROTOCOL://$LOBE_HOST/api/auth#" .env
$SED_COMMAND "s#^AUTH_CASDOOR_ISSUER=.*#AUTH_CASDOOR_ISSUER=$PROTOCOL://$CASDOOR_HOST#" .env
$SED_COMMAND "s#^origin=.*#origin=$PROTOCOL://$CASDOOR_HOST#" .env
# s3 related
$SED_COMMAND "s#^S3_PUBLIC_DOMAIN=.*#S3_PUBLIC_DOMAIN=$PROTOCOL://$MINIO_HOST#" .env
$SED_COMMAND "s#^S3_ENDPOINT=.*#S3_ENDPOINT=$PROTOCOL://$MINIO_HOST#" .env
# Check if env modified success
if [ $? -ne 0 ]; then
echo $(show_message "host_regenerate_failed") "$HOST in \`.env\`"
fi
}
show_message "ask_deploy_mode"
ask "(0,1,2)" "2"
if [[ "$ask_result" == "0" ]] || [[ "$ask_result" == "1" ]] || [[ "$ask_result" == "2" ]]; then
section_configurate_host
else
echo "Invalid deploy mode: $ask_result, please select 0, 1 or 2."
exit 1
fi
# ==========================
# === Regenerate Secrets ===
# ==========================
section_regenerate_secrets() {
# Check if openssl is installed
if ! command -v openssl &> /dev/null ; then
echo "openssl" $(show_message "tips_no_executable")
exit 1
fi
if ! command -v tr &> /dev/null ; then
echo "tr" $(show_message "tips_no_executable")
exit 1
fi
if ! command -v fold &> /dev/null ; then
echo "fold" $(show_message "tips_no_executable")
exit 1
fi
if ! command -v head &> /dev/null ; then
echo "head" $(show_message "tips_no_executable")
exit 1
fi
generate_key() {
if [[ -z "$1" ]]; then
echo "Usage: generate_key <length>"
return 1
fi
echo $(openssl rand -hex $1 | tr -d '\n' | fold -w $1 | head -n 1)
}
if ! command -v sed &> /dev/null ; then
echo "sed" $(show_message "tips_no_executable")
exit 1
fi
echo $(show_message "security_secrect_regenerate")
# Generate CASDOOR_SECRET
CASDOOR_SECRET=$(generate_key 32)
if [ $? -ne 0 ]; then
echo $(show_message "security_secrect_regenerate_failed") "CASDOOR_SECRET"
else
# Search and replace the value of CASDOOR_SECRET in .env
$SED_COMMAND "s#^AUTH_CASDOOR_SECRET=.*#AUTH_CASDOOR_SECRET=${CASDOOR_SECRET}#" .env
if [ $? -ne 0 ]; then
echo $(show_message "security_secrect_regenerate_failed") "AUTH_CASDOOR_SECRET in \`.env\`"
fi
# replace `clientSecrect` in init_data.json
$SED_COMMAND "s#dbf205949d704de81b0b5b3603174e23fbecc354#${CASDOOR_SECRET}#" init_data.json
if [ $? -ne 0 ]; then
echo $(show_message "security_secrect_regenerate_failed") "AUTH_CASDOOR_SECRET in \`init_data.json\`"
fi
fi
# Generate Casdoor User
CASDOOR_USER="admin"
CASDOOR_PASSWORD=$(generate_key 10)
if [ $? -ne 0 ]; then
echo $(show_message "security_secrect_regenerate_failed") "CASDOOR_PASSWORD"
CASDOOR_PASSWORD="123"
else
# replace `password` in init_data.json
$SED_COMMAND "s/"123"/${CASDOOR_PASSWORD}/" init_data.json
if [ $? -ne 0 ]; then
echo $(show_message "security_secrect_regenerate_failed") "CASDOOR_PASSWORD in \`init_data.json\`"
fi
fi
# Generate Minio S3 User Password
MINIO_ROOT_PASSWORD=$(generate_key 8)
if [ $? -ne 0 ]; then
echo $(show_message "security_secrect_regenerate_failed") "MINIO_ROOT_PASSWORD"
MINIO_ROOT_PASSWORD="YOUR_MINIO_PASSWORD"
else
# Search and replace the value of S3_SECRET_ACCESS_KEY in .env
$SED_COMMAND "s#^MINIO_ROOT_PASSWORD=.*#MINIO_ROOT_PASSWORD=${MINIO_ROOT_PASSWORD}#" .env
if [ $? -ne 0 ]; then
echo $(show_message "security_secrect_regenerate_failed") "MINIO_ROOT_PASSWORD in \`.env\`"
fi
fi
}
show_message "ask_regenerate_secrets"
ask "(y/n)" "y"
if [[ "$ask_result" == "y" ]]; then
section_regenerate_secrets
fi
section_init_database() {
if ! command -v docker &> /dev/null ; then
echo "docker" $(show_message "tips_no_executable")
return 1
fi
if ! docker compose &> /dev/null ; then
echo "docker compose" $(show_message "tips_no_executable")
return 1
fi
# Check if user has permissions to run Docker by trying to get the status of Docker (docker status).
# If this fails, the user probably does not have permissions for Docker.
# ref: https://github.com/paperless-ngx/paperless-ngx/blob/89e5c08a1fe4ca0b7641ae8fbd5554502199ae40/install-paperless-ngx.sh#L64-L72
if ! docker stats --no-stream &> /dev/null ; then
echo $(show_message "tips_no_docker_permission")
return 1
fi
docker compose pull
docker compose up --detach postgresql casdoor
# hopefully enough time for even the slower systems
sleep 15
docker compose stop
# Init finished, remove init mount
echo '{}' > init_data.json
}
show_message "ask_init_database"
ask "(y/n)" "y"
if [[ "$ask_result" == "y" ]]; then
# If return 1 means failed
section_init_database
if [ $? -ne 0 ]; then
echo $(show_message "tips_init_database_failed")
fi
else
show_message "tips_init_database_failed"
fi
section_display_configurated_report() {
# Display configuration reports
echo $(show_message "security_secrect_regenerate_report")
echo -e "LobeChat: \n - URL: $PROTOCOL://$LOBE_HOST \n - Username: user \n - Password: ${CASDOOR_PASSWORD} "
echo -e "Casdoor: \n - URL: $PROTOCOL://$CASDOOR_HOST \n - Username: admin \n - Password: ${CASDOOR_PASSWORD}\n"
echo -e "Minio: \n - URL: $PROTOCOL://$MINIO_HOST \n - Username: admin\n - Password: ${MINIO_ROOT_PASSWORD}\n"
# if user run in domain mode, diplay reverse proxy configuration
if [[ "$DEPLOY_MODE" == "domain" ]]; then
echo $(show_message "tips_add_reverse_proxy")
printf "\n%s\t->\t%s\n" "$LOBE_HOST" "127.0.0.1:3210"
printf "%s\t->\t%s\n" "$CASDOOR_HOST" "127.0.0.1:8000"
printf "%s\t->\t%s\n" "$MINIO_HOST" "127.0.0.1:9000"
fi
# Display final message
printf "\n%s\n\n" "$(show_message "tips_run_command")"
print_centered "docker compose up -d" "green"
printf "\n%s\n" "$(show_message "tips_allow_ports")"
printf "\n%s" "$(show_message "tips_show_documentation")"
printf "%s\n" $(show_message "tips_show_documentation_url")
}
section_display_configurated_report
+26
View File
@@ -0,0 +1,26 @@
{
"https://github.com/lobehub/lobe-chat/assets/28616219/f29475a3-f346-4196-a435-41a6373ab9e2": "/blog/assets/28616219/f29475a3-f346-4196-a435-41a6373ab9e2.mp4",
"https://github.com/user-attachments/assets/03433283-08a5-481a-8f6c-069b2fc6bace": "/blog/assets/8d4c2cc0ce8654fa8ac06cc036a7f941.webp",
"https://github.com/user-attachments/assets/0e3a7174-6b66-4432-a319-dff60b033c24": "/blog/assets/39d7890f8cbe21e77db8d3c94f7f22e4.webp",
"https://github.com/user-attachments/assets/2048b4c2-4a56-4029-acf9-71e35ff08652": "/blog/assets/d9cbfcbef130183bc490d515d8a38aa4.webp",
"https://github.com/user-attachments/assets/2787824c-a13c-466c-ba6f-820bddfe099f": "/blog/assets/8d6c17a6ea5e784edf4449fb18ca3f76.webp",
"https://github.com/user-attachments/assets/29508dda-2382-430f-bc81-fb23f02149f8": "/blog/assets/29b13dc042e3b839ad8865354afe2fac.webp",
"https://github.com/user-attachments/assets/2a4116a7-15ad-43e5-b801-cc62d8da2012": "/blog/assets/37d85fdfccff9ed56e9c6827faee01c7.webp",
"https://github.com/user-attachments/assets/385eaca6-daea-484a-9bea-ba7270b4753d": "/blog/assets/d6129350de510a62fe87b2d2f0fb9477.webp",
"https://github.com/user-attachments/assets/3d80e0f5-d32a-4412-85b2-e709731460a0": "/blog/assets2d409f43b58953ad5396c6beab8a0719.webp",
"https://github.com/user-attachments/assets/484f28f4-017c-4ed7-948b-4a8d51f0b63a": "/blog/assets/5bbb4b421d6df63780b3c7a05f5a102d.webp",
"https://github.com/user-attachments/assets/533f7a5e-8a93-4a57-a62f-8233897d72b5": "/blog/assets/9498087e85f27e692716a63cb3b58d79.webp",
"https://github.com/user-attachments/assets/6069332b-8e15-4d3c-8a77-479e8bc09c23": "/blog/assets/603fefbb944bc6761ebdab5956fc0084.webp",
"https://github.com/user-attachments/assets/635f1c74-6327-48a8-a8d9-68d7376c7749": "/blog/assets/f6d047a345e47a52592cff916c9a64ce.webp",
"https://github.com/user-attachments/assets/639ed70b-abc5-476f-9eb0-10c739e5a115": "/blog/assets/b2845057b23bccfec3bfea90e43ac381.webp",
"https://github.com/user-attachments/assets/6935e155-4a1d-4ab7-a61a-2b813d65bb7b": "/blog/assets/6ee2609d79281b6b915e317461013f31.webp",
"https://github.com/user-attachments/assets/82bfc467-e0c6-4d99-9b1f-18e4aea24285": "/blog/assets/eb477e62217f4d1b644eff975c7ac168.webp",
"https://github.com/user-attachments/assets/aee846d5-b5ee-46cb-9dd0-d952ea708b67": "/blog/assets/8a8d361b4c0cce6da350cc0de65c0ad6.webp",
"https://github.com/user-attachments/assets/bd6d0c82-8f14-4167-ad09-2a841f1e34e4": "/blog/assets/d7e57f8e69f97b76b3c2414f3441b6e4.webp",
"https://github.com/user-attachments/assets/c68e88e4-cf2e-4122-82bc-89ba193b1eb4": "/blog/assets/1f6c4f1c5e6211735ca4924c7807aca1.webp",
"https://github.com/user-attachments/assets/dde2c9c5-cdda-4a65-8f32-b6f4da907df2": "/blog/assets/d47654360d626f80144cdedb979a3526.webp",
"https://github.com/user-attachments/assets/e70c2db6-05c9-43ea-b111-6f6f99e0ae88": "/blog/assets/944c671604833cd2457445b211ebba33.webp",
"https://github.com/user-attachments/assets/eaed3762-136f-4297-b161-ca92a27c4982": "/blog/assets/50b38eac1769ae6f13aef72f3d725eec.webp",
"https://github.com/user-attachments/assets/eb3f3d8a-79ce-40aa-a206-2c846206c0c0": "/blog/assets/f10a4b98782e36797c38071eed785c6f.webp",
"https://github.com/user-attachments/assets/fa8fab19-ace2-4f85-8428-a3a0e28845bb": "/blog/assets/2d678631c55369ba7d753c3ffcb73782.webp"
}
@@ -0,0 +1,24 @@
---
title: LobeChat Plugin Ecosystem - Functionality Extensions and Development Resources
description: >-
Discover how the LobeChat plugin ecosystem enhances the utility and
flexibility of the LobeChat assistant, along with the development resources
and plugin development guidelines provided.
tags:
- LobeChat
- Plugins
- Real-time Information
- Voice Options
---
# Supported Plugin System
The LobeChat plugin ecosystem is a significant extension of its core functionalities, greatly enhancing the utility and flexibility of the LobeChat assistant.
<Video src="https://github.com/lobehub/lobe-chat/assets/28616219/f29475a3-f346-4196-a435-41a6373ab9e2" />
By leveraging plugins, the LobeChat assistants are capable of accessing and processing real-time information, such as searching online for data and providing users with timely and relevant insights.
Moreover, these plugins are not solely limited to news aggregation; they can also extend to other practical functionalities, such as quickly retrieving documents, generating images, obtaining data from various platforms such as Bilibili and Steam, and interacting with an array of third-party services.
To learn more, please refer to the [Plugin Usage](/en/docs/usage/plugins/basic). Additionally, quality voice options (OpenAI Audio, Microsoft Edge Speech) are available to cater to users from different regions and cultural backgrounds. Users can select suitable voices based on personal preferences or specific situations, providing a personalized communication experience.
@@ -0,0 +1,21 @@
---
title: LobeChat 插件生态系统 - 功能扩展与开发资源
description: 了解 LobeChat 插件生态系统如何增强 LobeChat 助手的实用性和灵活性,以及提供的开发资源和插件开发指南。
tags:
- LobeChat
- 插件系统
- 实时信息
- 第三方服务
---
# 支持插件系统
LobeChat 的插件生态系统是其核心功能的重要扩展,它极大地增强了 LobeChat 助手的实用性和灵活性。
<Video src="https://github.com/lobehub/lobe-chat/assets/28616219/f29475a3-f346-4196-a435-41a6373ab9e2" />
通过利用插件,LobeChat 的助手们能够实现实时信息的获取和处理,例如搜索网络信息,为用户提供即时且相关的资讯。
此外,这些插件不仅局限于新闻聚合,还可以扩展到其他实用的功能,如快速检索文档、生成图片、获取 Bilibili 、Steam 等各种平台数据,以及与其他各式各样的第三方服务交互。
通过查看 [插件使用](/zh/docs/usage/plugins/basic) 了解更多。质的声音选项 (OpenAI Audio, Microsoft Edge Speech),以满足不同地域和文化背景用户的需求。用户可以根据个人喜好或者特定场景来选择合适的语音,从而获得个性化的交流体验。
+22
View File
@@ -0,0 +1,22 @@
---
title: >-
LobeChat Supports Multimodal Interaction: Visual Recognition Enhances
Intelligent Dialogue
description: >-
LobeChat supports various large language models with visual recognition
capabilities, allowing users to upload or drag and drop images. The assistant
will recognize the content and engage in intelligent dialogue, creating a more
intelligent and diverse chat environment.
tags:
- Visual Recognition
- LobeChat
- GPT-4 Vision
- Google Gemini Pro
- Multimodal Interaction
---
# Supported Models for Visual Recognition
LobeChat now supports several large language models with visual recognition capabilities, including OpenAI's [`gpt-4-vision`](https://platform.openai.com/docs/guides/vision), Google Gemini Pro vision, and Zhiyuan GLM-4 Vision. This empowers LobeChat with multimodal interaction capabilities. Users can effortlessly upload images or drag and drop them into the chat window, where the assistant can recognize the image content and engage in intelligent dialogue, building a smarter and more diverse chat experience.
This feature opens up new avenues for interaction, allowing communication that extends beyond text to include rich visual elements. Whether sharing images during everyday use or interpreting graphics in specific industries, the assistant delivers an exceptional conversational experience. Additionally, we have carefully selected a range of high-quality voice options (OpenAI Audio, Microsoft Edge Speech) to cater to users from different regions and cultural backgrounds. Users can choose a suitable voice based on personal preferences or specific contexts, thus receiving a more personalized communication experience.
@@ -0,0 +1,16 @@
---
title: LobeChat 支持多模态交互:视觉识别助力智能对话
description: LobeChat 支持多种具有视觉识别能力的大语言模型,用户可上传或拖拽图片,助手将识别内容并展开智能对话,打造更智能、多元化的聊天场景。
tags:
- 视觉识别
- 多模态交互
- LobeChat
- GPT-4
- Google Gemini Pro
---
# 支持模型视觉识别
LobeChat 已经支持 OpenAI 的 [`gpt-4-vision`](https://platform.openai.com/docs/guides/vision) 、Google Gemini Pro vision、智谱 GLM-4 Vision 等具有视觉识别能力的大语言模型,这使得 LobeChat 具备了多模态交互的能力。用户可以轻松上传图片或者拖拽图片到对话框中,助手将能够识别图片内容,并在此基础上进行智能对话,构建更智能、更多元化的聊天场景。
这一特性打开了新的互动方式,使得交流不再局限于文字,而是可以涵盖丰富的视觉元素。无论是日常使用中的图片分享,还是在特定行业内的图像解读,助手都能提供出色的对话体验。,我们精心挑选了一系列高品质的声音选项 (OpenAI Audio, Microsoft Edge Speech),以满足不同地域和文化背景用户的需求。用户可以根据个人喜好或者特定场景来选择合适的语音,从而获得个性化的交流体验。
+19
View File
@@ -0,0 +1,19 @@
---
title: LobeChat Text-to-Image Generation Technology
description: >-
LobeChat supports Text-to-Speech (TTS) and Speech-to-Text (STT) technologies,
offering high-quality voice options for a personalized communication
experience. Learn more about Lobe TTS Toolkit.
tags:
- TTS
- STT
- Voice Conversations
- LobeChat
- Audio Technology
---
# Supporting TTS & STT Voice Conversations
LobeChat supports Text-to-Speech (TTS) and Speech-to-Text (STT) technologies, allowing our application to transform textual information into clear voice output. Users can interact with our conversational agents as if they were talking to a real person. There are various voice options for users to choose from, providing the right audio source for their assistant. Additionally, for those who prefer auditory learning or seek to gain information while on the go, TTS offers an excellent solution.
In LobeChat, we have carefully curated a selection of high-quality voice options (OpenAI Audio, Microsoft Edge Speech) to cater to users from different regions and cultural backgrounds. Users can select suitable voices based on personal preferences or specific scenarios, thus achieving a personalized communication experience.
@@ -0,0 +1,17 @@
---
title: LobeChat 文生图:文本转图片生成技术
description: LobeChat 支持文字转语音(TTS)和语音转文字(STT)技术,提供高品质声音选项,个性化交流体验。了解更多关于 Lobe TTS 工具包。
tags:
- TTS
- STT
- 语音会话
- LobeChat
- 文字转语音
- 语音转文字
---
# 支持 TTS & STT 语音会话
LobeChat 支持文字转语音(Text-to-SpeechTTS)和语音转文字(Speech-to-Text,STT)技术,我们的应用能够将文本信息转化为清晰的语音输出,用户可以像与真人交谈一样与我们的对话代理进行交流。用户可以从多种声音中选择,给助手搭配合适的音源。 同时,对于那些倾向于听觉学习或者想要在忙碌中获取信息的用户来说,TTS 提供了一个极佳的解决方案。
在 LobeChat 中,我们精心挑选了一系列高品质的声音选项 (OpenAI Audio, Microsoft Edge Speech),以满足不同地域和文化背景用户的需求。用户可以根据个人喜好或者特定场景来选择合适的语音,从而获得个性化的交流体验。
+19
View File
@@ -0,0 +1,19 @@
---
title: 'LobeChat Text-to-Image: Text-to-Image Generation Technology'
description: >-
LobeChat now supports the latest text-to-image generation technology, allowing
users to directly invoke the text-to-image tool during conversations with the
assistant for creative purposes. By utilizing AI tools such as DALL-E 3,
MidJourney, and Pollinations, assistants can turn your ideas into images,
making the creative process more intimate and immersive.
tags:
- Text-to-Image
- LobeChat
- AI Tools
- DALL-E 3
- MidJourney
---
# Support for Text-to-Image Generation
The latest text-to-image generation technology is now supported, enabling LobeChat users to directly use the text-to-image tool during conversations with their assistant. By harnessing the capabilities of AI tools like [`DALL-E 3`](https://openai.com/dall-e-3), [`MidJourney`](https://www.midjourney.com/), and [`Pollinations`](https://pollinations.ai/), assistants can now transform your ideas into images. This allows for a more intimate and immersive creative process.
@@ -0,0 +1,14 @@
---
title: LobeChat 文生图:文本转图片生成技术
description: >-
LobeChat 现在支持最新的文本到图片生成技术,让用户可以在与助手对话中直接调用文生图工具进行创作。利用 DALL-E 3、MidJourney 和
Pollinations 等 AI 工具,助手们可以将你的想法转化为图像,让创作过程更私密和沉浸式。
tags:
- Text to Image
- 文生图
- AI 创作
---
# 支持 Text to Image 文生图
现已支持最新的文本到图片生成技术,LobeChat 现在能够让用户在与助手对话中直接调用文成图工具进行创作。通过利用 [`DALL-E 3`](https://openai.com/dall-e-3)、[`MidJourney`](https://www.midjourney.com/) 和 [`Pollinations`](https://pollinations.ai/) 等 AI 工具的能力, 助手们现在可以将你的想法转化为图像。同时可以更私密和沉浸式的完成你的创造过程。
+34
View File
@@ -0,0 +1,34 @@
---
title: LobeChat Supports Multi-User Management with Clerk and Next-Auth
description: >-
LobeChat offers various user authentication and management solutions,
including Clerk and Next-Auth, to meet the diverse needs of different users.
tags:
- User Management
- Next-Auth
- Clerk
- Authentication
- Multi-Factor Authentication
---
# Support for Multi-User Management with Clerk and Next-Auth
In modern applications, user management and authentication are crucial features. To cater to the diverse needs of users, LobeChat provides two primary user authentication and management solutions: `next-auth` and `Clerk`. Whether you're looking for simple user registration and login or need more advanced multi-factor authentication and user management, LobeChat can flexibly accommodate your requirements.
## Next-Auth: A Flexible and Powerful Authentication Library
LobeChat integrates `next-auth`, a flexible and powerful authentication library that supports various authentication methods, including OAuth, email login, and credential-based login. With `next-auth`, you can easily implement the following features:
- **User Registration and Login**: Supports multiple authentication methods to meet different user needs.
- **Session Management**: Efficiently manage user sessions to ensure security.
- **Social Login**: Quick login options for various social media platforms.
- **Data Security**: Protects user data privacy and security.
## Clerk: A Modern User Management Platform
For users who require more advanced user management capabilities, LobeChat also supports [Clerk](https://clerk.com), a modern user management platform. Clerk offers a richer set of features, helping you achieve enhanced security and flexibility:
- **Multi-Factor Authentication (MFA)**: Provides an additional layer of security.
- **User Profile Management**: Easily manage user information and settings.
- **Login Activity Monitoring**: Real-time monitoring of user login activities to ensure account security.
- **Scalability**: Supports complex user management needs.
@@ -0,0 +1,32 @@
---
title: LobeChat 支持 Clerk 与 Next-Auth 多用户管理支持
description: LobeChat 提供 Clerk 和 Next-Auth 等多种用户认证和管理方案,以满足不同用户的需求。
tags:
- 用户管理
- 身份验证
- next-auth
- Clerk
- 多因素认证
---
# 支持 Clerk 与 Next-Auth 多用户管理支持
在现代应用中,用户管理和身份验证是至关重要的功能。为满足不同用户的多样化需求,LobeChat 提供了两种主要的用户认证和管理方案:`next-auth` 和 `Clerk`。无论您是追求简便的用户注册登录,还是需要更高级的多因素认证和用户管理,LobeChat 都可以灵活实现。
## next-auth:灵活且强大的身份验证库
LobeChat 集成了 `next-auth`,一个灵活且强大的身份验证库,支持多种身份验证方式,包括 OAuth、邮件登录、凭证登录等。通过 `next-auth`,您可以轻松实现以下功能:
- **用户注册和登录**:支持多种认证方式,满足不同用户的需求。
- **会话管理**:高效管理用户会话,确保安全性。
- **社交登录**:支持多种社交平台的快捷登录。
- **数据安全**:保障用户数据的安全性和隐私性。
## Clerk:现代化用户管理平台
对于需要更高级用户管理功能的用户,LobeChat 还支持 [Clerk](https://clerk.com) ,一个现代化的用户管理平台。Clerk 提供了更丰富的功能,帮助您实现更高的安全性和灵活性:
- **多因素认证 (MFA)**:提供更高的安全保障。
- **用户配置文件管理**:便捷管理用户信息和配置。
- **登录活动监控**:实时监控用户登录活动,确保账户安全。
- **扩展性**:支持复杂的用户管理需求。
+28
View File
@@ -0,0 +1,28 @@
---
title: LobeChat Supports Ollama for Local Large Language Model (LLM) Calls
description: LobeChat v0.127.0 supports using Ollama to call local large language models.
tags:
- Ollama AI
- LobeChat
- Local LLMs
- AI Conversations
- GPT-4
---
# Support for Ollama Calls to Local Large Language Models 🦙
With the release of LobeChat v0.127.0, we're excited to introduce a fantastic new feature—Ollama AI support! 🤯 Thanks to the robust infrastructure provided by [Ollama AI](https://ollama.ai/) and the [efforts of the community](https://github.com/lobehub/lobe-chat/pull/1265), you can now interact with local LLMs (Large Language Models) within LobeChat! 🤩
We are thrilled to unveil this revolutionary feature to all LobeChat users at this special moment. The integration of Ollama AI not only represents a significant leap in our technology but also reaffirms our commitment to continuously seek more efficient and intelligent ways of communication with our users.
## 💡 How to Start a Conversation with Local LLMs?
If you're facing challenges with private deployments, we strongly recommend trying out the LobeChat Cloud service. We offer comprehensive model support to help you easily embark on your AI conversation journey.
Experience the newly upgraded LobeChat v1.6 and feel the powerful conversational capabilities brought by GPT-4!
```bash
docker run -d -p 3210:3210 -e OLLAMA_PROXY_URL=http://host.docker.internal:11434/v1 lobehub/lobe-chat
```
Yes, it's that simple! 🤩 You don't need to go through complicated configurations or worry about intricate installation processes. We've prepared everything for you; just one command is all it takes to start deep conversations with local AI.
@@ -0,0 +1,27 @@
---
title: LobeChat 支持 Ollama 调用本地大语言模型(LLM)
description: LobeChat vLobeChat v0.127.0 支持 Ollama 调用本地大语言模型。
tags:
- Ollama AI
- LobeChat
- 大语言模型
- AI 对话
---
# 支持 Ollama 调用本地大语言模型 🦙
随着 LobeChat v0.127.0 的发布,我们迎来了一个激动人心的特性 —— Ollama AI 支持!🤯 在 [Ollama AI](https://ollama.ai/) 强大的基础设施和 [社区的共同努力](https://github.com/lobehub/lobe-chat/pull/1265) 下,现在您可以在 LobeChat 中与本地 LLM (Large Language Model) 进行交流了!🤩
我们非常高兴能在这个特别的时刻,向所有 LobeChat 用户介绍这项革命性的特性。Ollama AI 的集成不仅标志着我们技术上的一个巨大飞跃,更是向用户承诺,我们将不断追求更高效、更智能的沟通方式。
## 💡 如何启动与本地 LLM 的对话?
如果您在私有化部署方面遇到困难,强烈推荐尝试 LobeChat Cloud 服务。我们提供全方位的模型支持,让您轻松开启 AI 对话之旅。
赶快来体验全新升级的 LobeChat v1.6,感受 GPT-4 带来的强大对话能力!
```bash
docker run -d -p 3210:3210 -e OLLAMA_PROXY_URL=http://host.docker.internal:11434/v1 lobehub/lobe-chat
```
是的,就是这么简单!🤩 您不需要进行繁杂的配置,也不必担心复杂的安装过程。我们已经为您准备好了一切,只需一行命令,即可开启与本地 AI 的深度对话。
@@ -0,0 +1,29 @@
---
title: 'LobeChat 1.0: New Architecture and New Possibilities'
description: >-
LobeChat 1.0 brings a brand-new architecture and features for server-side
databases and user authentication management, opening up new possibilities. On
this basis, LobeChat Cloud has entered beta testing.
tags:
- LobeChat
- Version 1.0
- Server-Side Database
- User Authentication
- Cloud Beta Testing
---
# LobeChat 1.0: New Architecture and New Possibilities
Since announcing our move towards version 1.0 in March, weve been busy upgrading every aspect of our platform. After two months of intensive development, we are excited to announce the official release of LobeChat 1.0! Lets take a look at our new features.
## Server-Side Database Support
The most significant feature of LobeChat 1.0 is the support for server-side databases. In the 0.x era, the lack of persistent storage on the server side made it challenging, if not impossible, to implement many features that users urgently needed, such as knowledge bases, cross-device synchronization, and private assistant markets.
## User Authentication Management
In the 0.x era, the most requested feature to be paired with server-side databases was user authentication management. Previously, we had integrated next-auth and Clerk as our authentication solutions. In response to demands for multi-user management, we have restructured the settings interface into a user panel, consolidating relevant user information within the new user interface.
## LobeChat Cloud Beta Testing
LobeChat Cloud is our commercial version based on the open-source LobeChat, and all the features from version 1.0 are now live in LobeChat Cloud, which has entered beta testing. If youre interested, you can join our waitlist here. During the beta testing period, a limited number of access slots will be released daily for testing opportunities.
@@ -0,0 +1,27 @@
---
title: LobeChat 1.0:新的架构与新的可能
description: >-
LobeChat 1.0 带来了服务端数据库、用户鉴权管理的全新架构与特性,开启了新的可能 。在此基础上, LobeChat Cloud 开启 Beta
版测试。
tags:
- LobeChat
- 服务端数据库
- 用户鉴权
- Beta 测试
---
# LobeChat 1.0:新的架构与新的可能
自从 3 月份宣布迈向 1.0 ,我们就开始着手全方面的升级。经过 2 个月的密集研发,我们很高兴地宣布 LobeChat 1.0 正式发布了!一起来看看我们的全新样貌吧~
## 服务端数据库支持
在 LobeChat 1.0 中,最大的特性是支持了服务端数据库。在 0.x 时代,由于缺乏服务端持久化存储,许多用户迫切需要的功能实现困难,或完全无法实现,例如知识库、跨端同步、私有助手市场等等。
## 用户鉴权管理
在 0.x 时代,和服务端数据库搭配的呼声最高的特性就是用户鉴权管理。在此之前,我们已经接入了 next-auth 和 clerk 作为鉴权解决方案。并针对多用户管理的诉求,将设置界面重构为了用户面板,在新的用户面板中整合了相关的用户信息。
## LobeChat Cloud 开启 Beta 测试
LobeChat Cloud 是我们基于 LobeChat 开源版的商业化版本,上述 1.0 的功能在 LobeChat Cloud 中均已上线,目前已开启 Beta 测试。如果你感兴趣,可以在这里加入我们的 waitlist , Beta 测试期间每天都会发放体验名额。
+40
View File
@@ -0,0 +1,40 @@
---
title: 'LobeChat Fully Enters the GPT-4 Era: GPT-4o Mini Officially Launched'
description: >-
LobeChat v1.6 has been released with support for GPT-4o mini, while LobeChat
Cloud services have been fully upgraded to provide users with a more powerful
AI conversation experience.
tags:
- LobeChat
- GPT-4o Mini
- AI Conversation
- Cloud Service
---
# GPT-4o Mini Makes a Stunning Debut, Ushering in a New GPT-4 Era 🚀
We are excited to announce that LobeChat v1.6 is now officially released! This update brings thrilling and significant upgrades:
## 🌟 Major Updates
- **GPT-4o Mini Officially Launched**: OpenAI's entire model lineup has been upgraded to GPT-4
- **LobeChat Cloud Service Upgrade**:
- GPT-3.5-turbo has been upgraded to GPT-4o Mini as the default model
- Providing users with a superior conversation experience
## 🎯 Cloud Service Highlights
LobeChat Cloud offers you a convenient one-stop AI conversation service:
- 📦 **Ready to Use**: Free registration for immediate experience
- 🤖 **Multi-Model Support**:
- GPT-4o Mini
- GPT-4o
- Claude 3.5 Sonnet
- Gemini 1.5 Pro
## 💡 Usage Recommendations
If you encounter difficulties with private deployment, we highly recommend trying the LobeChat Cloud service. We provide comprehensive model support to help you easily embark on your AI conversation journey.
Come and experience the newly upgraded LobeChat v1.6, and feel the powerful conversational capabilities brought by GPT-4!
@@ -0,0 +1,38 @@
---
title: LobeChat 全面进入 GPT-4 时代:GPT-4o mini 正式上线
description: >-
LobeChat v1.6 重磅发布 GPT-4o mini 支持,同时 LobeChat Cloud 服务全面升级默认模型,为用户带来更强大的 AI
对话体验。
tags:
- LobeChat
- GPT-4o mini
- AI 对话服务
---
# GPT-4o mini 震撼登场,开启全新 GPT-4 时代 🚀
我们很高兴地宣布,LobeChat v1.6 现已正式发布!这次更新带来了激动人心的重大升级:
## 🌟 主要更新
- **GPT-4o mini 正式上线**OpenAI 全系列模型实现 GPT-4 升级
- **LobeChat Cloud 服务升级**
- GPT-3.5-turbo 升级为 GPT-4o mini 作为默认模型
- 为用户带来更优质的对话体验
## 🎯 Cloud 服务亮点
LobeChat Cloud 为您提供便捷的一站式 AI 对话服务:
- 📦 **开箱即用**:免费注册,即刻体验
- 🤖 **多模型支持**
- GPT-4o mini
- GPT-4o
- Claude 3.5 Sonnet
- Gemini 1.5 Pro
## 💡 使用建议
如果您在私有化部署方面遇到困难,强烈推荐尝试 LobeChat Cloud 服务。我们提供全方位的模型支持,让您轻松开启 AI 对话之旅。
赶快来体验全新升级的 LobeChat v1.6,感受 GPT-4 带来的强大对话能力!
@@ -0,0 +1,40 @@
---
title: LobeChat Database Docker Image Official Release
description: >-
LobeChat v1.8.0 launches the official database Docker image, supporting cloud
data synchronization and user management, along with comprehensive
self-deployment documentation.
tags:
- LobeChat
- Docker Image
- Cloud Deployment
- Database
- Postgres
---
# LobeChat Database Docker Image: The Final Piece of the Cloud Deployment Puzzle
We are excited to announce the official release of the long-awaited database Docker image for LobeChat v1.8.0! This marks a significant milestone in our server database offerings, providing users with a complete cloud deployment solution.
## 🚀 Core Features
- **Lightweight Deployment**: The Docker image is only 90MB, yet offers full database functionality.
- **Optimized Performance**: Pre-configured with Server Postgres and NextAuth authentication system to ensure optimal connectivity performance.
- **Cloud Synchronization**: Enjoy a seamless cloud data synchronization experience right after deployment.
- **Flexible Authentication**: Supports integration with third-party SSO service providers like Auth0.
## 📘 Upgraded Deployment Documentation
To ensure users can complete the deployment smoothly, we have optimized the structure of our deployment documentation:
- Clear introduction to the framework concepts
- Detailed deployment case studies
- Comprehensive self-deployment operation guide
You can start deploying your own LobeChat service by visiting the [official documentation](https://lobehub.com/en/docs/self-hosting/server-database).
## 🔮 Future Outlook
Our knowledge base feature is also in development, so stay tuned for more exciting updates!
This update marks a significant breakthrough for LobeChat in cloud deployment solutions, making private deployment easier than ever. We appreciate the community's patience, and we will continue to strive to provide users with a better experience.
@@ -0,0 +1,36 @@
---
title: LobeChat Database Docker 镜像正式发布
description: LobeChat v1.8.0 推出官方数据库 Docker 镜像,支持云端数据同步与用户管理,并提供完整的自部署文档指南。
tags:
- LobeChat
- Docker 镜像
- 云端部署
- 数据库
---
# LobeChat Database Docker 镜像:云端部署的最后一块拼图
我们很高兴地宣布,LobeChat v1.8.0 正式发布了期待已久的数据库 Docker 镜像!这是我们在服务端数据库领域的重要里程碑,为用户提供了完整的云端部署解决方案。
## 🚀 核心特性
- **轻量级部署**Docker 镜像仅 90MB,却提供完整的数据库功能
- **优化性能**:预置 Server Postgres 与 NextAuth 鉴权体系,确保最佳连通性能
- **云端同步**:部署后即可享受流畅的云端数据同步体验
- **灵活认证**:支持与 Auth0 等第三方 SSO 服务提供商集成
## 📘 部署文档全新升级
为确保用户能够顺利完成部署,我们优化了部署文档的结构:
- 清晰的框架思路介绍
- 详细的部署案例指引
- 完整的自部署操作指南
现在,您可以通过访问 [官方文档](https://lobehub.com/zh/docs/self-hosting/server-database) 开始部署您自己的 LobeChat 服务。
## 🔮 未来展望
我们的知识库功能也正在开发中,敬请期待更多激动人心的更新!
这次更新标志着 LobeChat 在云端部署方案上的重要突破,让私有部署变得前所未有的简单。感谢社区的耐心等待,我们将继续努力为用户带来更好的体验。
@@ -0,0 +1,41 @@
---
title: >-
LobeChat Launches Knowledge Base Feature: A New Experience in Intelligent File
Management and Dialogue
description: >-
LobeChat introduces a brand new knowledge base feature that supports all types
of file management, intelligent vectorization, and file dialogue, making
knowledge management and information retrieval easier and smarter.
tags:
- LobeChat
- Knowledge Base
- File Management
- Open Source
- Cloud Version
---
# Major Release of Knowledge Base Feature: A Revolution in Intelligent File Management and Dialogue
We are excited to announce that the highly anticipated LobeChat knowledge base feature is now officially launched! 🎉 This feature is now available in both the open-source version and the Cloud version (lobechat.com).
## A Brand New File Management Experience
- 📁 **Dedicated File Access**: A new "Files" primary menu has been added to the left sidebar, providing convenient access and management of files.
- 📄 **Support for All File Types**: Upload and store various types of files, including documents, images, audio, and video.
- 👀 **Powerful Preview Functionality**: Built-in support for online previews of multiple formats, including PDF, Excel, Word, PPT, and TXT.
- 🔄 **Expandable Preview Architecture**: The preview component is built on an open-source solution, allowing for future expansion to support more file types.
## Intelligent Knowledge Base Management
- 📚 **Unlimited Knowledge Bases**: Create an unlimited number of knowledge bases to meet different scenario needs.
- 🔍 **Intelligent Vectorization**: Automatically chunk and vectorize files, supporting fragment preview functionality.
- 💡 **Innovative Interaction**: Integrate the Portal interaction paradigm for quick preview and retrieval of file content.
- 🔮 **Promising Future**: The architecture reserves space for expansion, with plans to support intelligent processing of multimedia files such as audio, images, and video.
## Convenient User Experience
- 💪 **Ready to Use**: Supports direct file uploads in the dialogue box, making operations simple and intuitive.
- 🎯 **Real-Time Feedback**: An optimized upload experience provides clear progress feedback.
- ☁️ **Two Versions Available**: Offers both an open-source self-hosted version and an official Cloud version to meet different user needs.
All features are open-sourced on the [GitHub repository](https://github.com/lobehub/lobe-chat). We invite you to visit [LobeChat Cloud](http://lobechat.com) to experience the full functionality.
@@ -0,0 +1,35 @@
---
title: LobeChat 重磅发布知识库功能:打造智能文件管理与对话新体验
description: LobeChat 推出全新知识库功能,支持全类型文件管理、智能向量化和文件对话,让知识管理和信息检索更轻松、更智能。
tags:
- LobeChat
- 知识库
- 文件管理
- 智能处理
---
# 知识库功能重磅发布:智能文件管理与对话的革新
我们很高兴地宣布,备受期待的 LobeChat 知识库功能现已正式发布!🎉 该功能已同步在开源版和 Cloud 版(lobechat.com)中上线。
## 全新的文件管理体验
- 📁 **专属文件入口**:在左侧边栏新增「文件」一级菜单,提供便捷的文件访问与管理
- 📄 **全类型文件支持**:支持文档、图片、音频、视频等各类文件的上传和存储
- 👀 **强大的预览功能**:内置支持 PDF、Excel、Word、PPT 和 TXT 等多种格式的在线预览
- 🔄 **可扩展的预览架构**:基于开源方案打造的预览组件,支持未来扩展更多文件类型
## 智能知识库管理
- 📚 **无限知识库**:支持创建无限数量的知识库,满足不同场景需求
- 🔍 **智能向量化**:自动进行文件分块和向量化处理,支持片段预览功能
- 💡 **交互创新**:集成 Portal 交互范式,实现文件内容的快速预览和检索
- 🔮 **未来可期**:架构预留扩展空间,计划支持音频、图片、视频等多媒体文件的智能处理
## 便捷的使用体验
- 💪 **开箱即用**:支持在对话框直接上传文件,操作简单直观
- 🎯 **实时反馈**:优化的上传体验,提供清晰的进度反馈
- ☁️ **双版本可选**:提供开源自部署版本和官方 Cloud 版本,满足不同用户需求
所有功能均已在 [GitHub 仓库](https://github.com/lobehub/lobe-chat) 开源,欢迎访问 [LobeChat Cloud](http://lobechat.com) 体验完整功能。
@@ -0,0 +1,37 @@
---
title: LobeChat Perfectly Adapts to OpenAI O1 Series Models
description: >-
LobeChat v1.17.0 now supports OpenAI's latest o1-preview and o1-mini models,
bringing users enhanced coding and mathematical capabilities.
tags:
- OpenAI O1
- LobeChat
- AI Models
- Code Writing
- Mathematical Problem Solving
---
# OpenAI O1 Series Models Now Available on LobeChat
We are excited to announce that LobeChat v1.17.0 fully supports OpenAI's newly launched O1 series models. Whether you are a community edition user or a [Cloud version](https://lobechat.com) subscriber, you can experience this significant update.
## New Model Support
- ✨ OpenAI o1-preview
- ✨ OpenAI o1-mini
## Enhanced Capabilities
The O1 series models excel in the following areas:
- 💻 Code writing and comprehension
- 🔢 Mathematical problem solving
- 🎯 More precise task execution
- ⚡️ Optimized performance
## Experience It Now
- 🌐 Cloud version subscribers can start using it immediately
- 🔧 Self-hosted users can begin experiencing it by updating to v1.17.0
This update marks an important step for LobeChat in supporting the latest AI models. We look forward to seeing how the O1 series models can help users unlock new possibilities!
@@ -0,0 +1,35 @@
---
title: LobeChat 完美适配 OpenAI O1 系列模型
description: LobeChat v1.17.0 现已支持 OpenAI 最新发布的 o1-preview 和 o1-mini 模型,为用户带来更强大的代码和数学能力。
tags:
- OpenAI O1
- LobeChat
- AI 模型
- 代码编写
- 数学问题
---
# OpenAI O1 系列模型现已登陆 LobeChat
我们很高兴地宣布,LobeChat v1.17.0 已完整支持 OpenAI 最新推出的 O1 系列模型。无论是社区版还是 [Cloud 版本](https://lobechat.com)用户,都可以体验到这一重大更新。
## 新增模型支持
- ✨ OpenAI o1-preview
- ✨ OpenAI o1-mini
## 增强的能力
O1 系列模型在以下方面表现出色:
- 💻 代码编写与理解
- 🔢 数学问题处理
- 🎯 更精准的任务执行
- ⚡️ 优化的性能表现
## 立即体验
- 🌐 [Cloud 版本](https://lobechat.com) 订阅用户现已可以直接使用
- 🔧 自部署用户可通过更新至 v1.17.0 开始体验
这次更新让 LobeChat 在支持最新 AI 模型方面又迈出了重要一步。我们期待 O1 系列模型能够帮助用户实现更多可能!
+64
View File
@@ -0,0 +1,64 @@
---
title: 'Major Update: LobeChat Enters the Era of Artifacts'
description: >-
LobeChat v1.19 brings significant updates, including full feature support for
Claude Artifacts, a brand new discovery page design, and support for GitHub
Models providers, greatly enhancing the capabilities of the AI assistant.
tags:
- LobeChat
- AI Assistant
- Artifacts
- GitHub Models
- Interactive Experience
---
# Major Update: LobeChat Enters the Era of Artifacts
We are excited to announce the official release of LobeChat v1.19! This update introduces several important features that elevate the interactive experience of the AI assistant.
## 🎨 Artifacts Support: Unlocking New Creative Dimensions
In this version, we have nearly fully replicated the core features of Claude Artifacts. Now, you can experience the following in LobeChat:
- SVG graphic generation and display
- HTML page generation and real-time rendering
- Document generation in more formats
It is worth mentioning that the Python code execution feature has also been developed and will be available in future versions. At that time, users will be able to utilize both Claude Artifacts and OpenAI Code Interpreter, significantly enhancing the practicality of the AI assistant.
![Artifacts Feature Showcase](https://github.com/user-attachments/assets/639ed70b-abc5-476f-9eb0-10c739e5a115)
## 🔍 New Discovery Page: Explore More Possibilities
The discovery page has undergone a major upgrade, now featuring a richer variety of content categories:
- AI Assistant Marketplace
- Plugin Showcase
- Model List
- Provider Introductions
This redesign not only increases the information density of the page but also opens a new window for users to explore AI capabilities. In the future, we plan to further expand the functionality of the discovery page, potentially adding:
- Knowledge Base Sharing
- Artifacts Showcases
- Curated Conversation Sharing
## 🚀 GitHub Models Support: More Model Choices
Thanks to community member [@CloudPassenger](https://github.com/CloudPassenger) for their contributions, LobeChat now supports GitHub Models providers. Users simply need to:
1. Prepare a GitHub Personal Access Token (PAT)
2. Configure provider information in the settings
3. Start using free models available on GitHub Models
The addition of this feature greatly expands the range of models available to users, providing more options for AI conversations in different scenarios.
## 🔜 Future Outlook
We will continue to focus on enhancing the functionality and user experience of LobeChat. In upcoming versions, we plan to:
- Improve the Python code execution feature
- Add support for more types of Artifacts
- Expand the content dimensions of the discovery page
Thank you to every user for your support and feedback. Lets look forward to more surprises from LobeChat together!
@@ -0,0 +1,63 @@
---
title: 重磅更新:LobeChat 迎来 Artifacts 时代
description: >-
LobeChat v1.19 带来了重大更新,包括 Claude Artifacts 完整特性支持、全新的发现页面设计,以及 GitHub Models
服务商支持,让 AI 助手的能力得到显著提升。
tags:
- LobeChat
- Artifacts
- AI 助手
- 更新
- GitHub Models
---
# 重磅更新:LobeChat 迎来 Artifacts 时代
我们很高兴地宣布 LobeChat v1.19 版本正式发布!这次更新带来了多项重要功能,让 AI 助手的交互体验更上一层楼。
## 🎨 Artifacts 支持:解锁全新创作维度
在这个版本中,我们几乎完整还原了 Claude Artifacts 的核心特性。现在,您可以在 LobeChat 中体验到:
- SVG 图形生成与展示
- HTML 页面生成与实时渲染
- 更多格式的文档生成
值得一提的是,Python 代码执行功能也已完成开发,将在后续版本中与大家见面。届时,用户将能够同时运用 Claude Artifacts 和 OpenAI Code Interpreter 这两大强大工具,极大提升 AI 助手的实用性。
![Artifacts 功能展示](https://github.com/user-attachments/assets/2787824c-a13c-466c-ba6f-820bddfe099f)
## 🔍 全新发现页面:探索更多可能
发现页面迎来了重大升级,现在包含更丰富的内容类别:
- AI 助手市场
- 插件展示
- 模型列表
- 服务商介绍
这次改版不仅提升了页面的信息密度,更为用户打开了探索 AI 能力的新窗口。未来,我们计划进一步扩展发现页面的功能,可能会加入:
- 知识库分享
- Artifacts 展示
- 精选对话分享
## 🚀 GitHub Models 支持:更多模型选择
感谢社区成员 [@CloudPassenger](https://github.com/CloudPassenger) 的贡献,现在 LobeChat 已经支持 GitHub Models 服务商。用户只需:
1. 准备 GitHub Personal Access Token (PAT)
2. 在设置中配置服务商信息
3. 即可开始使用 GitHub Models 上的免费模型
这一功能的加入大大扩展了用户可选用的模型范围,为不同场景下的 AI 对话提供了更多选择。
## 🔜 未来展望
我们将持续致力于提升 LobeChat 的功能和用户体验。接下来的版本中,我们计划:
- 完善 Python 代码执行功能
- 增加更多 Artifacts 类型支持
- 扩展发现页面的内容维度
感谢每一位用户的支持与反馈,让我们一起期待 LobeChat 带来更多惊喜!
@@ -0,0 +1,38 @@
---
title: LobeChat Introduces Persistent Assistant Sidebar Feature
description: >-
LobeChat v1.26.0 launches the persistent assistant sidebar feature, supporting
quick key switching for easy access to frequently used assistants,
significantly enhancing efficiency.
tags:
- Persistent Assistant
- Sidebar Feature
- User Experience
- Workflow Optimization
---
# Persistent Assistant Sidebar: Creating a More Convenient Conversation Experience
In version v1.26.0, we are excited to introduce a long-awaited new feature — the persistent assistant sidebar. This feature aims to enhance user access to frequently used assistants, making your reliable helpers easily accessible.
## Feature Highlights
- **Quick Switching**: Supports quick switching between different assistants using keyboard shortcuts, making your workflow smoother.
- **Space Optimization**: Activating the sidebar automatically hides the conversation list, providing you with a larger conversation area.
- **Intelligent Display**: Automatically syncs pinned assistants to the sidebar, ensuring that important assistants are always within view.
![Sidebar Display Effect](https://github.com/user-attachments/assets/6935e155-4a1d-4ab7-a61a-2b813d65bb7b)
![Conversation Interface Effect](https://github.com/user-attachments/assets/c68e88e4-cf2e-4122-82bc-89ba193b1eb4)
## How to Use
Currently, this feature is in the experimental stage and is disabled by default. To experience it, you can enable it by adding the environment variable `FEATURE_FLAGS=+pin_list`.
We have already enabled this feature in the Cloud version, and we welcome all users to try it out and provide feedback. You can share your experiences in [GitHub Discussions](https://github.com/lobehub/lobe-chat/discussions/4515) to help us refine this feature further.
## Design Philosophy
The core goal of this update is to optimize work efficiency. By effectively utilizing the sidebar space, we make frequently used assistants easily accessible while hiding the conversation list to expand the conversation area, providing users with a more focused dialogue experience.
We hope this new feature will significantly enhance your user experience. Welcome to upgrade to version v1.26.0 and start experiencing it!
@@ -0,0 +1,34 @@
---
title: LobeChat 新增助手常驻侧边栏功能
description: LobeChat v1.26.0 推出助手常驻侧边栏功能,支持快捷键切换,让高频使用的助手触手可及,大幅提升使用效率。
tags:
- 助手常驻侧边栏
- 对话体验
- 工作效率
---
# 助手常驻侧边栏:打造更便捷的对话体验
我们在 v1.26.0 版本中推出了一项期待已久的新功能 —— 助手常驻侧边栏。这项功能旨在提升用户对高频助手的访问体验,让您的得力助手触手可及。
## 功能亮点
- **快捷切换**:支持通过快捷键快速切换不同助手,让工作流更加流畅
- **空间优化**:激活侧边栏时会自动隐藏会话列表,为您腾出更大的对话空间
- **智能显示**:将置顶助手自动同步到侧边栏,让重要助手始终在视线范围内
![侧边栏展示效果](https://github.com/user-attachments/assets/6935e155-4a1d-4ab7-a61a-2b813d65bb7b)
![对话界面效果](https://github.com/user-attachments/assets/c68e88e4-cf2e-4122-82bc-89ba193b1eb4)
## 如何使用
目前这项功能处于实验阶段,默认未开启。如需体验,您可以通过添加环境变量 `FEATURE_FLAGS=+pin_list` 来启用。
我们已在 Cloud 版本中同步开启此功能,欢迎所有用户体验并提供反馈。您可以在 [GitHub Discussions](https://github.com/lobehub/lobe-chat/discussions/4515) 中分享使用感受,帮助我们将这个功能打磨得更加完善。
## 设计理念
这次更新的核心目标是优化工作效率。通过合理利用侧边栏空间,我们让高频使用的助手触手可及,同时通过隐藏会话列表来扩大对话区域,为用户带来更专注的对话体验。
我们期待这项新功能能够显著提升您的使用体验。欢迎升级到 v1.26.0 版本开始体验!
@@ -0,0 +1,28 @@
---
title: LobeChat Supports Sharing Conversations in Text Format (Markdown/JSON)
description: >-
LobeChat v1.28.0 introduces support for exporting conversations in Markdown
and OpenAI format JSON, making it easy to convert conversation content into
note materials, development debugging data, and training corpora,
significantly enhancing the reusability of conversation content.
tags:
- Text Format Export
- Markdown Export
- OpenAI JSON
---
# Upgraded Conversation Sharing: Support for Text Format Export
In the latest version v1.28.0, we have launched the text format export feature for conversation content, now supporting exports in both Markdown and OpenAI format JSON.
The Markdown export feature meets users' needs for directly using conversation content in note-taking and document writing. You can easily save valuable conversation content and manage it across various note-taking applications for reuse.
![Exporting Conversations as Markdown Text](https://github.com/user-attachments/assets/29508dda-2382-430f-bc81-fb23f02149f8)
Additionally, we support exporting conversations in JSON format that complies with OpenAI messages specifications. This format can be used directly for API debugging and serves as high-quality training data for models.
![Exporting Conversations as JSON in OpenAI API Specification](https://github.com/user-attachments/assets/484f28f4-017c-4ed7-948b-4a8d51f0b63a)
It is particularly noteworthy that we retain the original data of Tools Calling within the conversation, which is crucial for enhancing the model's tool invocation capabilities.
This update greatly expands the sharing and application scenarios for conversation content, and we hope these new features will enhance your user experience.
@@ -0,0 +1,26 @@
---
title: LobeChat 支持分享对话为文本格式(Markdown/JSON
description: >-
LobeChat v1.28.0 新增 Markdown 和 OpenAI 格式 JSON
导出支持,让对话内容能轻松转化为笔记素材、开发调试数据和训练语料,显著提升对话内容的复用价值。
tags:
- 对话内容
- Markdown导出
- OpenAI JSON
---
# 对话内容分享升级:支持文本格式导出
我们在最新版本 v1.28.0 中推出了对话内容的文本格式导出功能,现在支持将对话内容导出为 Markdown 和 OpenAI 格式的 JSON 两种格式。
Markdown 格式导出功能满足了用户将对话内容直接用于笔记和文档撰写的需求。您可以轻松地将有价值的对话内容保存下来,并在各类笔记软件中进行管理和复用。
![将对话导出为 Markdown 格式文本](https://github.com/user-attachments/assets/29508dda-2382-430f-bc81-fb23f02149f8)
同时,我们还支持将对话导出为符合 OpenAI messages 规范的 JSON 格式。这种格式不仅可以直接用于 API 调试,还能作为高质量的模型训练语料。
![将对话导出为 OpenAI 接口规范的 JSON](https://github.com/user-attachments/assets/484f28f4-017c-4ed7-948b-4a8d51f0b63a)
特别值得一提的是,我们会完整保留对话中的 Tools Calling 原始数据,这对提升模型的工具调用能力具有重要价值。
这次更新让对话内容的分享和应用场景得到了极大扩展,期待这些新功能能够提升您的使用体验。
@@ -0,0 +1,26 @@
---
title: New Model Providers Added to LobeChat in November
description: >-
LobeChat model providers now support Gitee AI, InternLM (ShuSheng PuYu), xAI,
and Cloudflare WorkersAI
tags:
- LobeChat
- AI Model Providers
- Gitee AI
- InternLM
- xAI
- Cloudflare Workers AI
---
# New Model Providers Added to LobeChat in November 🎉
We're excited to announce that LobeChat has expanded its AI model support with the following providers:
- **Gitee AI**: [https://ai.gitee.com](https://ai.gitee.com)
- **InternLM**: [https://internlm.intern-ai.org.cn](https://internlm.intern-ai.org.cn)
- **xAI**: [https://x.ai](https://x.ai)
- **Cloudflare Workers AI**: [https://developers.cloudflare.com/workers-ai](https://developers.cloudflare.com/workers-ai)
## Need More Model Providers?
Feel free to submit your requests at [More Model Provider Support](https://github.com/lobehub/lobe-chat/discussions/6157).
@@ -0,0 +1,24 @@
---
title: LobeChat 11 月新增模型服务
description: 'LobeChat 模型服务新增支持 Gitee AI, InternLM (书生浦语), xAI, Cloudflare WorkersAI'
tags:
- LobeChat
- AI模型服务
- Gitee AI
- InternLM
- xAI
- Cloudflare Workers AI
---
# LobeChat 11 月新增模型服务支持 🎉
我们很高兴地宣布,LobeChat 在 11 月份新增了以下 AI 模型服务的支持:
- **Gitee AI**: [https://ai.gitee.com](https://ai.gitee.com)
- **InternLM (书生浦语)**: [https://internlm.intern-ai.org.cn](https://internlm.intern-ai.org.cn)
- **xAI**: [https://x.ai](https://x.ai)
- **Cloudflare Workers AI**: [https://developers.cloudflare.com/workers-ai](https://developers.cloudflare.com/workers-ai)
## 需要更多模型服务?
欢迎在 [更多模型服务商支持](https://github.com/lobehub/lobe-chat/discussions/6157) 提交您的需求。
@@ -0,0 +1,30 @@
---
title: LobeChat Supports Branching Conversations
description: >-
LobeChat now allows you to create new conversation branches from any message,
freeing your thoughts.
tags:
- Branching Conversations
- LobeChat
- Chat Features
---
# Exciting Launch of Branching Conversations Feature 🎉
We are thrilled to announce that LobeChat has introduced a brand new branching conversations feature, making your conversation experience smoother and more natural:
## Key Features
- **Message Branching**: Create new conversation branches from any message
- **Dual Mode Switching**:
- Continuation Mode: Maintain the original context to continue the discussion
- Standalone Mode: Start a completely new topic based on the selected message
## How to Use
1. Click the "Create Branch" button on the right side of any message
2. Start a new conversation branch
## Feedback and Suggestions
If you have any suggestions or thoughts about the branching conversations feature, feel free to share your feedback with us in the [Feature Feedback](https://github.com/lobehub/lobe-chat/discussions).
@@ -0,0 +1,29 @@
---
title: LobeChat 支持分支对话
description: LobeChat 现已支持从任意消息创建新的对话分支,让您的思维不再受限
tags:
- LobeChat
- 分支对话
- 对话功能
- 用户体验
---
# 重磅推出分支对话功能 🎉
我们很高兴地宣布,LobeChat 推出了全新的分支对话功能,让您的对话体验更加流畅自然:
## 核心特性
- **消息分支**: 支持在任意消息处创建新的对话分支
- **双模式切换**:
- 延续模式 (Continuation): 保持原有上下文继续探讨
- 独立模式 (Standalone): 基于选定消息开启全新话题
## 使用方式
1. 在任意消息右侧点击「创建分支」按钮
2. 开始新的对话分支
## 反馈建议
如果您对分支对话功能有任何建议或想法,欢迎在 [功能反馈](https://github.com/lobehub/lobe-chat/discussions) 中与我们交流。
@@ -0,0 +1,32 @@
---
title: LobeChat Supports User Data Statistics and Activity Sharing
description: >-
LobeChat now supports multi-dimensional user data statistics and activity
sharing
tags:
- LobeChat
- User Statistics
- Activity Sharing
- AI Data
---
# User Data Statistics and Activity Sharing 💯
Want to know about your activity performance on LobeChat?
Now, you can comprehensively understand your AI data through the statistics feature, and even generate personal activity sharing images to share your LobeChat activity with friends.
## 📊 Data Statistics
- **Statistics**: Number of Assistants / Topics / Messages / Total Word Count
- **Rankings**:
- Model Usage Rate `Top 10`
- Assistant Usage Rate `Top 10`
- Topic Content Volume `Top 10`
- **Heat Map**: Activity distribution over the past year
- **User Activity Sharing**: Generate personal activity sharing images
## 👉 How to Use
1. Requires `PgLite` or `Database` mode
2. Click on your profile picture to enter "Account" - "Data Statistics" page
@@ -0,0 +1,29 @@
---
title: LobeChat 支持用户数据统计与活跃度分享
description: LobeChat 现已支持多维度用户数据统计与活跃度分享
tags:
- 用户数据统计
- 活跃度分享
- LobeChat
---
# 用户数据统计与活跃度分享 💯
想要了解自己在 LobeChat 上的活跃度表现吗?
现在,您可以通过数据统计功能,全方位了解自己的 AI 数据,还可以生成个人活跃度分享图片,与好友分享您在 LobeChat 上的活跃度。
## 📊 数据统计
- **数据统计**: 助手数 / 话题数 / 消息数 / 累计字数
- **排行版**:
- 模型使用率 `Top 10`
- 助手使用率 `Top 10`
- 话题内容量 `Top 10`
- **热力图**: 过去一年内的活跃度分布
- **用户活跃度分享**: 生成个人活跃度分享图片
## 👉 使用方式
1. 需要使用 `PgLite` 或 `数据库` 模式
2. 点击个人头像进入「账户管理」-「数据统计」页面
@@ -0,0 +1,25 @@
---
title: LobeChat Launches New AI Provider Management System
description: >-
LobeChat has revamped its AI Provider Management System, now supporting custom
AI providers and models.
tags:
- LobeChat
- AI Provider
- Provider Management
- Multimodal
---
# New AI Provider Management System 🎉
We are excited to announce that LobeChat has launched a brand new AI Provider Management System, now available in both the open-source version and the Cloud version ([lobechat.com](https://lobechat.com)):
## 🚀 Key Updates
- 🔮 **Custom AI Providers**: You can now add, remove, or edit AI providers as needed.
- ⚡️ **Custom Model and Capability Configuration**: Easily add your own models to meet personalized requirements.
- 🌈 **Multimodal Support**: The new AI Provider Management System fully supports various modalities, including language, images, voice, and more. Stay tuned for video and music generation features!
## 📢 Feedback and Support
If you have any suggestions or thoughts about the new AI Provider Management System, feel free to engage with us in GitHub Discussions.
@@ -0,0 +1,23 @@
---
title: LobeChat 推出全新 AI Provider 管理系统
description: LobeChat 焕新全新 AI Provider 管理系统,已支持自定义 AI 服务商与自定义模型
tags:
- LobeChat
- AI Provider
- 服务商管理
- 多模态
---
# 全新 AI Provider 管理系统 🎉
我们很高兴地宣布,LobeChat 推出了全新的 AI Provider 管理系统,已经在开源版与 Cloud 版([lobechat.com](https://lobechat.com))中可用:
## 🚀 主要更新
- 🔮 **自定义 AI 服务商**: 现在,您可以根据需要添加、删除或编辑 AI 服务商。
- ⚡️ **自定义模型与能力配置**: 轻松添加您自己的模型,满足个性化需求。
- 🌈 **多模态支持**: 新的 AI Provider 管理系统全面支持多种模态,包括语言、图像、语音等,视频和音乐生成功能,敬请期待!
## 📢 反馈与支持
如果您对新的 AI Provider 管理系统有任何建议或想法,欢迎在 GitHub Discussions 中与我们交流。
+33
View File
@@ -0,0 +1,33 @@
---
title: >-
LobeChat Integrates DeepSeek R1, Bringing a Revolutionary Chain of Thought
Experience
description: >-
LobeChat v1.49.12 fully supports the DeepSeek R1 model, providing users with
an unprecedented interactive experience in the chain of thought.
tags:
- LobeChat
- DeepSeek
- Chain of Thought
---
# Perfect Integration of DeepSeek R1 and it's Deep Thinking Experience 🎉
After nearly 10 days of meticulous refinement, LobeChat has fully integrated the DeepSeek R1 model in version v1.49.12, offering users a revolutionary interactive experience in the chain of thought!
## 🚀 Major Updates
- 🤯 **Comprehensive Support for DeepSeek R1**: Now fully integrated in both the Community and Cloud versions ([lobechat.com](https://lobechat.com)).
- 🧠 **Real-Time Chain of Thought Display**: Transparently presents the AI's reasoning process, making the resolution of complex issues clear and visible.
- ⚡️ **Deep Thinking Experience**: Utilizing Chain of Thought technology, it provides more insightful AI conversations.
- 💫 **Intuitive Problem Analysis**: Makes the analysis of complex issues clear and easy to understand.
## 🌟 How to Use
1. Upgrade to LobeChat v1.49.12 or visit [lobechat.com](https://lobechat.com).
2. Select the DeepSeek R1 model in the settings.
3. Experience a whole new level of intelligent conversation!
## 📢 Feedback and Support
If you encounter any issues while using the application or have suggestions for new features, feel free to engage with us through GitHub Discussions. Let's work together to create a better LobeChat!
@@ -0,0 +1,29 @@
---
title: LobeChat 重磅集成 DeepSeek R1,带来革命性思维链体验
description: LobeChat v1.49.12 已完整支持 DeepSeek R1 模型,为用户带来前所未有的思维链交互体验
tags:
- DeepSeek R1
- CoT
- 思维链
---
# 完美集成 DeepSeek R1 ,开启思维链新体验
经过近 10 天的精心打磨,LobeChat 已在 v1.49.12 版本中完整集成了 DeepSeek R1 模型,为用户带来革命性的思维链交互体验!
## 🚀 重大更新
- 🤯 **DeepSeek R1 全面支持**: 现已在社区版与 Cloud 版([lobechat.com](https://lobechat.com))中完整接入
- 🧠 **实时思维链展示**: 透明呈现 AI 的推理过程,让复杂问题的解决过程清晰可见
- ⚡️ **深度思考体验**: 通过 Chain of Thought 技术,带来更具洞察力的 AI 对话
- 💫 **直观的问题解析**: 让复杂问题的分析过程变得清晰易懂
## 🌟 使用方式
1. 升级到 LobeChat v1.49.12 或访问 [lobechat.com](https://lobechat.com)
2. 在设置中选择 DeepSeek R1 模型
3. 开启全新的智能对话体验!
## 📢 反馈与支持
如果您在使用过程中遇到任何问题,或对新功能有任何建议,欢迎通过 GitHub Discussions 与我们交流。让我们一起打造更好的 LobeChat!
+120
View File
@@ -0,0 +1,120 @@
{
"$schema": "https://github.com/lobehub/lobe-chat/blob/main/docs/changelog/schema.json",
"cloud": [],
"community": [
{
"image": "https://github.com/user-attachments/assets/5fe4c373-ebd0-42a9-bdca-0ab7e0a2e747",
"id": "2025-02-02-deepseek-r1",
"date": "2025-02-02",
"versionRange": ["1.47.8", "1.49.12"]
},
{
"image": "https://github.com/user-attachments/assets/7350f211-61ce-488e-b0e2-f0fcac25caeb",
"id": "2025-01-22-new-ai-provider",
"date": "2025-01-22",
"versionRange": ["1.43.1", "1.47.7"]
},
{
"image": "https://github.com/user-attachments/assets/3d80e0f5-d32a-4412-85b2-e709731460a0",
"id": "2025-01-03-user-profile",
"date": "2025-01-03",
"versionRange": ["1.34.1", "1.43.0"]
},
{
"image": "https://github.com/user-attachments/assets/2048b4c2-4a56-4029-acf9-71e35ff08652",
"id": "2024-11-27-forkable-chat",
"date": "2024-11-27",
"versionRange": ["1.33.1", "1.34.0"]
},
{
"image": "https://github.com/user-attachments/assets/fa8fab19-ace2-4f85-8428-a3a0e28845bb",
"id": "2024-11-25-november-providers",
"date": "2024-11-25",
"versionRange": ["1.30.1", "1.33.0"]
},
{
"image": "https://github.com/user-attachments/assets/eb3f3d8a-79ce-40aa-a206-2c846206c0c0",
"id": "2024-11-06-share-text-json",
"date": "2024-11-06",
"versionRange": ["1.26.1", "1.28.0"]
},
{
"image": "https://github.com/user-attachments/assets/e70c2db6-05c9-43ea-b111-6f6f99e0ae88",
"id": "2024-10-27-pin-assistant",
"date": "2024-10-27",
"versionRange": ["1.19.1", "1.26.0"]
},
{
"image": "https://github.com/user-attachments/assets/635f1c74-6327-48a8-a8d9-68d7376c7749",
"id": "2024-09-20-artifacts",
"date": "2024-09-20",
"versionRange": ["1.17.1", "1.19.0"]
},
{
"image": "https://github.com/user-attachments/assets/bd6d0c82-8f14-4167-ad09-2a841f1e34e4",
"id": "2024-09-13-openai-o1-models",
"date": "2024-09-13",
"versionRange": ["1.12.1", "1.17.0"]
},
{
"image": "https://github.com/user-attachments/assets/385eaca6-daea-484a-9bea-ba7270b4753d",
"id": "2024-08-21-file-upload-and-knowledge-base",
"date": "2024-08-21",
"versionRange": ["1.8.1", "1.12.0"]
},
{
"image": "https://github.com/user-attachments/assets/2a4116a7-15ad-43e5-b801-cc62d8da2012",
"id": "2024-08-02-lobe-chat-database-docker",
"date": "2024-08-02",
"versionRange": ["1.6.1", "1.8.0"]
},
{
"image": "https://github.com/user-attachments/assets/0e3a7174-6b66-4432-a319-dff60b033c24",
"id": "2024-07-19-gpt-4o-mini",
"date": "2024-07-19",
"versionRange": ["1.0.1", "1.6.0"]
},
{
"image": "https://github.com/user-attachments/assets/82bfc467-e0c6-4d99-9b1f-18e4aea24285",
"id": "2024-06-19-lobe-chat-v1",
"date": "2024-06-19",
"versionRange": ["0.147.0", "1.0.0"]
},
{
"image": "https://github.com/user-attachments/assets/aee846d5-b5ee-46cb-9dd0-d952ea708b67",
"id": "2024-02-14-ollama",
"date": "2024-02-14",
"versionRange": ["0.125.1", "0.127.0"]
},
{
"image": "https://github.com/user-attachments/assets/533f7a5e-8a93-4a57-a62f-8233897d72b5",
"id": "2024-02-08-sso-oauth",
"date": "2024-02-08",
"versionRange": ["0.118.1", "0.125.0"]
},
{
"image": "https://github.com/user-attachments/assets/6069332b-8e15-4d3c-8a77-479e8bc09c23",
"id": "2023-12-22-dalle-3",
"date": "2023-12-22",
"versionRange": ["0.102.1", "0.118.0"]
},
{
"image": "https://github.com/user-attachments/assets/03433283-08a5-481a-8f6c-069b2fc6bace",
"id": "2023-11-19-tts-stt",
"date": "2023-11-19",
"versionRange": ["0.101.1", "0.102.0"]
},
{
"image": "https://github.com/user-attachments/assets/dde2c9c5-cdda-4a65-8f32-b6f4da907df2",
"id": "2023-11-14-gpt4-vision",
"date": "2023-11-14",
"versionRange": ["0.90.0", "0.101.0"]
},
{
"image": "https://github.com/user-attachments/assets/eaed3762-136f-4297-b161-ca92a27c4982",
"id": "2023-09-09-plugin-system",
"date": "2023-09-09",
"versionRange": ["0.67.0", "0.72.0"]
}
]
}
+70
View File
@@ -0,0 +1,70 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"$schema": {
"type": "string",
"format": "uri"
},
"community": {
"type": "array",
"items": {
"type": "object",
"properties": {
"image": {
"type": "string"
},
"date": {
"type": "string",
"pattern": "^\\d+-\\d+-\\d+$"
},
"id": {
"type": "string"
},
"versionRange": {
"type": "array",
"items": {
"type": "string",
"pattern": "^\\d+\\.\\d+\\.\\d+$"
},
"minItems": 1,
"maxItems": 2
}
},
"required": ["date", "id", "versionRange"],
"additionalProperties": false
}
},
"cloud": {
"type": "array",
"items": {
"type": "object",
"properties": {
"image": {
"type": "string"
},
"date": {
"type": "string",
"pattern": "^\\d+-\\d+-\\d+$"
},
"id": {
"type": "string"
},
"versionRange": {
"type": "array",
"items": {
"type": "string",
"pattern": "^\\d+\\.\\d+\\.\\d+$"
},
"minItems": 1,
"maxItems": 2
}
},
"required": ["date", "id", "versionRange"],
"additionalProperties": false
}
}
},
"required": ["$schema", "community"],
"type": "object"
}
+79
View File
@@ -0,0 +1,79 @@
---
title: LobeChat Authentication Service Configuration
description: >-
Learn how to configure external authentication services using Clerk or Next
Auth for centralized user authorization management. Supported authentication
services include Auth0, Azure ID, etc.
tags:
- Authentication Service
- Next Auth
- SSO
- Clerk
---
# Authentication Service
LobeChat supports the configuration of external authentication services using Clerk or Next Auth for internal use within enterprises/organizations to centrally manage user authorization.
## Clerk
Clerk is a comprehensive identity verification solution that has recently gained popularity. It provides a simple yet powerful API and services to handle user authentication and session management. Clerk's design philosophy is to offer a concise and modern authentication solution that enables developers to easily integrate and use it.
LobeChat has deeply integrated with Clerk to provide users with a more secure and convenient login and registration experience. It also relieves developers from the burden of managing authentication logic. Clerk's concise and modern design philosophy aligns perfectly with LobeChat's goals, making user management on the entire platform more efficient and reliable.
By setting the environment variables `NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY` and `CLERK_SECRET_KEY` in LobeChat's environment, you can enable and use Clerk.
## Next Auth
Before using NextAuth, please set the following variables in LobeChat's environment variables:
| Environment Variable | Type | Description |
| ------------------------------ | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `NEXT_PUBLIC_ENABLE_NEXT_AUTH` | Required | This is used to enable the NextAuth service. Set it to `1` to enable it; changing this setting requires recompiling the application. Users deploying with the `lobehub/lobe-chat-database` image have this configuration added by default. |
| `NEXT_AUTH_SECRET` | Required | The key used to encrypt Auth.js session tokens. You can use the following command: `openssl rand -base64 32`, or visit `https://generate-secret.vercel.app/32` to generate the key. |
| `NEXTAUTH_URL` | Required | This URL specifies the callback address for Auth.js when performing OAuth verification. Set this only if the default generated redirect address is incorrect. `https://example.com/api/auth` |
| `NEXT_AUTH_SSO_PROVIDERS` | Optional | This environment variable is used to enable multiple identity verification sources simultaneously, separated by commas, for example, `auth0,microsoft-entra-id,authentik`. |
Currently supported identity verification services include:
<Cards>
<Card href={'/docs/self-hosting/advanced/auth/next-auth/auth0'} title={'Auth0'} />
<Card href={'/docs/self-hosting/advanced/auth/next-auth/microsoft-entra-id'} title={'Microsoft Entra ID'} />
<Card href={'/docs/self-hosting/advanced/auth/next-auth/authentik'} title={'Authentik'} />
<Card href={'/docs/self-hosting/advanced/auth/next-auth/github'} title={'Github'} />
<Card href={'/docs/self-hosting/advanced/auth/next-auth/zitadel'} title={'ZITADEL'} />
<Card href={'/docs/self-hosting/advanced/auth/next-auth/cloudflare-zero-trust'} title={'Cloudflare Zero Trust'} />
<Card href={'/docs/self-hosting/advanced/auth/next-auth/authelia'} title={'Authelia'} />
<Card href={'/docs/self-hosting/advanced/auth/next-auth/logto'} title={'Logto'} />
</Cards>
Click on the links to view the corresponding platform's configuration documentation.
## Advanced Configuration
To simultaneously enable multiple identity verification sources, please set the `NEXT_AUTH_SSO_PROVIDERS` environment variable, separating them with commas, for example, `auth0,microsoft-entra-id,authentik`.
The order corresponds to the display order of the SSO providers.
| SSO Provider | Value |
| --------------------- | ----------------------- |
| Auth0 | `auth0` |
| Authenlia | `authenlia` |
| Authentik | `authentik` |
| Casdoor | `casdoor` |
| Cloudflare Zero Trust | `cloudflare-zero-trust` |
| Github | `github` |
| Logto | `logto` |
| Microsoft Entra ID | `microsoft-entra-id` |
| ZITADEL | `zitadel` |
## Other SSO Providers
Please refer to the [NextAuth.js](https://next-auth.js.org/providers) documentation and feel free to submit a Pull Request.
+76
View File
@@ -0,0 +1,76 @@
---
title: LobeChat 身份验证服务配置
description: 了解如何使用 Clerk 或 Next Auth 配置外部身份验证服务,以统一管理用户授权。支持的身份验证服务包括 Auth0、 Azure ID 等。
tags:
- 身份验证服务
- LobeChat
- SSO
- Clerk
---
# 身份验证服务
LobeChat 支持使用 Clerk 或者 Next Auth 配置外部身份验证服务,供企业 / 组织内部使用,统一管理用户授权。
## Clerk
Clerk 是一个近期流行起来的全面的身份验证解决方案,它提供了简单而强大的 API 和服务来处理用户认证和会话管理。Clerk 的设计哲学是提供一套简洁、现代的认证解决方案,使得开发者可以轻松集成和使用。
LobeChat 与 Clerk 做了深度集成,能够为用户提供一个更加安全、便捷的登录和注册体验,同时也为开发者减轻了管理身份验证逻辑的负担。Clerk 的简洁和现代的设计理念与 LobeChat 的目标非常契合,使得整个平台的用户管理更加高效和可靠。
在 LobeChat 的环境变量中设置 `NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY` 和 `CLERK_SECRET_KEY`,即可开启和使用 Clerk。
## Next Auth
在使用 NextAuth 之前,请先在 LobeChat 的环境变量中设置以下变量:
| 环境变量 | 类型 | 描述 |
| ------------------------------ | -- | ------------------------------------------------------------------------------------------------------------ |
| `NEXT_PUBLIC_ENABLE_NEXT_AUTH` | 必选 | 用于启用 NextAuth 服务,设置为 `1` 以启用,更改此项需要重新编译应用。使用 `lobehub/lobe-chat-database` 镜像部署的用户已经默认添加了该项配置。 |
| `NEXT_AUTH_SECRET` | 必选 | 用于加密 Auth.js 会话令牌的密钥。您可以使用以下命令: `openssl rand -base64 32`,或者访问 `https://generate-secret.vercel.app/32` 生成秘钥。 |
| `NEXTAUTH_URL` | 必选 | 该 URL 用于指定 Auth.js 在执行 OAuth 验证时的回调地址,当默认生成的重定向地址发生不正确时才需要设置。`https://example.com/api/auth` |
| `NEXT_AUTH_SSO_PROVIDERS` | 可选 | 该环境变量用于同时启用多个身份验证源,以逗号 `,` 分割,例如 `auth0,microsoft-entra-id,authentik`。 |
目前支持的身份验证服务有:
<Cards>
<Card href={'/zh/docs/self-hosting/advanced/auth/next-auth/auth0'} title={'Auth0'} />
<Card href={'/zh/docs/self-hosting/advanced/auth/next-auth/microsoft-entra-id'} title={'Microsoft Entra ID'} />
<Card href={'/zh/docs/self-hosting/advanced/auth/next-auth/authentik'} title={'Authentik'} />
<Card href={'/zh/docs/self-hosting/advanced/auth/next-auth/github'} title={'Github'} />
<Card href={'/zh/docs/self-hosting/advanced/auth/next-auth/zitadel'} title={'ZITADEL'} />
<Card href={'/zh/docs/self-hosting/advanced/auth/next-auth/cloudflare-zero-trust'} title={'Cloudflare Zero Trust'} />
<Card href={'/zh/docs/self-hosting/advanced/auth/next-auth/authelia'} title={'Authelia'} />
<Card href={'/zh/docs/self-hosting/advanced/auth/next-auth/logto'} title={'Logto'} />
</Cards>
点击即可查看对应平台的配置文档。
## 进阶配置
同时启用多个身份验证源请设置 `NEXT_AUTH_SSO_PROVIDERS` 环境变量,以逗号 `,` 分割,例如 `auth0,microsoft-entra-id,authentik`。
顺序为 SSO 提供商的显示顺序。
| SSO 提供商 | 值 |
| --------------------- | ----------------------- |
| Auth0 | `auth0` |
| Authenlia | `authenlia` |
| Authentik | `authentik` |
| Casdoor | `casdoor` |
| Cloudflare Zero Trust | `cloudflare-zero-trust` |
| Github | `github` |
| Logto | `logto` |
| Microsoft Entra ID | `microsoft-entra-id` |
| ZITADEL | `zitadel` |
## 其他 SSO 提供商
请参考 [NextAuth.js](https://next-auth.js.org/providers) 文档,欢迎提交 Pull Request。
+62
View File
@@ -0,0 +1,62 @@
---
title: Configure Clerk Authentication Service - Step-by-Step Guide
description: >-
Learn how to set up Clerk authentication with environment variables and
webhooks.
tags:
- Clerk Authentication
- Environment Variables
- Webhook Configuration
---
# Configure Clerk Authentication Service
Go to [Clerk](https://clerk.com?utm_source=lobehub\&utm_medium=docs) to register and create an application to obtain the corresponding Public Key and Secret Key.
## Get Environment Variables
<Steps>
### Add Public and Private Key Environment Variables
Add `NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY` and `CLERK_SECRET_KEY` environment variables. You can click on the "API Keys" in the menu and copy the corresponding values to get these environment variables.
<Image alt={'Find the corresponding public and private key environment variables in Clerk'} src={'https://github.com/lobehub/lobe-chat/assets/28616219/89883703-7a1a-4a11-b944-5d804544e57c'} />
The environment variables required for this step are as follows:
```shell
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=pk_live_xxxxxxxxxxx
CLERK_SECRET_KEY=sk_live_xxxxxxxxxxxxxxxxxxxxxx
NEXT_PUBLIC_ENABLE_NEXT_AUTH=0
```
### Create and Configure Webhook in Clerk
Since we let Clerk fully handle user authentication and management, we need Clerk to notify our application and store the changes in the user lifecycle (create, update, delete). We achieve this by using the Webhook provided by Clerk.
We need to add an endpoint in Clerk's Webhooks to inform Clerk to send notifications to this endpoint when a user's information changes.
<Image alt={'Add Webhooks endpoint in Clerk'} src={'https://github.com/lobehub/lobe-chat/assets/28616219/f50f47fb-5e8e-4930-bf4e-8cf6f5b8afb9'} />
Fill in your project URL in the endpoint, such as `https://your-project.com/api/webhooks/clerk`. Then, subscribe to events by checking the three user events (`user.created`, `user.deleted`, `user.updated`), and click create.
<Callout type={'warning'}>
The `https://` in the URL is essential to maintain the integrity of the URL.
</Callout>
<Image alt={'Configure URL and user events when adding Clerk Webhooks'} src={'https://github.com/lobehub/lobe-chat/assets/28616219/0249ea56-ab17-4aa9-a56c-9ebd556c2645'} />
### Add Webhook Secret to Environment Variables
After creating, you can find the secret of this Webhook in the bottom right corner:
<Image alt={'View Clerk Webhooks secret'} src={'https://github.com/lobehub/lobe-chat/assets/28616219/fab4abb2-584b-49de-9340-813382951635'} />
The environment variable corresponding to this secret is `CLERK_WEBHOOK_SECRET`:
```shell
CLERK_WEBHOOK_SECRET=whsec_xxxxxxxxxxxxxxxxxxxxxx
```
</Steps>
By following these steps, you have successfully configured the Clerk authentication service.
@@ -0,0 +1,58 @@
---
title: 配置 Clerk 身份验证服务 - 完整指南
description: 学习如何配置 Clerk 身份验证服务,获取公私钥和设置 Webhook。
tags:
- Clerk
- 身份验证
- Webhook
- 环境变量
---
# 配置 Clerk 身份验证服务
前往 [Clerk](https://clerk.com?utm_source=lobehub\&utm_medium=docs) 注册并创建应用,获取相应的 Public Key 和 Secret Key。
## 获取环境变量
<Steps>
### 添加公、私钥环境变量
添加 `NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY` 和 `CLERK_SECRET_KEY` 环境变量。你可以在菜单中点击「API Keys」,然后复制对应的值获取该环境变量。
<Image alt={'在 Clerk 中找到对应的公私钥环境变量'} src={'https://github.com/lobehub/lobe-chat/assets/28616219/89883703-7a1a-4a11-b944-5d804544e57c'} />
此步骤所需的环境变量如下:
```shell
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=pk_live_xxxxxxxxxxx
CLERK_SECRET_KEY=sk_live_xxxxxxxxxxxxxxxxxxxxxx
```
### 在 Clerk 中创建并配置 Webhook
由于我们让 Clerk 完全接管用户鉴权与管理,因此我们需要在 Clerk 用户生命周期变更时(创建、更新、删除)中通知我们的应用并存储落库。我们通过 Clerk 提供的 Webhook 来实现这一诉求。
我们需要在 Clerk 的 Webhooks 中添加一个端点(Endpoint),告诉 Clerk 当用户发生变更时,向这个端点发送通知。
<Image alt={'Clerk 添加 Webhooks 端点'} src={'https://github.com/lobehub/lobe-chat/assets/28616219/f50f47fb-5e8e-4930-bf4e-8cf6f5b8afb9'} />
在 endppint 中填写你的项目 URL,如 `https://your-project.com/api/webhooks/clerk`。然后在订阅事件(Subscribe to events)中,勾选 user 的三个事件(`user.created` 、`user.deleted`、`user.updated`),然后点击创建。
<Callout type={'warning'}>URL 的`https://`不可缺失,须保持 URL 的完整性</Callout>
<Image alt={'添加 Clerk Webhooks 时,配置 URL 和用户事件'} src={'https://github.com/lobehub/lobe-chat/assets/28616219/0249ea56-ab17-4aa9-a56c-9ebd556c2645'} />
### 将 Webhook 秘钥添加到环境变量
创建完毕后,可以在右下角找到该 Webhook 的秘钥:
<Image alt={'查看 Clerk Webhooks 秘钥'} src={'https://github.com/lobehub/lobe-chat/assets/28616219/fab4abb2-584b-49de-9340-813382951635'} />
这个秘钥所对应的环境变量名为 `CLERK_WEBHOOK_SECRET`
```shell
CLERK_WEBHOOK_SECRET=whsec_xxxxxxxxxxxxxxxxxxxxxx
```
</Steps>
这样,你已经成功配置了 Clerk 身份验证服务。

Some files were not shown because too many files have changed in this diff Show More