Compare commits

...

754 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
1806 changed files with 80768 additions and 18048 deletions
+6
View File
@@ -0,0 +1,6 @@
{
"image": "mcr.microsoft.com/devcontainers/universal:2",
"features": {
"ghcr.io/devcontainers/features/node:1": {}
}
}
+18 -4
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-06-01
# AZURE_API_VERSION=2024-10-21
### Anthropic Service ####
@@ -106,6 +106,7 @@ OPENAI_API_KEY=sk-xxxxxxxxx
### DeepSeek AI ####
# DEEPSEEK_PROXY_URL=https://api.deepseek.com/v1
# DEEPSEEK_API_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
### Qwen AI ####
@@ -121,6 +122,15 @@ OPENAI_API_KEY=sk-xxxxxxxxx
# SILICONCLOUD_API_KEY=sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
### TencentCloud AI ####
# TENCENT_CLOUD_API_KEY=sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
### PPIO ####
# PPIO_API_KEY=sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
########################################
############ Market Service ############
########################################
@@ -189,6 +199,7 @@ OPENAI_API_KEY=sk-xxxxxxxxx
# NextAuth related configurations
# NEXT_PUBLIC_ENABLE_NEXT_AUTH=1
# NEXT_AUTH_SECRET=
# Auth0 configurations
@@ -207,5 +218,8 @@ OPENAI_API_KEY=sk-xxxxxxxxx
# 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
# KEY_VAULTS_SECRET=xxxxx/xxxxxxxxxxxxxx=
# 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"
+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. | 请在讨论区发布问题和想法。
+140 -25
View File
@@ -4,43 +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-database
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-database
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.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
- 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: .
file: ./Dockerfile.database # 指定使用 Dockerfile.database 文件
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 }}
+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
+1
View File
@@ -68,3 +68,4 @@ public/swe-worker*
*.patch
*.pdf
vertex-ai-key.json
.pnpm-store
+1 -1
View File
@@ -1 +1 @@
lts/iron
lts/jod
+5119
View File
File diff suppressed because it is too large Load Diff
+24 -12
View File
@@ -67,8 +67,9 @@ ENV NODE_OPTIONS="--max-old-space-size=8192"
WORKDIR /app
COPY package.json ./
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
@@ -79,15 +80,14 @@ RUN \
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 pnpm \
&& corepack use $(sed -n 's/.*"packageManager": "\(.*\)".*/\1/p' package.json) \
# Install the dependencies
&& pnpm i \
# Add sharp dependencies
&& mkdir -p /deps \
&& pnpm add sharp --prefix /deps
&& pnpm i
COPY . .
@@ -99,13 +99,9 @@ FROM busybox:latest AS app
COPY --from=base /distroless/ /
COPY --from=builder /app/public /app/public
# 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 --from=builder /app/.next/static /app/.next/static
COPY --from=builder /deps/node_modules/.pnpm /app/node_modules/.pnpm
# Copy server launcher
COPY --from=builder /app/scripts/serverLauncher/startServer.js /app/startServer.js
@@ -129,6 +125,10 @@ ENV NODE_ENV="production" \
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"
@@ -177,6 +177,8 @@ ENV \
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
@@ -185,6 +187,8 @@ ENV \
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
@@ -193,8 +197,12 @@ ENV \
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
@@ -209,14 +217,18 @@ ENV \
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_ACCESS_KEY="" WENXIN_SECRET_KEY="" WENXIN_MODEL_LIST="" \
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=""
ZHIPU_API_KEY="" ZHIPU_MODEL_LIST="" \
# Tencent Cloud
TENCENT_CLOUD_API_KEY="" TENCENT_CLOUD_MODEL_LIST=""
USER nextjs
+34 -14
View File
@@ -38,6 +38,7 @@ 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
@@ -49,6 +50,7 @@ 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" \
@@ -74,8 +76,9 @@ ENV NODE_OPTIONS="--max-old-space-size=8192"
WORKDIR /app
COPY package.json ./
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
@@ -86,15 +89,19 @@ RUN \
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 pnpm \
&& corepack use $(sed -n 's/.*"packageManager": "\(.*\)".*/\1/p' package.json) \
# Install the dependencies
&& pnpm i \
# Add sharp and db migration dependencies
# Add db migration dependencies
&& mkdir -p /deps \
&& pnpm add sharp pg drizzle-orm --prefix /deps
&& cd /deps \
&& pnpm init \
&& pnpm add pg drizzle-orm
COPY . .
@@ -106,23 +113,20 @@ FROM busybox:latest AS app
COPY --from=base /distroless/ /
COPY --from=builder /app/public /app/public
# 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 --from=builder /app/.next/static /app/.next/static
# 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 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
@@ -145,6 +149,10 @@ ENV NODE_ENV="production" \
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"
@@ -212,6 +220,8 @@ ENV \
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
@@ -220,6 +230,8 @@ ENV \
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
@@ -228,8 +240,12 @@ ENV \
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
@@ -244,14 +260,18 @@ ENV \
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_ACCESS_KEY="" WENXIN_SECRET_KEY="" WENXIN_MODEL_LIST="" \
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=""
ZHIPU_API_KEY="" ZHIPU_MODEL_LIST="" \
# Tencent Cloud
TENCENT_CLOUD_API_KEY="" TENCENT_CLOUD_MODEL_LIST=""
USER nextjs
+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"]
-844
View File
@@ -1,844 +0,0 @@
<div align="center"><a name="readme-top"></a>
[![][image-banner]][vercel-link]
# Lobe Chat
オープンソースのモダンデザイン ChatGPT/LLMs UI / フレームワーク。<br/>
音声合成、マルチモーダル、拡張可能な([function call][docs-functionc-call])プラグインシステムをサポート。<br/>
プライベートな OpenAI ChatGPT/Claude/Gemini/Groq/Ollama チャットアプリケーションをワンクリックで**無料**でデプロイ。
[English](./README.md) · [简体中文](./README.zh-CN.md) · **日本語** · [公式サイト][official-site] · [変更履歴][changelog] · [ドキュメント][docs] · [ブログ][blog] · [フィードバック][github-issues-link]
<!-- SHIELD GROUP -->
[![][github-release-shield]][github-release-link]
[![][docker-release-shield]][docker-release-link]
[![][vercel-shield]][vercel-link]
[![][discord-shield]][discord-link]<br/>
[![][codecov-shield]][codecov-link]
[![][github-action-test-shield]][github-action-test-link]
[![][github-action-release-shield]][github-action-release-link]
[![][github-releasedate-shield]][github-releasedate-link]<br/>
[![][github-contributors-shield]][github-contributors-link]
[![][github-forks-shield]][github-forks-link]
[![][github-stars-shield]][github-stars-link]
[![][github-issues-shield]][github-issues-link]
[![][github-license-shield]][github-license-link]<br>
[![][sponsor-shield]][sponsor-link]
**LobeChat リポジトリを共有**
[![][share-x-shield]][share-x-link]
[![][share-telegram-shield]][share-telegram-link]
[![][share-whatsapp-shield]][share-whatsapp-link]
[![][share-reddit-shield]][share-reddit-link]
[![][share-weibo-shield]][share-weibo-link]
[![][share-mastodon-shield]][share-mastodon-link]
[![][share-linkedin-shield]][share-linkedin-link]
<sup>新しい時代の思考と創造を先導します。あなたのために、スーパー個人のために作られました。</sup>
[![][github-trending-shield]][github-trending-url]
[![][image-overview]][vercel-link]
</div>
<details>
<summary><kbd>目次</kbd></summary>
#### TOC
- [👋🏻 はじめに & コミュニティに参加](#-はじめに--コミュニティに参加)
- [✨ 特徴](#-特徴)
- [`1` マルチモデルサービスプロバイダーのサポート](#1-マルチモデルサービスプロバイダーのサポート)
- [`2` ローカル大規模言語モデル (LLM) のサポート](#2-ローカル大規模言語モデル-llm-のサポート)
- [`3` モデルの視覚認識](#3-モデルの視覚認識)
- [`4` TTS & STT 音声会話](#4-tts--stt-音声会話)
- [`5` テキストから画像生成](#5-テキストから画像生成)
- [`6` プラグインシステム (Function Calling)](#6-プラグインシステム-function-calling)
- [`7` エージェントマーケット (GPTs)](#7-エージェントマーケット-gpts)
- [`8` ローカル / リモートデータベースのサポート](#8-ローカル--リモートデータベースのサポート)
- [`9` マルチユーザ管理のサポート](#9-マルチユーザ管理のサポート)
- [`10` プログレッシブウェブアプリ (PWA)](#10-プログレッシブウェブアプリ-pwa)
- [`11` モバイルデバイスの適応](#11-モバイルデバイスの適応)
- [`12` カスタムテーマ](#12-カスタムテーマ)
- [`*` その他の特徴](#-その他の特徴)
- [⚡️ パフォーマンス](#-パフォーマンス)
- [🛳 自己ホスティング](#-自己ホスティング)
- [`A` Vercel、Zeabur、Sealos でのデプロイ](#a-vercelzeabursealos-でのデプロイ)
- [`B` Docker でのデプロイ](#b-docker-でのデプロイ)
- [環境変数](#環境変数)
- [📦 エコシステム](#-エコシステム)
- [🧩 プラグイン](#-プラグイン)
- [⌨️ ローカル開発](#-ローカル開発)
- [🤝 コントリビュート](#-コントリビュート)
- [❤️ スポンサー](#-スポンサー)
- [🔗 その他の製品](#-その他の製品)
####
<br/>
</details>
## 👋🏻 はじめに & コミュニティに参加
私たちは、AIGC のためのモダンデザインコンポーネントとツールを提供することを目指すデザインエンジニアのグループです。
ブートストラッピングアプローチを採用することで、開発者とユーザーに対してよりオープンで透明性のある、使いやすい製品エコシステムを提供することを目指しています。
ユーザーやプロの開発者にとって、LobeHub はあなたの AI エージェントの遊び場となるでしょう。LobeChat は現在アクティブに開発中であり、遭遇した[問題][issues-link]についてのフィードバックを歓迎します。
| [![][vercel-shield-badge]][vercel-link] | インストールや登録は不要です!私たちのウェブサイトにアクセスして、直接体験してください。 |
| :---------------------------------------- | :---------------------------------------------------------------------------------------------------------------------- |
| [![][discord-shield-badge]][discord-link] | 私たちの Discord コミュニティに参加しましょう!ここでは、LobeHub の開発者や他の熱心なユーザーとつながることができます。 |
> \[!IMPORTANT]
>
> **スターを付けてください**。GitHub からのすべてのリリース通知を遅延なく受け取ることができます~⭐️
[![][image-star]][github-stars-link]
<details>
<summary><kbd>スター履歴</kbd></summary>
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=lobehub%2Flobe-chat&theme=dark&type=Date">
<img width="100%" src="https://api.star-history.com/svg?repos=lobehub%2Flobe-chat&type=Date">
</picture>
</details>
## ✨ 特徴
[![][image-feat-privoder]][docs-feat-provider]
### `1` [マルチモデルサービスプロバイダーのサポート][docs-feat-provider]
LobeChat の継続的な開発において、AI 会話サービスを提供する際のモデルサービスプロバイダーの多様性がコミュニティのニーズを満たすために重要であることを深く理解しています。そのため、単一のモデルサービスプロバイダーに限定せず、複数のモデルサービスプロバイダーをサポートすることで、ユーザーにより多様で豊富な会話の選択肢を提供しています。
このようにして、LobeChat は異なるユーザーのニーズにより柔軟に対応し、開発者にも幅広い選択肢を提供します。
#### サポートされているモデルサービスプロバイダー
以下のモデルサービスプロバイダーをサポートしています:
<!-- PROVIDER LIST -->
- **[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 は、Amazon AWS が提供するサービスで、企業に先進的な AI 言語モデルと視覚モデルを提供することに特化しています。そのモデルファミリーには、Anthropic の Claude シリーズや Meta の Llama 3.1 シリーズなどが含まれ、軽量から高性能までのさまざまな選択肢を提供し、テキスト生成、対話、画像処理などの多様なタスクをサポートし、異なる規模とニーズの企業アプリケーションに適しています。
- **[Google](https://lobechat.com/discover/provider/google)**: Google の Gemini シリーズは、Google DeepMind によって開発された最先端で汎用的な AI モデルであり、多モーダル設計に特化しており、テキスト、コード、画像、音声、動画のシームレスな理解と処理をサポートします。データセンターからモバイルデバイスまでのさまざまな環境に適しており、AI モデルの効率と適用範囲を大幅に向上させています。
- **[DeepSeek](https://lobechat.com/discover/provider/deepseek)**: DeepSeek は、人工知能技術の研究と応用に特化した企業であり、最新のモデル DeepSeek-V2.5 は、汎用対話とコード処理能力を融合させ、人間の好みの整合、ライティングタスク、指示の遵守などの面で顕著な向上を実現しています。
- **[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 (+26)</kbd></summary>
- **[Novita](https://lobechat.com/discover/provider/novita)**: Novita AI は、さまざまな大規模言語モデルと AI 画像生成の API サービスを提供するプラットフォームであり、柔軟で信頼性が高く、コスト効率に優れています。Llama3、Mistral などの最新のオープンソースモデルをサポートし、生成的 AI アプリケーションの開発に向けた包括的でユーザーフレンドリーかつ自動スケーリングの API ソリューションを提供し、AI スタートアップの急成長を支援します。
- **[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 は、画像とテキストの混合入力をサポートしています。他の注目すべきモデルには、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)**: テンセントが開発した大規模言語モデルであり、強力な中国語の創作能力、複雑な文脈における論理的推論能力、そして信頼性の高いタスク実行能力を備えています。
- **[Spark](https://lobechat.com/discover/provider/spark)**: 科大訊飛星火大モデルは、多分野、多言語の強力な AI 能力を提供し、先進的な自然言語処理技術を利用して、スマートハードウェア、スマート医療、スマート金融などのさまざまな垂直シーンに適した革新的なアプリケーションを構築します。
- **[ZhiPu](https://lobechat.com/discover/provider/zhipu)**: 智谱 AI は、多モーダルおよび言語モデルのオープンプラットフォームを提供し、テキスト処理、画像理解、プログラミング支援など、幅広い AI アプリケーションシーンをサポートしています。
- **[01.AI](https://lobechat.com/discover/provider/zeroone)**: 01.AI は、AI 2.0 時代の人工知能技術に特化し、「人 + 人工知能」の革新と応用を推進し、超強力なモデルと先進的な 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 などのアプリケーションも展開しています。
- **[360 AI](https://lobechat.com/discover/provider/ai360)**: 360 AI は、360 社が提供する AI モデルとサービスプラットフォームであり、360GPT2 Pro、360GPT Pro、360GPT Turbo、360GPT Turbo Responsibility 8K など、さまざまな先進的な自然言語処理モデルを提供しています。これらのモデルは、大規模なパラメータと多モーダル能力を組み合わせており、テキスト生成、意味理解、対話システム、コード生成などの分野で広く使用されています。柔軟な価格戦略を通じて、360 AI は多様なユーザーのニーズに応え、開発者の統合をサポートし、スマートアプリケーションの革新と発展を促進します。
- **[Taichu](https://lobechat.com/discover/provider/taichu)**: 中科院自動化研究所と武漢人工知能研究院が新世代の多モーダル大モデルを発表し、多輪問答、テキスト創作、画像生成、3D 理解、信号分析などの包括的な問答タスクをサポートし、より強力な認知、理解、創作能力を持ち、新しいインタラクティブな体験を提供します。
- **[InternLM](https://lobechat.com/discover/provider/internlm)**: 大規模モデルの研究と開発ツールチェーンに特化したオープンソース組織です。すべての AI 開発者に対して、高効率で使いやすいオープンプラットフォームを提供し、最先端の大規模モデルとアルゴリズム技術を身近に感じられるようにします。
- **[SiliconCloud](https://lobechat.com/discover/provider/siliconcloud)**: SiliconFlow は、AGI を加速させ、人類に利益をもたらすことを目指し、使いやすくコスト効率の高い GenAI スタックを通じて大規模 AI の効率を向上させることに取り組んでいます。
- **[Higress](https://lobechat.com/discover/provider/higress)**: Higress は、阿里内部で Tengine のリロードが長期接続のビジネスに悪影響を及ぼすことや、gRPC/Dubbo の負荷分散能力が不足している問題を解決するために生まれた、クラウドネイティブな API ゲートウェイです。
- **[Gitee AI](https://lobechat.com/discover/provider/giteeai)**: Gitee AI の Serverless API は、AI 開発者に開梱即使用の大モデル推論 API サービスを提供する。
</details>
> 📊 Total providers: [<kbd>**36**</kbd>](https://lobechat.com/discover/providers)
<!-- PROVIDER LIST -->
同時に、私たちはさらに多くのモデルサービスプロバイダーをサポートする計画を立てており、サービスプロバイダーのライブラリをさらに充実させる予定です。 LobeChat があなたのお気に入りのサービスプロバイダーをサポートすることを希望する場合は、[💬 コミュニティディスカッション](https://github.com/lobehub/lobe-chat/discussions/1284)に参加してください。
<div align="right">
[![][back-to-top]](#readme-top)
</div>
[![][image-feat-local]][docs-feat-local]
### `2` [ローカル大規模言語モデル (LLM) のサポート][docs-feat-local]
特定のユーザーのニーズに応えるために、LobeChat は[Ollama](https://ollama.ai)に基づいてローカルモデルの使用をサポートしており、ユーザーが自分自身またはサードパーティのモデルを柔軟に使用できるようにしています。
> \[!TIP]
>
> [📘 LobeChat での Ollama の使用][docs-usage-ollama]について詳しくはこちらをご覧ください。
<div align="right">
[![][back-to-top]](#readme-top)
</div>
[![][image-feat-vision]][docs-feat-vision]
### `3` [モデルの視覚認識][docs-feat-vision]
LobeChat は、OpenAI の最新の視覚認識機能を備えた[`gpt-4-vision`](https://platform.openai.com/docs/guides/vision)モデルをサポートしています。
これは視覚を認識できるマルチモーダルインテリジェンスです。ユーザーは簡単に画像をアップロードしたり、画像をドラッグアンドドロップして対話ボックスに入れることができ、
エージェントは画像の内容を認識し、これに基づいてインテリジェントな会話を行い、よりスマートで多様なチャットシナリオを作成します。
この機能は、新しいインタラクティブな方法を提供し、コミュニケーションがテキストを超えて視覚要素を含むことを可能にします。
日常の使用での画像共有や特定の業界での画像解釈に関係なく、エージェントは優れた会話体験を提供します。
<div align="right">
[![][back-to-top]](#readme-top)
</div>
[![][image-feat-tts]][docs-feat-tts]
### `4` [TTS & STT 音声会話][docs-feat-tts]
LobeChat は、テキストから音声への変換(Text-to-Speech、TTS)および音声からテキストへの変換(Speech-to-Text、STT)技術をサポートしており、
テキストメッセージを明瞭な音声出力に変換し、ユーザーが実際の人と話しているかのように対話エージェントと対話できるようにします。
ユーザーは、エージェントに適した音声を選択することができます。
さらに、TTS は聴覚学習を好む人や忙しい中で情報を受け取りたい人にとって優れたソリューションを提供します。
LobeChat では、異なる地域や文化的背景のユーザーのニーズに応えるために、さまざまな高品質の音声オプション(OpenAI Audio、Microsoft Edge Speech)を慎重に選択しました。
ユーザーは、個人の好みや特定のシナリオに応じて適切な音声を選択し、パーソナライズされたコミュニケーション体験を得ることができます。
<div align="right">
[![][back-to-top]](#readme-top)
</div>
[![][image-feat-t2i]][docs-feat-t2i]
### `5` [テキストから画像生成][docs-feat-t2i]
最新のテキストから画像生成技術をサポートし、LobeChat はユーザーがエージェントとの対話中に直接画像作成ツールを呼び出すことができるようになりました。
[`DALL-E 3`](https://openai.com/dall-e-3)、[`MidJourney`](https://www.midjourney.com/)、[`Pollinations`](https://pollinations.ai/)などの AI ツールの能力を活用することで、
エージェントはあなたのアイデアを画像に変えることができます。
これにより、プライベートで没入感のある創造プロセスが可能になり、個人的な対話に視覚的なストーリーテリングをシームレスに統合することができます。
<div align="right">
[![][back-to-top]](#readme-top)
</div>
[![][image-feat-plugin]][docs-feat-plugin]
### `6` [プラグインシステム (Function Calling)][docs-feat-plugin]
LobeChat のプラグインエコシステムは、そのコア機能の重要な拡張であり、LobeChat アシスタントの実用性と柔軟性を大幅に向上させます。
<video controls src="https://github.com/lobehub/lobe-chat/assets/28616219/f29475a3-f346-4196-a435-41a6373ab9e2" muted="false"></video>
プラグインを利用することで、LobeChat アシスタントはリアルタイムの情報を取得して処理することができ、ウェブ情報を検索し、ユーザーに即時かつ関連性の高いニュースを提供することができます。
さらに、これらのプラグインはニュースの集約に限定されず、他の実用的な機能にも拡張できます。たとえば、ドキュメントの迅速な検索、画像の生成、Bilibili、Steam などのさまざまなプラットフォームからのデータの取得、さまざまなサードパーティサービスとの連携などです。
> \[!TIP]
>
> [📘 プラグインの使用][docs-usage-plugin]について詳しくはこちらをご覧ください。
<!-- PLUGIN LIST -->
| 最近追加 | 説明 |
| ---------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- |
| [MintbaseSearch](https://lobechat.com/discover/plugin/mintbasesearch)<br/><sup>By **mintbase** on **2024-12-31**</sup> | NEAR プロトコル上の任意の NFT データを見つける。<br/>`暗号通貨` `nft` |
| [PortfolioMeta](https://lobechat.com/discover/plugin/StockData)<br/><sup>By **portfoliometa** on **2024-12-22**</sup> | 株を分析し、包括的なリアルタイムの投資データと分析を取得します。<br/>`stock` |
| [Google CSE](https://lobechat.com/discover/plugin/google-cse)<br/><sup>By **vsnthdev** on **2024-12-02**</sup> | 公式の CSE API を通じて Google を検索します。<br/>`ウェブ` `検索` |
| [話す](https://lobechat.com/discover/plugin/speak)<br/><sup>By **speak** on **2024-12-02**</sup> | Speak は、AI パワードの言語チューターで、他の言語で何でも言う方法を学ぶことができます。<br/>`教育` `言語` |
> 📊 Total plugins: [<kbd>**48**</kbd>](https://lobechat.com/discover/plugins)
<!-- PLUGIN LIST -->
<div align="right">
[![][back-to-top]](#readme-top)
</div>
[![][image-feat-agent]][docs-feat-agent]
### `7` [エージェントマーケット (GPTs)][docs-feat-agent]
LobeChat エージェントマーケットプレイスでは、クリエイターが多くの優れたエージェントを発見できる活気に満ちた革新的なコミュニティを提供しています。
これらのエージェントは、仕事のシナリオで重要な役割を果たすだけでなく、学習プロセスでも大いに便利です。
私たちのマーケットプレイスは、単なるショーケースプラットフォームではなく、協力の場でもあります。ここでは、誰もが自分の知恵を貢献し、開発したエージェントを共有できます。
> \[!TIP]
>
> [🤖/🏪 エージェントを提出][submit-agents-link]することで、簡単にエージェント作品をプラットフォームに提出できます。
> 重要なのは、LobeChat が高度な自動化国際化(i18n)ワークフローを確立しており、
> あなたのエージェントを複数の言語バージョンにシームレスに翻訳できることです。
> これにより、ユーザーがどの言語を話していても、エージェントを障害なく体験できます。
> \[!IMPORTANT]
>
> すべてのユーザーがこの成長するエコシステムに参加し、エージェントの反復と最適化に参加することを歓迎します。
> 一緒に、より面白く、実用的で革新的なエージェントを作成し、エージェントの多様性と実用性をさらに豊かにしましょう。
<!-- AGENT LIST -->
| 最近追加 | 説明 |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- |
| [システム指示の専門家](https://lobechat.com/discover/assistant/instructer)<br/><sup>By **[yuyun2000](https://github.com/yuyun2000)** on **2024-12-04**</sup> | 効率的なシステム指示を精練し生成することに長けています<br/>`システム指示` `執筆` `詳細最適化` `ユーザーのニーズ` |
| [日本語記憶支援者](https://lobechat.com/discover/assistant/japan-language-helper)<br/><sup>By **[sharkbear212](https://github.com/sharkbear212)** on **2024-12-04**</sup> | 日本語の五十音、ひらがな、カタカナ、単語やフレーズの説明と記憶のテクニックに特化しています<br/>`説明` `記憶テクニック` `日本語教育` |
| [詩詞カードデザイナー](https://lobechat.com/discover/assistant/poetry-card-designer)<br/><sup>By **[lianxin255](https://github.com/lianxin255)** on **2024-12-03**</sup> | 詩詞カードのデザインに優れ、芸術感と魅力を高めます<br/>`詩詞カードデザイン` `カード` `クリエイティブ` `アート表現` |
| [日常医師](https://lobechat.com/discover/assistant/yunchat-docter)<br/><sup>By **[yuyun2000](https://github.com/yuyun2000)** on **2024-11-30**</sup> | 外科診療と個別化健康管理に優れています<br/>`総合診療` `外科` `健康相談` `個別化治療` `医学教育` |
> 📊 Total agents: [<kbd>**453**</kbd> ](https://lobechat.com/discover/assistants)
<!-- AGENT LIST -->
<div align="right">
[![][back-to-top]](#readme-top)
</div>
[![][image-feat-database]][docs-feat-database]
### `8` [ローカル / リモートデータベースのサポート][docs-feat-database]
LobeChat は、サーバーサイドデータベースとローカルデータベースの両方の使用をサポートしています。ニーズに応じて、適切なデプロイメントソリューションを選択できます:
- **ローカルデータベース**:データとプライバシー保護に対するより多くの制御を希望するユーザーに適しています。LobeChat は CRDTConflict-Free Replicated Data Type)技術を使用してマルチデバイス同期を実現しています。これはシームレスなデータ同期体験を提供することを目的とした実験的な機能です。
- **サーバーサイドデータベース**:より便利なユーザー体験を希望するユーザーに適しています。LobeChat は PostgreSQL をサーバーサイドデータベースとしてサポートしています。サーバーサイドデータベースの設定方法についての詳細なドキュメントは、[サーバーサイドデータベースの設定](https://lobehub.com/docs/self-hosting/advanced/server-database)をご覧ください。
どのデータベースを選択しても、LobeChat は優れたユーザー体験を提供します。
<div align="right">
[![][back-to-top]](#readme-top)
</div>
[![][image-feat-auth]][docs-feat-auth]
### `9` [マルチユーザ管理のサポート][docs-feat-auth]
LobeChat はマルチユーザ管理をサポートし、異なるニーズに応じて 2 つの主要なユーザ認証および管理ソリューションを提供します:
- **next-auth**LobeChat は、複数の認証方法(OAuth、メールログイン、資格情報ログインなど)をサポートする柔軟で強力な認証ライブラリである`next-auth`を統合しています。`next-auth`を使用すると、ユーザの登録、ログイン、セッション管理、ソーシャルログインなどの機能を簡単に実装し、ユーザデータのセキュリティとプライバシーを確保できます。
- **Clerk**:より高度なユーザ管理機能が必要なユーザ向けに、LobeChat は`Clerk`もサポートしています。`Clerk`は、現代的なユーザ管理プラットフォームであり、多要素認証(MFA)、ユーザプロファイル管理、ログイン活動の監視など、より豊富な機能を提供します。`Clerk`を使用すると、より高いセキュリティと柔軟性を得ることができ、複雑なユーザ管理ニーズに簡単に対応できます。
どのユーザ管理ソリューションを選択しても、LobeChat は優れたユーザー体験と強力な機能サポートを提供します。
<div align="right">
[![][back-to-top]](#readme-top)
</div>
[![][image-feat-pwa]][docs-feat-pwa]
### `10` [プログレッシブウェブアプリ (PWA)][docs-feat-pwa]
私たちは、今日のマルチデバイス環境でユーザーにシームレスな体験を提供することの重要性を深く理解しています。
そのため、プログレッシブウェブアプリケーション([PWA](https://support.google.com/chrome/answer/9658361))技術を採用しました。
これは、ウェブアプリケーションをネイティブアプリに近い体験に引き上げるモダンなウェブ技術です。
PWA を通じて、LobeChat はデスクトップとモバイルデバイスの両方で高度に最適化されたユーザー体験を提供しながら、その軽量で高性能な特性を維持します。
視覚的および感覚的には、インターフェースを慎重に設計し、ネイティブアプリと区別がつかないようにし、
スムーズなアニメーション、レスポンシブレイアウト、および異なるデバイスの画面解像度に適応するようにしています。
> \[!NOTE]
>
> PWA のインストールプロセスに慣れていない場合は、以下の手順に従って LobeChat をデスクトップアプリケーション(モバイルデバイスにも適用)として追加できます:
>
> - コンピュータで Chrome または Edge ブラウザを起動します。
> - LobeChat のウェブページにアクセスします。
> - アドレスバーの右上にある<kbd>インストール</kbd>アイコンをクリックします。
> - 画面の指示に従って PWA のインストールを完了します。
<div align="right">
[![][back-to-top]](#readme-top)
</div>
[![][image-feat-mobile]][docs-feat-mobile]
### `11` [モバイルデバイスの適応][docs-feat-mobile]
モバイルデバイスのユーザー体験を向上させるために、一連の最適化設計を行いました。現在、モバイルユーザー体験のバージョンを繰り返し改善しています。ご意見やアイデアがある場合は、GitHub Issues や Pull Requests を通じてフィードバックをお寄せください。
<div align="right">
[![][back-to-top]](#readme-top)
</div>
[![][image-feat-theme]][docs-feat-theme]
### `12` [カスタムテーマ][docs-feat-theme]
デザインエンジニアリング指向のアプリケーションとして、LobeChat はユーザーの個別体験を重視しており、
柔軟で多様なテーマモードを導入しています。日中のライトモードと夜間のダークモードを含みます。
テーマモードの切り替えに加えて、さまざまな色のカスタマイズオプションを提供し、ユーザーが自分の好みに応じてアプリケーションのテーマカラーを調整できるようにしています。
落ち着いたダークブルー、活気のあるピーチピンク、プロフェッショナルなグレーホワイトなど、LobeChat では自分のスタイルに合った色の選択肢を見つけることができます。
> \[!TIP]
>
> デフォルトの設定は、ユーザーのシステムのカラーモードをインテリジェントに認識し、テーマを自動的に切り替えて、オペレーティングシステムと一貫した視覚体験を提供します。
> 詳細を手動で制御するのが好きなユーザーには、直感的な設定オプションと、会話シナリオに対してチャットバブルモードとドキュメントモードの選択肢を提供します。
<div align="right">
[![][back-to-top]](#readme-top)
</div>
### `*` その他の特徴
これらの特徴に加えて、LobeChat は基本的な技術基盤も優れています:
- [x] 💨 **迅速なデプロイ**:Vercel プラットフォームまたは Docker イメージを使用して、ワンクリックでデプロイを行い、1 分以内にプロセスを完了できます。複雑な設定は不要です。
- [x] 🌐 **カスタムドメイン**:ユーザーが独自のドメインを持っている場合、プラットフォームにバインドして、どこからでも対話エージェントに迅速にアクセスできます。
- [x] 🔒 **プライバシー保護**:すべてのデータはユーザーのブラウザにローカルに保存され、ユーザーのプライバシーを保護します。
- [x] 💎 **洗練された UI デザイン**:慎重に設計されたインターフェースで、エレガントな外観とスムーズなインタラクションを提供します。ライトモードとダークモードをサポートし、モバイルフレンドリーです。PWA サポートにより、よりネイティブに近い体験を提供します。
- [x] 🗣️ **スムーズな会話体験**:流れるような応答により、スムーズな会話体験を提供します。Markdown レンダリングを完全にサポートし、コードのハイライト、LaTex の数式、Mermaid のフローチャートなどを含みます。
> ✨ LobeChat の進化に伴い、さらに多くの機能が追加されます。
---
> \[!NOTE]
>
> 今後の[ロードマップ][github-project-link]計画は、Projects セクションで確認できます。
<div align="right">
[![][back-to-top]](#readme-top)
</div>
## ⚡️ パフォーマンス
> \[!NOTE]
>
> 完全なレポートのリストは[📘 Lighthouse レポート][docs-lighthouse]で確認できます。
| デスクトップ | モバイル |
| :-------------------------------------------: | :------------------------------------------: |
| ![][chat-desktop] | ![][chat-mobile] |
| [📑 Lighthouse レポート][chat-desktop-report] | [📑 Lighthouse レポート][chat-mobile-report] |
<div align="right">
[![][back-to-top]](#readme-top)
</div>
## 🛳 自己ホスティング
LobeChat は、Vercel と[Docker イメージ][docker-release-link]を使用した自己ホスティングバージョンを提供しています。これにより、事前の知識がなくても数分で独自のチャットボットをデプロイできます。
> \[!TIP]
>
> [📘 独自の LobeChat を構築する][docs-self-hosting]について詳しくはこちらをご覧ください。
### `A` Vercel、Zeabur、Sealos でのデプロイ
このサービスを Vercel または Zeabur でデプロイしたい場合は、以下の手順に従ってください:
- [OpenAI API Key](https://platform.openai.com/account/api-keys)を準備します。
- 下のボタンをクリックしてデプロイを開始します:GitHub アカウントで直接ログインし、環境変数セクションに`OPENAI_API_KEY`(必須)と`ACCESS_CODE`(推奨)を入力します。
- デプロイが完了したら、使用を開始できます。
- カスタムドメインをバインド(オプション):Vercel が割り当てたドメインの DNS は一部の地域で汚染されているため、カスタムドメインをバインドすることで直接接続できます。
<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] |
</div>
#### フォーク後
フォーク後、リポジトリのアクションページで他のアクションを無効にし、アップストリーム同期アクションのみを保持します。
#### 更新を維持
README のワンクリックデプロイ手順に従って独自のプロジェクトをデプロイした場合、「更新が利用可能です」というプロンプトが常に表示されることがあります。これは、Vercel がデフォルトで新しいプロジェクトを作成し、フォークしないため、更新を正確に検出できないためです。
> \[!TIP]
>
> [📘 最新バージョンと自動同期][docs-upstream-sync]の手順に従って再デプロイすることをお勧めします。
<br/>
### `B` Docker でのデプロイ
[![][docker-release-shield]][docker-release-link]
[![][docker-size-shield]][docker-size-link]
[![][docker-pulls-shield]][docker-pulls-link]
LobeChat サービスを独自のプライベートデバイスにデプロイするための Docker イメージを提供しています。以下のコマンドを使用して LobeChat サービスを開始します:
```fish
$ docker run -d -p 3210:3210 \
-e OPENAI_API_KEY=sk-xxxx \
-e ACCESS_CODE=lobe66 \
--name lobe-chat \
lobehub/lobe-chat
```
> \[!TIP]
>
> OpenAI サービスをプロキシ経由で使用する必要がある場合は、`OPENAI_PROXY_URL`環境変数を使用してプロキシアドレスを設定できます:
```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
```
> \[!NOTE]
>
> Docker を使用したデプロイの詳細な手順については、[📘 Docker デプロイガイド][docs-docker]を参照してください。
<br/>
### 環境変数
このプロジェクトは、環境変数で設定される追加の構成項目を提供します:
| 環境変数 | 必須 | 説明 | 例 |
| ------------------- | ------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
| `OPENAI_API_KEY` | はい | これは OpenAI アカウントページで申請した API キーです | `sk-xxxxxx...xxxxxx` |
| `OPENAI_PROXY_URL` | いいえ | OpenAI インターフェイスプロキシを手動で設定する場合、この設定項目を使って、デフォルトの OpenAI API リクエストベース URL を上書きすることができます。 | `https://api.chatanywhere.cn` または `https://aihubmix.com/v1` <br/>デフォルトの値は<br/>`https://api.openai.com/v1` |
| `ACCESS_CODE` | いいえ | このサービスにアクセスするためのパスワードを追加します。漏洩を避けるために長いパスワードを設定することができます。この値にカンマが含まれる場合は、パスワードの配列となります。 | `awCTe)re_r74` または `rtrt_ewee3@09!` または `code1,code2,code3` |
| `OPENAI_MODEL_LIST` | いいえ | モデルリストをコントロールするために使用します。モデルを追加するには `+` を、モデルを非表示にするには `-` を、モデルの表示名をカンマ区切りでカスタマイズするには `model_name=display_name` を使用します。 | `qwen-7b-chat,+glm-6b,-gpt-3.5-turbo` |
> \[!NOTE]
>
> 環境変数の完全なリストは [📘環境変数][docs-env-var] にあります
<div align="right">
[![][back-to-top]](#readme-top)
</div>
## 📦 エコシステム
| NPM | リポジトリ | 説明 | バージョン |
| --------------------------------- | --------------------------------------- | ------------------------------------------------------------------------------------- | ----------------------------------------- |
| [@lobehub/ui][lobe-ui-link] | [lobehub/lobe-ui][lobe-ui-github] | AIGC ウェブアプリケーション構築専用のオープンソース UI コンポーネントライブラリ。 | [![][lobe-ui-shield]][lobe-ui-link] |
| [@lobehub/icons][lobe-icons-link] | [lobehub/lobe-icons][lobe-icons-github] | 人気の AI/LLM モデルブランドの SVG ロゴとアイコン集。 | [![][lobe-icons-shield]][lobe-icons-link] |
| [@lobehub/tts][lobe-tts-link] | [lobehub/lobe-tts][lobe-tts-github] | 高品質で信頼性の高い TTS/STT React Hooks ライブラリ | [![][lobe-tts-shield]][lobe-tts-link] |
| [@lobehub/lint][lobe-lint-link] | [lobehub/lobe-lint][lobe-lint-github] | LobeHub の ESlint、Stylelint、Commitlint、Prettier、Remark、Semantic Release の設定。 | [![][lobe-lint-shield]][lobe-lint-link] |
<div align="right">
[![][back-to-top]](#readme-top)
</div>
## 🧩 プラグイン
プラグインは、LobeChat の[関数呼び出し][docs-functionc-call]機能を拡張する手段を提供します。プラグインを使用して、新しい関数呼び出しやメッセージ結果の新しいレンダリング方法を導入することができます。プラグイン開発に興味がある方は、Wiki の[📘プラグイン開発ガイド][docs-plugin-dev]を参照してください。
- [lobe-chat-plugins][lobe-chat-plugins]: これは LobeChat のプラグインインデックスです。このリポジトリから index.json にアクセスし、LobeChat で利用可能なプラグインのリストをユーザに表示します。
- [chat-plugin-template][chat-plugin-template]: これは LobeChat プラグイン開発用のプラグインテンプレートです。
- [@lobehub/chat-plugin-sdk][chat-plugin-sdk]: LobeChat プラグイン SDK は、Lobe Chat 用の優れたチャットプラグインの作成を支援します。
- [@lobehub/chat-plugins-gateway][chat-plugins-gateway]: LobeChat Plugins Gateway は、LobeChat プラグインのためのゲートウェイを提供するバックエンドサービスです。このサービスは Vercel を使用してデプロイされます。プライマリ API の POST /api/v1/runner は Edge Function としてデプロイされます。
> \[!NOTE]
>
> プラグインシステムは現在大規模な開発中です。詳しくは以下の issue をご覧ください:
>
> - [x] [**プラグインフェイズ 1**](https://github.com/lobehub/lobe-chat/issues/73): プラグインを本体から分離し、メンテナンスのためにプラグインを独立したリポジトリに分割し、プラグインの動的ロードを実現する。
> - [x] [**プラグインフェイズ 2**](https://github.com/lobehub/lobe-chat/issues/97): プラグイン使用の安全性と安定性、より正確な異常状態の提示、プラグインアーキテクチャの保守性、開発者フレンドリー。
> - [x] [**プラグインフェイズ 3**](https://github.com/lobehub/lobe-chat/issues/149): より高度で包括的なカスタマイズ機能、プラグイン認証のサポート、サンプル。
<div align="right">
[![][back-to-top]](#readme-top)
</div>
## ⌨️ ローカル開発
GitHub Codespaces を使ってオンライン開発ができます:
[![][codespaces-shield]][codespaces-link]
Or clone it for local development:
```fish
$ git clone https://github.com/lobehub/lobe-chat.git
$ cd lobe-chat
$ pnpm install
$ pnpm dev
```
より詳しい情報をお知りになりたい方は、[📘開発ガイド][docs-dev-guide]をご覧ください。
<div align="right">
[![][back-to-top]](#readme-top)
</div>
## 🤝 コントリビュート
どのようなタイプのコントリビュートも大歓迎です;コードを提供することに興味がある方は、GitHub の [Issues][github-issues-link] や [Projects][github-project-link] をチェックして、あなたの力をお貸しください。
> \[!TIP]
>
> 私たちは技術主導のフォーラムを創設し、知識の交流とアイデアの交換を促進することで、相互のインスピレーションと協力的なイノベーションを生み出すことを目指しています。
>
> LobeChat の改善にご協力ください。製品設計のフィードバックやユーザー体験に関するディスカッションを直接お寄せください。
>
> **プリンシパルメンテナー:** [@arvinxx](https://github.com/arvinxx) [@canisminor1990](https://github.com/canisminor1990)
[![][pr-welcome-shield]][pr-welcome-link]
[![][submit-agents-shield]][submit-agents-link]
[![][submit-plugin-shield]][submit-plugin-link]
<a href="https://github.com/lobehub/lobe-chat/graphs/contributors" target="_blank">
<table>
<tr>
<th colspan="2">
<br><img src="https://contrib.rocks/image?repo=lobehub/lobe-chat"><br><br>
</th>
</tr>
<tr>
<td>
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://next.ossinsight.io/widgets/official/compose-org-active-contributors/thumbnail.png?activity=active&period=past_28_days&owner_id=131470832&repo_ids=643445235&image_size=2x3&color_scheme=dark">
<img src="https://next.ossinsight.io/widgets/official/compose-org-active-contributors/thumbnail.png?activity=active&period=past_28_days&owner_id=131470832&repo_ids=643445235&image_size=2x3&color_scheme=light">
</picture>
</td>
<td rowspan="2">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://next.ossinsight.io/widgets/official/compose-org-participants-growth/thumbnail.png?activity=active&period=past_28_days&owner_id=131470832&repo_ids=643445235&image_size=4x7&color_scheme=dark">
<img src="https://next.ossinsight.io/widgets/official/compose-org-participants-growth/thumbnail.png?activity=active&period=past_28_days&owner_id=131470832&repo_ids=643445235&image_size=4x7&color_scheme=light">
</picture>
</td>
</tr>
<tr>
<td>
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://next.ossinsight.io/widgets/official/compose-org-active-contributors/thumbnail.png?activity=new&period=past_28_days&owner_id=131470832&repo_ids=643445235&image_size=2x3&color_scheme=dark">
<img src="https://next.ossinsight.io/widgets/official/compose-org-active-contributors/thumbnail.png?activity=new&period=past_28_days&owner_id=131470832&repo_ids=643445235&image_size=2x3&color_scheme=light">
</picture>
</td>
</tr>
</table>
</a>
<div align="right">
[![][back-to-top]](#readme-top)
</div>
## ❤️ スポンサー
あなたの一度きりの寄付が、私たちの銀河系で輝きを放ちます!皆様は流れ星であり、私たちの旅路に迅速かつ明るい影響を与えます。私たちを信じてくださり、ありがとうございます。皆様の寛大なお気持ちが、私たちの使命に向かって、一度に輝かしい閃光を放つよう導いてくださるのです。
<a href="https://opencollective.com/lobehub" target="_blank">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://github.com/lobehub/.github/blob/main/static/sponsor-dark.png?raw=true">
<img src="https://github.com/lobehub/.github/blob/main/static/sponsor-light.png?raw=true">
</picture>
</a>
<div align="right">
[![][back-to-top]](#readme-top)
</div>
## 🔗 その他の製品
- **[🅰️ Lobe SD Theme][lobe-theme]:** Stable Diffusion WebUI のためのモダンなテーマ、絶妙なインターフェースデザイン、高度にカスタマイズ可能な UI、効率を高める機能。
- **[⛵️ Lobe Midjourney WebUI][lobe-midjourney-webui]:** Midjourney の WebUI は、AI を活用しテキストプロンプトから豊富で多様な画像を素早く生成し、創造性を刺激して会話を盛り上げます。
- **[🌏 Lobe i18n][lobe-i18n] :** Lobe i18n は ChatGPT を利用した国際化翻訳プロセスの自動化ツールです。大きなファイルの自動分割、増分更新、OpenAI モデル、API プロキシ、温度のカスタマイズオプションなどの機能をサポートしています。
- **[💌 Lobe Commit][lobe-commit]:** Lobe Commit は、Langchain/ChatGPT を活用して Gitmoji ベースのコミットメッセージを生成する CLI ツールです。
<div align="right">
[![][back-to-top]](#readme-top)
</div>
---
<details><summary><h4>📝 License</h4></summary>
[![][fossa-license-shield]][fossa-license-link]
</details>
Copyright © 2024 [LobeHub][profile-link]. <br />
This project is [Apache 2.0](./LICENSE) licensed.
<!-- LINK GROUP -->
[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
[chat-mobile-report]: https://lobehub.github.io/lobe-chat/lighthouse/chat/mobile/chat_preview_lobehub_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
[codecov-link]: https://codecov.io/gh/lobehub/lobe-chat
[codecov-shield]: https://img.shields.io/codecov/c/github/lobehub/lobe-chat?labelColor=black&style=flat-square&logo=codecov&logoColor=white
[codespaces-link]: https://codespaces.new/lobehub/lobe-chat
[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-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-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
[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-env-var]: https://lobehub.com/docs/self-hosting/environment-variables
[docs-feat-agent]: https://lobehub.com/docs/usage/features/agent-market
[docs-feat-auth]: https://lobehub.com/docs/usage/features/auth
[docs-feat-database]: https://lobehub.com/docs/usage/features/database
[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
[docs-feat-provider]: https://lobehub.com/docs/usage/features/multi-ai-providers
[docs-feat-pwa]: https://lobehub.com/docs/usage/features/pwa
[docs-feat-t2i]: https://lobehub.com/docs/usage/features/text-to-image
[docs-feat-theme]: https://lobehub.com/docs/usage/features/theme
[docs-feat-tts]: https://lobehub.com/docs/usage/features/tts
[docs-feat-vision]: https://lobehub.com/docs/usage/features/vision
[docs-functionc-call]: https://lobehub.com/blog/openai-function-call
[docs-lighthouse]: https://github.com/lobehub/lobe-chat/wiki/Lighthouse
[docs-plugin-dev]: https://lobehub.com/docs/usage/plugins/development
[docs-self-hosting]: https://lobehub.com/docs/self-hosting/start
[docs-upstream-sync]: https://lobehub.com/docs/self-hosting/advanced/upstream-sync
[docs-usage-ollama]: https://lobehub.com/docs/usage/providers/ollama
[docs-usage-plugin]: https://lobehub.com/docs/usage/plugins/basic
[fossa-license-link]: https://app.fossa.com/projects/git%2Bgithub.com%2Flobehub%2Flobe-chat
[fossa-license-shield]: https://app.fossa.com/api/projects/git%2Bgithub.com%2Flobehub%2Flobe-chat.svg?type=large
[github-action-release-link]: https://github.com/actions/workflows/lobehub/lobe-chat/release.yml
[github-action-release-shield]: https://img.shields.io/github/actions/workflow/status/lobehub/lobe-chat/release.yml?label=release&labelColor=black&logo=githubactions&logoColor=white&style=flat-square
[github-action-test-link]: https://github.com/actions/workflows/lobehub/lobe-chat/test.yml
[github-action-test-shield]: https://img.shields.io/github/actions/workflow/status/lobehub/lobe-chat/test.yml?label=test&labelColor=black&logo=githubactions&logoColor=white&style=flat-square
[github-contributors-link]: https://github.com/lobehub/lobe-chat/graphs/contributors
[github-contributors-shield]: https://img.shields.io/github/contributors/lobehub/lobe-chat?color=c4f042&labelColor=black&style=flat-square
[github-forks-link]: https://github.com/lobehub/lobe-chat/network/members
[github-forks-shield]: https://img.shields.io/github/forks/lobehub/lobe-chat?color=8ae8ff&labelColor=black&style=flat-square
[github-issues-link]: https://github.com/lobehub/lobe-chat/issues
[github-issues-shield]: https://img.shields.io/github/issues/lobehub/lobe-chat?color=ff80eb&labelColor=black&style=flat-square
[github-license-link]: https://github.com/lobehub/lobe-chat/blob/main/LICENSE
[github-license-shield]: https://img.shields.io/badge/license-apache%202.0-white?labelColor=black&style=flat-square
[github-project-link]: https://github.com/lobehub/lobe-chat/projects
[github-release-link]: https://github.com/lobehub/lobe-chat/releases
[github-release-shield]: https://img.shields.io/github/v/release/lobehub/lobe-chat?color=369eff&labelColor=black&logo=github&style=flat-square
[github-releasedate-link]: https://github.com/lobehub/lobe-chat/releases
[github-releasedate-shield]: https://img.shields.io/github/release-date/lobehub/lobe-chat?labelColor=black&style=flat-square
[github-stars-link]: https://github.com/lobehub/lobe-chat/network/stargazers
[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
[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
[lobe-i18n]: https://github.com/lobehub/lobe-commit/tree/master/packages/lobe-i18n
[lobe-icons-github]: https://github.com/lobehub/lobe-icons
[lobe-icons-link]: https://www.npmjs.com/package/@lobehub/icons
[lobe-icons-shield]: https://img.shields.io/npm/v/@lobehub/icons?color=369eff&labelColor=black&logo=npm&logoColor=white&style=flat-square
[lobe-lint-github]: https://github.com/lobehub/lobe-lint
[lobe-lint-link]: https://www.npmjs.com/package/@lobehub/lint
[lobe-lint-shield]: https://img.shields.io/npm/v/@lobehub/lint?color=369eff&labelColor=black&logo=npm&logoColor=white&style=flat-square
[lobe-midjourney-webui]: https://github.com/lobehub/lobe-midjourney-webui
[lobe-theme]: https://github.com/lobehub/sd-webui-lobe-theme
[lobe-tts-github]: https://github.com/lobehub/lobe-tts
[lobe-tts-link]: https://www.npmjs.com/package/@lobehub/tts
[lobe-tts-shield]: https://img.shields.io/npm/v/@lobehub/tts?color=369eff&labelColor=black&logo=npm&logoColor=white&style=flat-square
[lobe-ui-github]: https://github.com/lobehub/lobe-ui
[lobe-ui-link]: https://www.npmjs.com/package/@lobehub/ui
[lobe-ui-shield]: https://img.shields.io/npm/v/@lobehub/ui?color=369eff&labelColor=black&logo=npm&logoColor=white&style=flat-square
[official-site]: https://lobehub.com
[pr-welcome-link]: https://github.com/lobehub/lobe-chat/pulls
[pr-welcome-shield]: https://img.shields.io/badge/🤯_pr_welcome-%E2%86%92-ffcb47?labelColor=black&style=for-the-badge
[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-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
[share-telegram-link]: https://t.me/share/url"?text=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-telegram-shield]: https://img.shields.io/badge/-share%20on%20telegram-black?labelColor=black&logo=telegram&logoColor=white&style=flat-square
[share-weibo-link]: http://service.weibo.com/share/share.php?sharesource=weibo&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-weibo-shield]: https://img.shields.io/badge/-share%20on%20weibo-black?labelColor=black&logo=sinaweibo&logoColor=white&style=flat-square
[share-whatsapp-link]: https://api.whatsapp.com/send?text=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.%20https%3A%2F%2Fgithub.com%2Flobehub%2Flobe-chat%20%23chatbot%20%23chatGPT%20%23openAI
[share-whatsapp-shield]: https://img.shields.io/badge/-share%20on%20whatsapp-black?labelColor=black&logo=whatsapp&logoColor=white&style=flat-square
[share-x-link]: https://x.com/intent/tweet?hashtags=chatbot%2CchatGPT%2CopenAI&text=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.&url=https%3A%2F%2Fgithub.com%2Flobehub%2Flobe-chat
[share-x-shield]: https://img.shields.io/badge/-share%20on%20x-black?labelColor=black&logo=x&logoColor=white&style=flat-square
[sponsor-link]: https://opencollective.com/lobehub 'Become ❤️ LobeHub Sponsor'
[sponsor-shield]: https://img.shields.io/badge/-Sponsor%20LobeHub-f04f88?logo=opencollective&logoColor=white&style=flat-square
[submit-agents-link]: https://github.com/lobehub/lobe-chat-agents
[submit-agents-shield]: https://img.shields.io/badge/🤖/🏪_submit_agent-%E2%86%92-c4f042?labelColor=black&style=for-the-badge
[submit-plugin-link]: https://github.com/lobehub/lobe-chat-plugins
[submit-plugin-shield]: https://img.shields.io/badge/🧩/🏪_submit_plugin-%E2%86%92-95f3d9?labelColor=black&style=for-the-badge
[vercel-link]: https://chat-preview.lobehub.com
[vercel-shield]: https://img.shields.io/badge/vercel-online-55b467?labelColor=black&logo=vercel&style=flat-square
[vercel-shield-badge]: https://img.shields.io/badge/TRY%20LOBECHAT-ONLINE-55b467?labelColor=black&logo=vercel&style=for-the-badge
+134 -88
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) · [日本語](./README.ja-JP.md) · [Official Site][official-site] · [Changelog][changelog] · [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,19 +52,22 @@ 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` File Upload/Knowledge Base](#1-file-uploadknowledge-base)
- [`2` Multi-Model Service Provider Support](#2-multi-model-service-provider-support)
- [`3` Local Large Language Model (LLM) Support](#3-local-large-language-model-llm-support)
- [`4` Model Visual Recognition](#4-model-visual-recognition)
- [`5` TTS & STT Voice Conversation](#5-tts--stt-voice-conversation)
- [`6` Text to Image Generation](#6-text-to-image-generation)
- [`7` Plugin System (Function Calling)](#7-plugin-system-function-calling)
- [`8` Agent Market (GPTs)](#8-agent-market-gpts)
- [`9` Support Local / Remote Database](#9-support-local--remote-database)
- [`10` Support Multi-User Management](#10-support-multi-user-management)
- [`11` Progressive Web App (PWA)](#11-progressive-web-app-pwa)
- [`12` Mobile Device Adaptation](#12-mobile-device-adaptation)
- [`13` Custom Themes](#13-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)
@@ -111,9 +114,48 @@ 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]
### `1` [File Upload/Knowledge Base][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.
@@ -131,7 +173,7 @@ LobeChat supports file upload and knowledge base functionality. You can upload v
[![][image-feat-privoder]][docs-feat-provider]
### `2` [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.
@@ -154,9 +196,10 @@ We have implemented support for the following model service providers:
- **[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 (+26)</kbd></summary>
<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.
@@ -168,24 +211,24 @@ We have implemented support for the following model service providers:
- **[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.
- **[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.
- **[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.
- **[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.
- **[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.
- **[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.
- **[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.
- **[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>**36**</kbd>](https://lobechat.com/discover/providers)
> 📊 Total providers: [<kbd>**37**</kbd>](https://lobechat.com/discover/providers)
<!-- PROVIDER LIST -->
@@ -199,7 +242,7 @@ At the same time, we are also planning to support more model service providers.
[![][image-feat-local]][docs-feat-local]
### `3` [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.
@@ -215,7 +258,7 @@ To meet the specific needs of users, LobeChat also supports the use of local mod
[![][image-feat-vision]][docs-feat-vision]
### `4` [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,
@@ -233,7 +276,7 @@ Whether it's sharing images in daily use or interpreting images within specific
[![][image-feat-tts]][docs-feat-tts]
### `5` [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.
@@ -250,7 +293,7 @@ Users can choose the voice that suits their personal preferences or specific sce
[![][image-feat-t2i]][docs-feat-t2i]
### `6` [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.
@@ -264,7 +307,7 @@ This enables a more private and immersive creative process, allowing for the sea
[![][image-feat-plugin]][docs-feat-plugin]
### `7` [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.
@@ -280,14 +323,14 @@ In addition, these plugins are not limited to news aggregation, but can also ext
<!-- PLUGIN LIST -->
| Recent Submits | Description |
| ---------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
| [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` |
| [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` |
| [Google CSE](https://lobechat.com/discover/plugin/google-cse)<br/><sup>By **vsnthdev** on **2024-12-02**</sup> | Searches Google through their official CSE API.<br/>`web` `search` |
| [Speak](https://lobechat.com/discover/plugin/speak)<br/><sup>By **speak** on **2024-12-02**</sup> | Learn how to say anything in another language with Speak, your AI-powered language tutor.<br/>`education` `language` |
| 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>**48**</kbd>](https://lobechat.com/discover/plugins)
> 📊 Total plugins: [<kbd>**47**</kbd>](https://lobechat.com/discover/plugins)
<!-- PLUGIN LIST -->
@@ -299,7 +342,7 @@ In addition, these plugins are not limited to news aggregation, but can also ext
[![][image-feat-agent]][docs-feat-agent]
### `8` [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.
@@ -319,14 +362,14 @@ Our marketplace is not just a showcase platform but also a collaborative space.
<!-- AGENT LIST -->
| Recent Submits | Description |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [System Instruction Expert](https://lobechat.com/discover/assistant/instructer)<br/><sup>By **[yuyun2000](https://github.com/yuyun2000)** on **2024-12-04**</sup> | Skilled in refining and generating efficient system instructions<br/>`system-instructions` `writing` `detail-optimization` `user-needs` |
| [Japanese Memory Helper](https://lobechat.com/discover/assistant/japan-language-helper)<br/><sup>By **[sharkbear212](https://github.com/sharkbear212)** on **2024-12-04**</sup> | Specializes in Japanese Hiragana, Katakana, vocabulary, and memory techniques for explanations and phrases<br/>`explanation` `memory-techniques` `japanese-teaching` |
| [Poetry Card Designer](https://lobechat.com/discover/assistant/poetry-card-designer)<br/><sup>By **[lianxin255](https://github.com/lianxin255)** on **2024-12-03**</sup> | Skilled in designing poetry cards to enhance artistic sense and appeal<br/>`poetry-card-design` `card` `creativity` `artistic-expression` |
| [Daily Doctor](https://lobechat.com/discover/assistant/yunchat-docter)<br/><sup>By **[yuyun2000](https://github.com/yuyun2000)** on **2024-11-30**</sup> | Specializes in surgical diagnosis and personalized health management<br/>`general-medicine` `surgery` `health-consultation` `personalized-treatment` `medical-education` |
| 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>**453**</kbd> ](https://lobechat.com/discover/assistants)
> 📊 Total agents: [<kbd>**487**</kbd> ](https://lobechat.com/discover/assistants)
<!-- AGENT LIST -->
@@ -338,7 +381,7 @@ Our marketplace is not just a showcase platform but also a collaborative space.
[![][image-feat-database]][docs-feat-database]
### `9` [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:
@@ -355,7 +398,7 @@ Regardless of which database you choose, LobeChat can provide you with an excell
[![][image-feat-auth]][docs-feat-auth]
### `10` [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:
@@ -373,7 +416,7 @@ Regardless of which user management solution you choose, LobeChat can provide yo
[![][image-feat-pwa]][docs-feat-pwa]
### `11` [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,
@@ -400,7 +443,7 @@ providing smooth animations, responsive layouts, and adapting to different devic
[![][image-feat-mobile]][docs-feat-mobile]
### `12` [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.
@@ -412,7 +455,7 @@ We have carried out a series of optimization designs for mobile devices to enhan
[![][image-feat-theme]][docs-feat-theme]
### `13` [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.
@@ -518,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]
@@ -629,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]
>
@@ -745,24 +785,27 @@ This project is [Apache 2.0](./LICENSE) licensed.
[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
@@ -804,22 +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-knowledgebase]: https://github.com/user-attachments/assets/77e58e1c-c82f-4341-b159-f4eeede9967f
[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
@@ -844,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
+138 -92
View File
@@ -8,7 +8,7 @@
支持语音合成、多模态、可扩展的([function call][docs-functionc-call])插件系统<br/>
一键**免费**拥有你自己的 ChatGPT/Gemini/Claude/Ollama 应用
[English](./README.md) · **简体中文** · [日本語](./README.ja-JP.md) · [官网][official-site] · [更新日志][changelog] · [文档][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,20 +52,23 @@
- [👋🏻 开始使用 & 交流](#-开始使用--交流)
- [✨ 特性一览](#-特性一览)
- [`1` 文件上传 / 知识库](#1-文件上传--知识库)
- [`2` 多模型服务商支持](#2-多模型服务商支持)
- [`3` 支持本地大语言模型 (LLM)](#3-支持本地大语言模型-llm)
- [`4` 模型视觉识别 (Model Visual)](#4-模型视觉识别-model-visual)
- [`5` TTS & STT 语音会话](#5-tts--stt-语音会话)
- [`6` Text to Image 文生图](#6-text-to-image-文生图)
- [`7` 插件系统 (Tools Calling)](#7-插件系统-tools-calling)
- [`8` 助手市场 (GPTs)](#8-助手市场-gpts)
- [`9` 支持本地 / 远程数据库](#9-支持本地--远程数据库)
- [`10` 支持多用户管理](#10-支持多用户管理)
- [`11` 渐进式 Web 应用 (PWA)](#11-渐进式-web-应用-pwa)
- [`12` 移动设备适配](#12-移动设备适配)
- [`13` 自定义主题](#13-自定义主题)
- [更多特性](#更多特性)
- [`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-或-阿里云计算巢-部署)
@@ -111,9 +114,48 @@
## ✨ 特性一览
[![][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]
### `1` [文件上传 / 知识库][docs-feat-knowledgebase]
### `4` [文件上传 / 知识库][docs-feat-knowledgebase]
LobeChat 支持文件上传与知识库功能,你可以上传文件、图片、音频、视频等多种类型的文件,以及创建知识库,方便用户管理和查找文件。同时在对话中使用文件和知识库功能,实现更加丰富的对话体验。
@@ -131,7 +173,7 @@ LobeChat 支持文件上传与知识库功能,你可以上传文件、图片
[![][image-feat-privoder]][docs-feat-provider]
### `2` [多模型服务商支持][docs-feat-provider]
### `5` [多模型服务商支持][docs-feat-provider]
在 LobeChat 的不断发展过程中,我们深刻理解到在提供 AI 会话服务时模型服务商的多样性对于满足社区需求的重要性。因此,我们不再局限于单一的模型服务商,而是拓展了对多种模型服务商的支持,以便为用户提供更为丰富和多样化的会话选择。
@@ -154,9 +196,10 @@ LobeChat 支持文件上传与知识库功能,你可以上传文件、图片
- **[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 (+26)</kbd></summary>
<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 是一种即时推理速度的代表,在基于云的部署中展现了良好的性能。
@@ -168,28 +211,28 @@ LobeChat 支持文件上传与知识库功能,你可以上传文件、图片
- **[Qwen](https://lobechat.com/discover/provider/qwen)**: 通义千问是阿里云自主研发的超大规模语言模型,具有强大的自然语言理解和生成能力。它可以回答各种问题、创作文字内容、表达观点看法、撰写代码等,在多个领域发挥作用。
- **[Wenxin](https://lobechat.com/discover/provider/wenxin)**: 企业级一站式大模型与 AI 原生应用开发及服务平台,提供最全面易用的生成式人工智能模型开发、应用开发全流程工具链
- **[Hunyuan](https://lobechat.com/discover/provider/hunyuan)**: 由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力
- **[Spark](https://lobechat.com/discover/provider/spark)**: 科大讯飞星火大模型提供多领域、多语言的强大 AI 能力,利用先进的自然语言处理技术,构建适用于智能硬件、智慧医疗、智慧金融等多种垂直场景的创新应用。
- **[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 等应用。
- **[360 AI](https://lobechat.com/discover/provider/ai360)**: 360 AI 是 360 公司推出的 AI 模型和服务平台,提供多种先进的自然语言处理模型,包括 360GPT2 Pro、360GPT Pro、360GPT Turbo 和 360GPT Turbo Responsibility 8K。这些模型结合了大规模参数和多模态能力,广泛应用于文本生成、语义理解、对话系统与代码生成等领域。通过灵活的定价策略,360 AI 满足多样化用户需求,支持开发者集成,推动智能化应用的革新和发展。
- **[Taichu](https://lobechat.com/discover/provider/taichu)**: 中科院自动化研究所和武汉人工智能研究院推出新一代多模态大模型,支持多轮问答、文本创作、图像生成、3D 理解、信号分析等全面问答任务,拥有更强的认知、理解、创作能力,带来全新互动体验。
- **[InternLM](https://lobechat.com/discover/provider/internlm)**: 致力于大模型研究与开发工具链的开源组织。为所有 AI 开发者提供高效、易用的开源平台,让最前沿的大模型与算法技术触手可及
- **[SiliconCloud](https://lobechat.com/discover/provider/siliconcloud)**: SiliconCloud,基于优秀开源基础模型的高性价比 GenAI 云服务
- **[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>**36**</kbd>](https://lobechat.com/discover/providers)
> 📊 Total providers: [<kbd>**37**</kbd>](https://lobechat.com/discover/providers)
<!-- PROVIDER LIST -->
同时,我们也在计划支持更多的模型服务商,以进一步丰富我们的服务商库。如果你希望让 LobeChat 支持你喜爱的服务商,欢迎加入我们的 [💬 社区讨论](https://github.com/lobehub/lobe-chat/discussions/1284)。
同时,我们也在计划支持更多的模型服务商,以进一步丰富我们的服务商库。如果你希望让 LobeChat 支持你喜爱的服务商,欢迎加入我们的 [💬 社区讨论](https://github.com/lobehub/lobe-chat/discussions/6157)。
<div align="right">
@@ -199,7 +242,7 @@ LobeChat 支持文件上传与知识库功能,你可以上传文件、图片
[![][image-feat-local]][docs-feat-local]
### `3` [支持本地大语言模型 (LLM)][docs-feat-local]
### `6` [支持本地大语言模型 (LLM)][docs-feat-local]
为了满足特定用户的需求,LobeChat 还基于 [Ollama](https://ollama.ai) 支持了本地模型的使用,让用户能够更灵活地使用自己的或第三方的模型。
@@ -215,7 +258,7 @@ LobeChat 支持文件上传与知识库功能,你可以上传文件、图片
[![][image-feat-vision]][docs-feat-vision]
### `4` [模型视觉识别 (Model Visual)][docs-feat-vision]
### `7` [模型视觉识别 (Model Visual)][docs-feat-vision]
LobeChat 已经支持 OpenAI 最新的 [`gpt-4-vision`](https://platform.openai.com/docs/guides/vision) 支持视觉识别的模型,这是一个具备视觉识别能力的多模态应用。
用户可以轻松上传图片或者拖拽图片到对话框中,助手将能够识别图片内容,并在此基础上进行智能对话,构建更智能、更多元化的聊天场景。
@@ -230,7 +273,7 @@ LobeChat 已经支持 OpenAI 最新的 [`gpt-4-vision`](https://platform.openai.
[![][image-feat-tts]][docs-feat-tts]
### `5` [TTS & STT 语音会话][docs-feat-tts]
### `8` [TTS & STT 语音会话][docs-feat-tts]
LobeChat 支持文字转语音(Text-to-SpeechTTS)和语音转文字(Speech-to-Text,STT)技术,这使得我们的应用能够将文本信息转化为清晰的语音输出,用户可以像与真人交谈一样与我们的对话助手进行交流。
用户可以从多种声音中选择,给助手搭配合适的音源。 同时,对于那些倾向于听觉学习或者想要在忙碌中获取信息的用户来说,TTS 提供了一个极佳的解决方案。
@@ -245,7 +288,7 @@ LobeChat 支持文字转语音(Text-to-SpeechTTS)和语音转文字(Spe
[![][image-feat-t2i]][docs-feat-t2i]
### `6` [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 工具的能力, 助手们现在可以将你的想法转化为图像。
@@ -259,7 +302,7 @@ LobeChat 支持文字转语音(Text-to-SpeechTTS)和语音转文字(Spe
[![][image-feat-plugin]][docs-feat-plugin]
### `7` [插件系统 (Tools Calling)][docs-feat-plugin]
### `10` [插件系统 (Tools Calling)][docs-feat-plugin]
LobeChat 的插件生态系统是其核心功能的重要扩展,它极大地增强了 ChatGPT 的实用性和灵活性。
@@ -273,14 +316,14 @@ LobeChat 的插件生态系统是其核心功能的重要扩展,它极大地
<!-- PLUGIN LIST -->
| 最近新增 | 描述 |
| ---------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- |
| [MintbaseSearch](https://lobechat.com/discover/plugin/mintbasesearch)<br/><sup>By **mintbase** on **2024-12-31**</sup> | 在 NEAR 协议上查找任何 NFT 数据。<br/>`加密货币` `nft` |
| [PortfolioMeta](https://lobechat.com/discover/plugin/StockData)<br/><sup>By **portfoliometa** on **2024-12-22**</sup> | 分析股票并获取全面的实时投资数据和分析。<br/>`股票` |
| [谷歌自定义搜索引擎](https://lobechat.com/discover/plugin/google-cse)<br/><sup>By **vsnthdev** on **2024-12-02**</sup> | 通过他们的官方自定义搜索引擎 API 搜索谷歌。<br/>`网络` `搜索` |
| [Speak](https://lobechat.com/discover/plugin/speak)<br/><sup>By **speak** on **2024-12-02**</sup> | 使用 Speak,您的 AI 语言导师,学习如何用另一种语言说任何事情。<br/>`教育` `语言` |
| 最近新增 | 描述 |
| -------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- |
| [网页](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>**48**</kbd>](https://lobechat.com/discover/plugins)
> 📊 Total plugins: [<kbd>**47**</kbd>](https://lobechat.com/discover/plugins)
<!-- PLUGIN LIST -->
@@ -292,7 +335,7 @@ LobeChat 的插件生态系统是其核心功能的重要扩展,它极大地
[![][image-feat-agent]][docs-feat-agent]
### `8` [助手市场 (GPTs)][docs-feat-agent]
### `11` [助手市场 (GPTs)][docs-feat-agent]
在 LobeChat 的助手市场中,创作者们可以发现一个充满活力和创新的社区,它汇聚了众多精心设计的助手,这些助手不仅在工作场景中发挥着重要作用,也在学习过程中提供了极大的便利。
我们的市场不仅是一个展示平台,更是一个协作的空间。在这里,每个人都可以贡献自己的智慧,分享个人开发的助手。
@@ -308,14 +351,14 @@ LobeChat 的插件生态系统是其核心功能的重要扩展,它极大地
<!-- AGENT LIST -->
| 最近新增 | 描述 |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- |
| [系统指令专家](https://lobechat.com/discover/assistant/instructer)<br/><sup>By **[yuyun2000](https://github.com/yuyun2000)** on **2024-12-04**</sup> | 擅长精炼与生成高效系统指令<br/>`系统指令` `写作` `细节优化` `用户需求` |
| [日语帮助记忆师](https://lobechat.com/discover/assistant/japan-language-helper)<br/><sup>By **[sharkbear212](https://github.com/sharkbear212)** on **2024-12-04**</sup> | 擅长日语五十音,平假名,片假名,单词和短语解释与记忆技巧<br/>`解释` `记忆技巧` `日语教学` |
| [诗词卡片设计](https://lobechat.com/discover/assistant/poetry-card-designer)<br/><sup>By **[lianxin255](https://github.com/lianxin255)** on **2024-12-03**</sup> | 擅长设计诗词卡片,提升艺术感与吸引力<br/>`诗词卡片设计` `卡片` `创意` `艺术表现` |
| [日常医生](https://lobechat.com/discover/assistant/yunchat-docter)<br/><sup>By **[yuyun2000](https://github.com/yuyun2000)** on **2024-11-30**</sup> | 擅长外科诊疗与个性化健康管理<br/>`全科医学` `外科` `健康咨询` `个性化治疗` `医学教育` |
| 最近新增 | 描述 |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
| [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>**453**</kbd> ](https://lobechat.com/discover/assistants)
> 📊 Total agents: [<kbd>**487**</kbd> ](https://lobechat.com/discover/assistants)
<!-- AGENT LIST -->
@@ -327,7 +370,7 @@ LobeChat 的插件生态系统是其核心功能的重要扩展,它极大地
[![][image-feat-database]][docs-feat-database]
### `9` [支持本地 / 远程数据库][docs-feat-database]
### `12` [支持本地 / 远程数据库][docs-feat-database]
LobeChat 支持同时使用服务端数据库和本地数据库。根据您的需求,您可以选择合适的部署方案:
@@ -344,7 +387,7 @@ LobeChat 支持同时使用服务端数据库和本地数据库。根据您的
[![][image-feat-auth]][docs-feat-auth]
### `10` [支持多用户管理][docs-feat-auth]
### `13` [支持多用户管理][docs-feat-auth]
LobeChat 支持多用户管理,提供了两种主要的用户认证和管理方案,以满足不同需求:
@@ -362,7 +405,7 @@ LobeChat 支持多用户管理,提供了两种主要的用户认证和管理
[![][image-feat-pwa]][docs-feat-pwa]
### `11` [渐进式 Web 应用 (PWA)][docs-feat-pwa]
### `14` [渐进式 Web 应用 (PWA)][docs-feat-pwa]
我们深知在当今多设备环境下为用户提供无缝体验的重要性。为此,我们采用了渐进式 Web 应用 [PWA](https://support.google.com/chrome/answer/9658361) 技术,
这是一种能够将网页应用提升至接近原生应用体验的现代 Web 技术。通过 PWA,LobeChat 能够在桌面和移动设备上提供高度优化的用户体验,同时保持轻量级和高性能的特点。
@@ -385,7 +428,7 @@ LobeChat 支持多用户管理,提供了两种主要的用户认证和管理
[![][image-feat-mobile]][docs-feat-mobile]
### `12` [移动设备适配][docs-feat-mobile]
### `15` [移动设备适配][docs-feat-mobile]
针对移动设备进行了一系列的优化设计,以提升用户的移动体验。目前,我们正在对移动端的用户体验进行版本迭代,以实现更加流畅和直观的交互。如果您有任何建议或想法,我们非常欢迎您通过 GitHub Issues 或者 Pull Requests 提供反馈。
@@ -397,7 +440,7 @@ LobeChat 支持多用户管理,提供了两种主要的用户认证和管理
[![][image-feat-theme]][docs-feat-theme]
### `13` [自定义主题][docs-feat-theme]
### `16` [自定义主题][docs-feat-theme]
作为设计工程师出身,LobeChat 在界面设计上充分考虑用户的个性化体验,因此引入了灵活多变的主题模式,其中包括日间的亮色模式和夜间的深色模式。
除了主题模式的切换,还提供了一系列的颜色定制选项,允许用户根据自己的喜好来调整应用的主题色彩。无论是想要沉稳的深蓝,还是希望活泼的桃粉,或者是专业的灰白,用户都能够在 LobeChat 中找到匹配自己风格的颜色选择。
@@ -412,7 +455,7 @@ LobeChat 支持多用户管理,提供了两种主要的用户认证和管理
</div>
### 更多特性
### `*` 更多特性
除了上述功能特性以外,LobeChat 所具有的设计和技术能力将为你带来更多使用保障:
@@ -498,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]
@@ -750,9 +790,9 @@ This project is [Apache 2.0](./LICENSE) licensed.
[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
@@ -765,24 +805,27 @@ This project is [Apache 2.0](./LICENSE) licensed.
[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
@@ -826,22 +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-knowledgebase]: https://github.com/user-attachments/assets/77e58e1c-c82f-4341-b159-f4eeede9967f
[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
+1424
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
+9 -3
View File
@@ -16,20 +16,26 @@
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=YOUR_MINIO_USER
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
S3_ACCESS_KEY_ID=soaucnP8Bip0TDdUjxng
S3_SECRET_ACCESS_KEY=ZPUzvY34umfcfxvWKSv0P00vczVMB6YmgJS5J9eO
# Configure for casdoor
origin=http://localhost:8000
+8 -3
View File
@@ -16,21 +16,26 @@
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=YOUR_MINIO_USER
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
S3_ACCESS_KEY_ID=soaucnP8Bip0TDdUjxng
S3_SECRET_ACCESS_KEY=ZPUzvY34umfcfxvWKSv0P00vczVMB6YmgJS5J9eO
# 为 casdoor 配置
origin=http://localhost:8000
+80 -13
View File
@@ -3,6 +3,7 @@ services:
network-service:
image: alpine
container_name: lobe-network
restart: always
ports:
- '${MINIO_PORT}:${MINIO_PORT}' # MinIO API
- '9001:9001' # MinIO Console
@@ -13,7 +14,7 @@ services:
- lobe-network
postgresql:
image: pgvector/pgvector:pg16
image: pgvector/pgvector:pg17
container_name: lobe-postgres
ports:
- '5432:5432'
@@ -38,13 +39,24 @@ services:
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}'
- 'MINIO_API_CORS_ALLOW_ORIGIN=*'
env_file:
- .env
restart: always
command: >
server /etc/minio/data --address ":${MINIO_PORT}" --console-address ":9001"
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
@@ -55,13 +67,28 @@ services:
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'
origin: 'http://localhost:${CASDOOR_PORT}'
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
@@ -78,21 +105,61 @@ services:
condition: service_started
environment:
- 'APP_URL=http://localhost:3210'
- 'NEXT_AUTH_SSO_PROVIDERS=casdoor'
- 'KEY_VAULTS_SECRET=Kix2wcUONd4CX51E/ZPAd36BqM4wzJgKjPtz2sGztqQ='
- 'NEXT_AUTH_SECRET=NX2kaPE923dt6BL2U8e9oSre5RfoT7hg'
- 'AUTH_URL=http://localhost:${LOBE_PORT}/api/auth'
- 'AUTH_CASDOOR_ISSUER=http://localhost:${CASDOOR_PORT}'
- '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'
- '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:
+473 -12
View File
@@ -32,13 +32,13 @@
"applications": [
{
"owner": "admin",
"name": "app-built-in",
"name": "lobechat",
"createdTime": "2024-09-09T09:26:06Z",
"displayName": "LobeChat",
"logo": "https://lobehub.com/icon-192x192.png",
"homepageUrl": "https://lobehub.com",
"description": "LobeChat",
"organization": "built-in",
"organization": "lobechat",
"cert": "cert-built-in",
"headerHtml": "",
"enablePassword": true,
@@ -230,7 +230,9 @@
"isCustom": false
}
],
"grantTypes": ["authorization_code"],
"grantTypes": [
"authorization_code"
],
"organizationObj": null,
"certPublicKey": "",
"tags": [],
@@ -238,7 +240,12 @@
"isShared": false,
"clientId": "a387a4892ee19b1a2249",
"clientSecret": "dbf205949d704de81b0b5b3603174e23fbecc354",
"redirectUris": ["http://localhost:3210/api/auth/callback/casdoor"],
"redirectUris": [
"http://localhost:3210/api/auth/callback/casdoor",
"https://localhost:3210/api/auth/callback/casdoor",
"http://example.com/api/auth/callback/casdoor",
"https://example.com/api/auth/callback/casdoor"
],
"tokenFormat": "JWT",
"tokenSigningMethod": "",
"tokenFields": [],
@@ -352,12 +359,306 @@
"favicon": "https://cdn.casbin.org/img/casbin/favicon.ico",
"passwordType": "plain",
"passwordSalt": "",
"passwordOptions": ["AtLeast6"],
"countryCodes": ["US", "ES", "FR", "DE", "GB", "CN", "JP", "KR", "VN", "ID", "SG", "IN"],
"passwordOptions": [
"AtLeast6"
],
"countryCodes": [
"US",
"ES",
"FR",
"DE",
"GB",
"CN",
"JP",
"KR",
"VN",
"ID",
"SG",
"IN"
],
"defaultAvatar": "https://cdn.casbin.org/img/casbin.svg",
"defaultApplication": "",
"tags": [],
"languages": ["en", "zh", "es", "fr", "de", "id", "ja", "ko", "ru", "vi", "pt"],
"languages": [
"en",
"zh",
"es",
"fr",
"de",
"id",
"ja",
"ko",
"ru",
"vi",
"pt"
],
"themeData": null,
"masterPassword": "",
"defaultPassword": "",
"masterVerificationCode": "",
"initScore": 2000,
"enableSoftDeletion": false,
"isProfilePublic": false,
"useEmailAsUsername": false,
"enableTour": true,
"mfaItems": null,
"accountItems": [
{
"name": "Organization",
"visible": true,
"viewRule": "Public",
"modifyRule": "Admin",
"regex": ""
},
{
"name": "ID",
"visible": true,
"viewRule": "Public",
"modifyRule": "Immutable",
"regex": ""
},
{
"name": "Name",
"visible": true,
"viewRule": "Public",
"modifyRule": "Admin",
"regex": ""
},
{
"name": "Display name",
"visible": true,
"viewRule": "Public",
"modifyRule": "Self",
"regex": ""
},
{
"name": "Avatar",
"visible": true,
"viewRule": "Public",
"modifyRule": "Self",
"regex": ""
},
{
"name": "User type",
"visible": true,
"viewRule": "Public",
"modifyRule": "Admin",
"regex": ""
},
{
"name": "Password",
"visible": true,
"viewRule": "Self",
"modifyRule": "Self",
"regex": ""
},
{
"name": "Email",
"visible": true,
"viewRule": "Public",
"modifyRule": "Self",
"regex": ""
},
{
"name": "Phone",
"visible": true,
"viewRule": "Public",
"modifyRule": "Self",
"regex": ""
},
{
"name": "Country code",
"visible": true,
"viewRule": "Public",
"modifyRule": "Admin",
"regex": ""
},
{
"name": "Country/Region",
"visible": true,
"viewRule": "Public",
"modifyRule": "Self",
"regex": ""
},
{
"name": "Location",
"visible": true,
"viewRule": "Public",
"modifyRule": "Self",
"regex": ""
},
{
"name": "Affiliation",
"visible": true,
"viewRule": "Public",
"modifyRule": "Self",
"regex": ""
},
{
"name": "Title",
"visible": true,
"viewRule": "Public",
"modifyRule": "Self",
"regex": ""
},
{
"name": "Homepage",
"visible": true,
"viewRule": "Public",
"modifyRule": "Self",
"regex": ""
},
{
"name": "Bio",
"visible": true,
"viewRule": "Public",
"modifyRule": "Self",
"regex": ""
},
{
"name": "Tag",
"visible": true,
"viewRule": "Public",
"modifyRule": "Admin",
"regex": ""
},
{
"name": "Signup application",
"visible": true,
"viewRule": "Public",
"modifyRule": "Admin",
"regex": ""
},
{
"name": "Roles",
"visible": true,
"viewRule": "Public",
"modifyRule": "Immutable",
"regex": ""
},
{
"name": "Permissions",
"visible": true,
"viewRule": "Public",
"modifyRule": "Immutable",
"regex": ""
},
{
"name": "Groups",
"visible": true,
"viewRule": "Public",
"modifyRule": "Admin",
"regex": ""
},
{
"name": "3rd-party logins",
"visible": true,
"viewRule": "Self",
"modifyRule": "Self",
"regex": ""
},
{
"name": "Properties",
"visible": true,
"viewRule": "Admin",
"modifyRule": "Admin",
"regex": ""
},
{
"name": "Is admin",
"visible": true,
"viewRule": "Admin",
"modifyRule": "Admin",
"regex": ""
},
{
"name": "Is forbidden",
"visible": true,
"viewRule": "Admin",
"modifyRule": "Admin",
"regex": ""
},
{
"name": "Is deleted",
"visible": true,
"viewRule": "Admin",
"modifyRule": "Admin",
"regex": ""
},
{
"name": "Multi-factor authentication",
"visible": true,
"viewRule": "Self",
"modifyRule": "Self",
"regex": ""
},
{
"name": "WebAuthn credentials",
"visible": true,
"viewRule": "Self",
"modifyRule": "Self",
"regex": ""
},
{
"name": "Managed accounts",
"visible": true,
"viewRule": "Self",
"modifyRule": "Self",
"regex": ""
},
{
"name": "MFA accounts",
"visible": true,
"viewRule": "Self",
"modifyRule": "Self",
"regex": ""
}
]
},
{
"owner": "admin",
"name": "lobechat",
"createdTime": "2024-09-09T09:26:04Z",
"displayName": "LobeChat Organization",
"websiteUrl": "https://lobehub.com",
"logo": "https://lobehub.com/icon-192x192.png",
"logoDark": "",
"favicon": "https://lobehub.com/favicon.ico",
"passwordType": "plain",
"passwordSalt": "",
"passwordOptions": [
"AtLeast6"
],
"countryCodes": [
"US",
"ES",
"FR",
"DE",
"GB",
"CN",
"JP",
"KR",
"VN",
"ID",
"SG",
"IN"
],
"defaultAvatar": "https://cdn.casbin.org/img/casbin.svg",
"defaultApplication": "",
"tags": [],
"languages": [
"en",
"zh",
"es",
"fr",
"de",
"id",
"ja",
"ko",
"ru",
"vi",
"pt"
],
"themeData": null,
"masterPassword": "",
"defaultPassword": "",
@@ -590,15 +891,23 @@
"createdTime": "2024-09-09T09:26:04Z",
"displayName": "Built-in Permission",
"description": "Built-in Permission",
"users": ["built-in/*"],
"users": [
"built-in/*"
],
"groups": [],
"roles": [],
"domains": [],
"model": "user-model-built-in",
"adapter": "",
"resourceType": "Application",
"resources": ["app-built-in"],
"actions": ["Read", "Write", "Admin"],
"resources": [
"app-built-in"
],
"actions": [
"Read",
"Write",
"Admin"
],
"effect": "Allow",
"isEnabled": true,
"submitter": "admin",
@@ -640,7 +949,7 @@
"permanentAvatar": "",
"email": "admin@example.com",
"emailVerified": false,
"phone": "12345678910",
"phone": "13245678910",
"countryCode": "US",
"region": "",
"location": "",
@@ -771,7 +1080,159 @@
"managedAccounts": null,
"mfaAccounts": null,
"needUpdatePassword": false
},
{
"owner": "lobechat",
"name": "user",
"createdTime": "2024-09-09T09:26:05Z",
"updatedTime": "",
"deletedTime": "",
"id": "b5a7c5b5-3e79-47ff-85a8-537b07fee2f9",
"externalId": "",
"type": "normal-user",
"password": "123",
"passwordSalt": "",
"passwordType": "plain",
"displayName": "User",
"firstName": "",
"lastName": "",
"avatar": "https://cdn.casbin.org/img/casbin.svg",
"avatarType": "",
"permanentAvatar": "",
"email": "user@example.com",
"emailVerified": false,
"phone": "13245678910",
"countryCode": "US",
"region": "",
"location": "",
"address": [],
"affiliation": "Example Inc.",
"title": "",
"idCardType": "",
"idCard": "",
"homepage": "",
"bio": "",
"tag": "staff",
"language": "",
"gender": "",
"birthday": "",
"education": "",
"score": 2000,
"karma": 0,
"ranking": 1,
"balance": 0,
"currency": "",
"isDefaultAvatar": false,
"isOnline": false,
"isAdmin": false,
"isForbidden": false,
"isDeleted": false,
"signupApplication": "lobechat",
"hash": "",
"preHash": "",
"accessKey": "",
"accessSecret": "",
"accessToken": "",
"createdIp": "127.0.0.1",
"lastSigninTime": "",
"lastSigninIp": "",
"github": "",
"google": "",
"qq": "",
"wechat": "",
"facebook": "",
"dingtalk": "",
"weibo": "",
"gitee": "",
"linkedin": "",
"wecom": "",
"lark": "",
"gitlab": "",
"adfs": "",
"baidu": "",
"alipay": "",
"casdoor": "",
"infoflow": "",
"apple": "",
"azuread": "",
"azureadb2c": "",
"slack": "",
"steam": "",
"bilibili": "",
"okta": "",
"douyin": "",
"line": "",
"amazon": "",
"auth0": "",
"battlenet": "",
"bitbucket": "",
"box": "",
"cloudfoundry": "",
"dailymotion": "",
"deezer": "",
"digitalocean": "",
"discord": "",
"dropbox": "",
"eveonline": "",
"fitbit": "",
"gitea": "",
"heroku": "",
"influxcloud": "",
"instagram": "",
"intercom": "",
"kakao": "",
"lastfm": "",
"mailru": "",
"meetup": "",
"microsoftonline": "",
"naver": "",
"nextcloud": "",
"onedrive": "",
"oura": "",
"patreon": "",
"paypal": "",
"salesforce": "",
"shopify": "",
"soundcloud": "",
"spotify": "",
"strava": "",
"stripe": "",
"tiktok": "",
"tumblr": "",
"twitch": "",
"twitter": "",
"typetalk": "",
"uber": "",
"vk": "",
"wepay": "",
"xero": "",
"yahoo": "",
"yammer": "",
"yandex": "",
"zoom": "",
"metamask": "",
"web3onboard": "",
"custom": "",
"webauthnCredentials": null,
"preferredMfaType": "",
"recoveryCodes": null,
"totpSecret": "",
"mfaPhoneEnabled": false,
"mfaEmailEnabled": false,
"invitation": "",
"invitationCode": "",
"faceIds": null,
"ldap": "",
"properties": {},
"roles": null,
"permissions": null,
"groups": null,
"lastSigninWrongTime": "",
"signinWrongTimes": 0,
"managedAccounts": null,
"mfaAccounts": null,
"needUpdatePassword": false
}
],
"webhooks": []
}
}
Binary file not shown.
File diff suppressed because it is too large Load Diff
-365
View File
@@ -1,365 +0,0 @@
#!/bin/bash
# ==================
# == Env settings ==
# ==================
# ======================
# == Process the args ==
# ======================
# 1. Default values of arguments
# Arg: -f
# Determine force download asserts, default is not
FORCE_DOWNLOAD=false
# Arg: -l or --lang
# Determine the language to show, default is en
LANGUAGE="en_US"
# 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 "fl:-:" opt; do
case $opt in
f)
FORCE_DOWNLOAD=true
;;
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 [-f] [-l language|--lang language] [--url source] [--host serverhost]" >&2
exit 1
;;
esac
;;
*)
echo "Usage: $0 [-f] [-l language|--lang language] [--url source]" >&2
exit 1
;;
esac
done
# ===============
# == Variables ==
# ===============
# File list
SUB_DIR="docker-compose/local"
FILES=(
"$SUB_DIR/docker-compose.yml"
"$SUB_DIR/.env.example"
"$SUB_DIR/init_data.json"
"$SUB_DIR/s3_data.tar.gz"
)
# 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
downloading)
case $LANGUAGE in
zh_CN)
echo "正在下载文件..."
;;
*)
echo "Downloading files..."
;;
esac
;;
downloaded)
case $LANGUAGE in
zh_CN)
echo " 已经存在,跳过下载。"
;;
*)
echo " already exists, skipping download."
;;
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
;;
security_secrect_regenerate_report)
case $LANGUAGE in
zh_CN)
echo "安全密钥生成结果如下:"
;;
*)
echo "Security secret generation results are as follows:"
;;
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_warning)
case $LANGUAGE in
zh_CN)
echo "警告:如果你正在生产环境中使用,请在日志中检查密钥是否已经生成!!!"
;;
*)
echo "Warning: If you are using it in a production environment, please check if the keys have been generated in the logs!!!"
;;
esac
;;
esac
}
# Function to download files
download_file() {
local file_url="$1"
local local_file="$2"
if [ "$FORCE_DOWNLOAD" = false ] && [ -e "$local_file" ]; then
echo "$local_file" $(show_message "downloaded")
return 0
fi
wget -q --show-progress "$file_url" -O "$local_file"
}
extract_file() {
local file_name=$1
local target_dir=$2
if [ -e "$file_name" ]; then
tar -zxvf "$file_name" -C "$target_dir" > /dev/null 2>&1
if [ $? -eq 0 ]; then
echo "$file_name" $(show_message "extracted_success") "$target_dir"
else
echo "$file_name" $(show_message "extracted_failed")
exit 1
fi
else
echo "$file_name" $(show_message "file_not_exists")
exit 1
fi
}
# 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"
)
print_centered() {
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"
}
# Download files asynchronously
download_file "$SOURCE_URL/${FILES[0]}" "docker-compose.yml"
download_file "$SOURCE_URL/${FILES[1]}" ".env"
download_file "$SOURCE_URL/${FILES[2]}" "init_data.json"
download_file "$SOURCE_URL/${FILES[3]}" "s3_data.tar.gz"
# Extract .tar.gz file without output
extract_file "s3_data.tar.gz" "."
rm s3_data.tar.gz
# ==========================
# === Regenerate Secrets ===
# ==========================
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)
}
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 -i "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 -i "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 6)
if [ $? -ne 0 ]; then
echo $(show_message "security_secrect_regenerate_failed") "CASDOOR_PASSWORD"
else
# replace `password` in init_data.json
sed -i "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 access key
# Temporarily disable key gen for minio because
# minio can not start with a access key in envs
#S3_SECRET_ACCESS_KEY=$(generate_key 32)
#if [ $? -ne 0 ]; then
# echo $(show_message "security_secrect_regenerate_failed") "S3_SECRET_ACCESS_KEY"
#else
# # Search and replace the value of S3_SECRET_ACCESS_KEY in .env
# sed -i "s#^S3_SECRET_ACCESS_KEY=.*#S3_SECRET_ACCESS_KEY=${S3_SECRET_ACCESS_KEY}#" .env
# if [ $? -ne 0 ]; then
# echo $(show_message "security_secrect_regenerate_failed") "S3_SECRET_ACCESS_KEY in \`.env\`"
# fi
#fi
# Modify the .env file if the host is specified
if [ -n "$HOST" ]; then
# Modify env
sed -i "s/localhost/$HOST/g" .env
if [ $? -ne 0 ]; then
echo $(show_message "security_secrect_regenerate_failed") "HOST in \`.env\`"
fi
# Modify casdoor init data
sed -i "s/localhost/$HOST/g" init_data.json
if [ $? -ne 0 ]; then
echo $(show_message "security_secrect_regenerate_failed") "HOST in \`init_data.json\`"
fi
fi
# Display configuration reports
echo $(show_message "security_secrect_regenerate_report")
if [ -n "$HOST" ]; then
echo -e "Server Host: $HOST"
fi
echo -e "Casdoor: \n - Username: admin\n - Password: ${CASDOOR_PASSWORD}\n - Client Secret: ${CASDOOR_SECRET}"
# ===========================
# == Display final message ==
# ===========================
printf "\n%s\n\n" "$(show_message "tips_run_command")"
print_centered "docker compose up -d" "green"
printf "\n%s" "$(show_message "tips_show_documentation")"
printf "%s\n" $(show_message "tips_show_documentation_url")
printf "\n\e[33m%s\e[0m\n" "$(show_message "tips_warning")"
+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
@@ -23,4 +23,4 @@ We're excited to announce that LobeChat has expanded its AI model support with t
## Need More Model Providers?
Feel free to submit your requests at [More Model Provider Support](https://github.com/lobehub/lobe-chat/discussions/1284).
Feel free to submit your requests at [More Model Provider Support](https://github.com/lobehub/lobe-chat/discussions/6157).
@@ -21,4 +21,4 @@ tags:
## 需要更多模型服务?
欢迎在 [更多模型服务商支持](https://github.com/lobehub/lobe-chat/discussions/1284) 提交您的需求。
欢迎在 [更多模型服务商支持](https://github.com/lobehub/lobe-chat/discussions/6157) 提交您的需求。
@@ -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!
+29 -17
View File
@@ -2,107 +2,119 @@
"$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.43.0", "1.43.1"]
"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.34.0", "1.33.1"]
"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.33.0", "1.30.1"]
"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.28.0", "1.26.1"]
"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.26.0", "1.19.1"]
"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.19.0", "1.17.1"]
"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.17.0", "1.12.1"]
"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.12.0", "1.8.1"]
"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.8.0", "1.6.1"]
"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.6.0", "1.0.1"]
"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": ["1.0.0", "0.147.0"]
"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.127.0", "0.125.1"]
"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.125.0", "0.118.1"]
"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.118.0", "0.102.1"]
"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.102.0", "0.101.1"]
"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.101.0", "0.90.0"]
"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.72.0", "0.67.0"]
"versionRange": ["0.67.0", "0.72.0"]
}
]
}
+6 -5
View File
@@ -27,11 +27,12 @@ By setting the environment variables `NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY` and `CL
Before using NextAuth, please set the following variables in LobeChat's environment variables:
| Environment Variable | Type | Description |
| ------------------------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `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`. |
| 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:
+6 -5
View File
@@ -24,11 +24,12 @@ LobeChat 与 Clerk 做了深度集成,能够为用户提供一个更加安全
在使用 NextAuth 之前,请先在 LobeChat 的环境变量中设置以下变量:
| 环境变量 | 类型 | 描述 |
| ------------------------- | -- | ------------------------------------------------------------------------------------------------------------ |
| `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`。 |
| 环境变量 | 类型 | 描述 |
| ------------------------------ | -- | ------------------------------------------------------------------------------------------------------------ |
| `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`。 |
目前支持的身份验证服务有:
@@ -27,6 +27,7 @@ Go to [Clerk](https://clerk.com?utm_source=lobehub\&utm_medium=docs) to register
```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
@@ -89,11 +89,40 @@ If you are deploying using a public network, the following assumptions apply:
}
}
</style>
```
Then, copy the `Client ID` and `Client Secret` and save them.
### Disable User Registration
Go to `Identity` -> `Applications`, select the `LobeChat` application, and set `Allow Register` to `false`.
<Callout type={'warning'}>
Disabling user registration is necessary to prevent users from registering through the Casdoor login page.
</Callout>
### Configure Webhook (Optional)
> Available on Casdoor `>=1.843.0`.
Configure the Casdoor webhook so that LobeChat can receive notifications when user information is updated.
Go to `Admin` -> `Webhooks`, add a webhook, and fill in the following fields:
- URL: `https://lobe.example.com/api/webhooks/casdoor`
- Method: `POST`
- Content Type: `application/json`
- Headers: `casdoor-secret`: `Your Webhook Secret`
> The secret is generated by yourself, you can visit [https://generate-secret.vercel.app/10](https://generate-secret.vercel.app/10) to generate a 10 bit secret.
- Event: `update-user`
Save and Exit, then copy the Webhook secret and fill it in the environment variable \`CASDOOR\_WEBHOOK\_SECRET.
### Configure Environment Variables
Set the obtained `Client ID` and `Client Secret` as `AUTH_CASDOOR_ID` and `AUTH_CASDOOR_SECRET` in the LobeChat environment variables.
@@ -114,6 +143,7 @@ If you are deploying using a public network, the following assumptions apply:
| `AUTH_CASDOOR_SECRET` | Required | The client secret from the Casdoor application details page. |
| `AUTH_CASDOOR_ISSUER` | Required | The OpenID Connect issuer for the Casdoor provider. |
| `NEXTAUTH_URL` | Required | This URL specifies the callback address for Auth.js during OAuth verification and needs to be set only if the default generated redirect address is incorrect. `https://lobe.example.com/api/auth` |
| `CASDOOR_WEBHOOK_SECRET` | Optional | A key used to verify whether the request sent by Casdoor is legal. |
<Callout type={'tip'}>
Visit [📘 Environment Variables](/docs/self-hosting/environment-variables/auth#casdoor) for
@@ -86,11 +86,42 @@ tags:
}
}
</style>
```
随后,复制 `客户端 ID` 和 `客户端密钥`,并保存。
### 配置 Webhook (可选)
> 在 Casdoor `>=1.843.0` 上可用。
配置 Casdoor 的 Webhook 以便在用户信息更新时同步到 LobeChat 。
前往 `管理工具` -> `Webhooks`,创建一个 Webhook,添加一个 Webhook,填写以下字段:
- 链接:`http://lobe.example.com/api/webhooks/casdoor`
- 方法:`POST`
- 内容类型:`application/json`
- 协议头:`casdoor-secret`: `你的Webhook密钥`
> 密钥由你自己生成,用于验证 Casdoor 发送的请求是否合法。 可以前往 [https://generate-secret.vercel.app/10](https://generate-secret.vercel.app/10) 生成一个 10 位的密钥。
- 事件:`update-user`
保存,并退出。 将该密钥填写到环境变量中的 `CASDOOR_WEBHOOK_SECRET`。
### 关闭注册
为了保证你的应用安全,建议关闭 Casdoor 的注册功能,改为由管理员手动添加用户。
前往 `身份认证` -> `应用`,将 `启用注册` 设置为 `否`。
<Callout type={'warning'}>
Casdoor 的注册功能默认是开启的,若你不关闭注册功能,任何人都可以注册并登录你的应用。
</Callout>
### 配置环境变量
将获取到的 `客户端 ID` 和 `客户端`,设为 LobeChat 环境变量中的 `AUTH_CASDOOR_ID` 和 `AUTH_CASDOOR_SECRET`。
@@ -111,6 +142,7 @@ tags:
| `AUTH_CASDOOR_SECRET` | 必选 | Casdoor 应用详情页的客户端密钥 |
| `AUTH_CASDOOR_ISSUER` | 必选 | Casdoor 提供程序的 OpenID Connect 颁发者。 |
| `NEXTAUTH_URL` | 必选 | 该 URL 用于指定 Auth.js 在执行 OAuth 验证时的回调地址,当默认生成的重定向地址发生不正确时才需要设置。`https://lobe.example.com/api/auth` |
| `CASDOOR_WEBHOOK_SECRET` | 可选 | 用于验证 Casdoor 发送的 Webhook 请求是否合法的密钥。 |
<Callout type={'tip'}>
前往 [📘 环境变量](/zh/docs/self-hosting/environment-variables/auth#casdoor) 可查阅相关变量详情。
@@ -43,6 +43,17 @@ If you are using Logto Cloud, assume its endpoint domain is `https://example.log
After successful creation, save the `Client ID` and `Client Secret`.
### Configure Webhook (Optional)
Configure the Logto Webhook so that LobeChat can receive notifications when user information is updated.
Go to `Webhooks`, create a Webhook, and fill in the following fields:
- Endpoint URL: `https://lobe.example.com/api/webhooks/logto`
- Events: `User.Data.Updated`
After successful creation, copy the Webhook's `Signing Key` and fill it in the `LOGTO_WEBHOOK_SIGNING_KEY` environment variable.
### Configure Environment Variables
<Image alt="Configure Environment Variables" inStep src="https://github.com/user-attachments/assets/15af6d94-af4f-4aa9-bbab-7a46e9f9e837" />
@@ -56,14 +67,15 @@ If you are using Logto Cloud, assume its endpoint domain is `https://example.log
When deploying LobeChat, you need to configure the following environment variables:
| Environment Variable | Type | Description |
| ------------------------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `NEXT_AUTH_SECRET` | Required | The key used to encrypt Auth.js session tokens. You can generate a key using the command: `openssl rand -base64 32` |
| `NEXT_AUTH_SSO_PROVIDERS` | Required | Select the single sign-on provider for LobeChat. For Logto, enter `logto`. |
| `AUTH_LOGTO_ID` | Required | The Client ID from the Logto App details page |
| `AUTH_LOGTO_SECRET` | Required | The Client Secret from the Logto App details page |
| `AUTH_LOGTO_ISSUER` | Required | OpenID Connect issuer of the Logto provider |
| `NEXTAUTH_URL` | Required | This URL specifies the callback address for Auth.js during OAuth verification, needed only if the default generated redirect address is incorrect. `https://lobe.example.com/api/auth` |
| Environment Variable | Type | Description |
| --------------------------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `NEXT_AUTH_SECRET` | Required | The key used to encrypt Auth.js session tokens. You can generate a key using the command: `openssl rand -base64 32` |
| `NEXT_AUTH_SSO_PROVIDERS` | Required | Select the single sign-on provider for LobeChat. For Logto, enter `logto`. |
| `AUTH_LOGTO_ID` | Required | The Client ID from the Logto App details page |
| `AUTH_LOGTO_SECRET` | Required | The Client Secret from the Logto App details page |
| `AUTH_LOGTO_ISSUER` | Required | OpenID Connect issuer of the Logto provider |
| `NEXTAUTH_URL` | Required | This URL specifies the callback address for Auth.js during OAuth verification, needed only if the default generated redirect address is incorrect. `https://lobe.example.com/api/auth` |
| `LOGTO_WEBHOOK_SIGNING_KEY` | Optional | The key used to verify the legality of Webhook requests sent by Logto. |
<Callout type={'tip'}>
Visit [📘 Environment Variables](/docs/self-hosting/environment-variables/auth#logto) for details on related variables.
@@ -40,6 +40,17 @@ tags:
创建成功后, 将 `Client ID` 和 `Client Secret` 保存下来。
### 配置 Webhook (可选)
配置 Logto 的 Webhook,以便在用户信息更新时 LobeChat 可以接收到通知。
前往 `Webhooks` ,创建一个 Webhook,填写以下字段:
- 端点 URL `https://lobe.example.com/api/webhooks/logto`
- 事件: `User.Data.Updated`
创建成功后,复制 Webhook 的 `签名密钥`。填写到环境变量中的 `LOGTO_WEBHOOK_SIGNING_KEY`。
### 配置环境变量
<Image alt="配置环境变量" inStep src="https://github.com/user-attachments/assets/15af6d94-af4f-4aa9-bbab-7a46e9f9e837" />
@@ -53,14 +64,15 @@ tags:
在部署 LobeChat 时,你需要配置以下环境变量:
| 环境变量 | 类型 | 描述 |
| ------------------------- | -- | ------------------------------------------------------------------------------------------------ |
| `NEXT_AUTH_SECRET` | 必选 | 用于加密 Auth.js 会话令牌的密钥。您可以使用以下命令生成秘钥: `openssl rand -base64 32` |
| `NEXT_AUTH_SSO_PROVIDERS` | 必选 | 选择 LoboChat 的单点登录提供商。使用 Logto 请填写 `logto`。 |
| `AUTH_LOGTO_ID` | 必选 | Logto App 详情页的 Client ID |
| `AUTH_LOGTO_SECRET` | 必选 | Logto App 详情页的 Client Secret |
| `AUTH_LOGTO_ISSUER` | 必选 | Logto 提供程序的 OpenID Connect 颁发者 |
| `NEXTAUTH_URL` | 必选 | 该 URL 用于指定 Auth.js 在执行 OAuth 验证时的回调地址,当默认生成的重定向地址发生不正确时才需要设置。`https://lobe.example.com/api/auth` |
| 环境变量 | 类型 | 描述 |
| --------------------------- | -- | ------------------------------------------------------------------------------------------------ |
| `NEXT_AUTH_SECRET` | 必选 | 用于加密 Auth.js 会话令牌的密钥。您可以使用以下命令生成秘钥: `openssl rand -base64 32` |
| `NEXT_AUTH_SSO_PROVIDERS` | 必选 | 选择 LoboChat 的单点登录提供商。使用 Logto 请填写 `logto`。 |
| `AUTH_LOGTO_ID` | 必选 | Logto App 详情页的 Client ID |
| `AUTH_LOGTO_SECRET` | 必选 | Logto App 详情页的 Client Secret |
| `AUTH_LOGTO_ISSUER` | 必选 | Logto 提供程序的 OpenID Connect 颁发者 |
| `NEXTAUTH_URL` | 必选 | 该 URL 用于指定 Auth.js 在执行 OAuth 验证时的回调地址,当默认生成的重定向地址发生不正确时才需要设置。`https://lobe.example.com/api/auth` |
| `LOGTO_WEBHOOK_SIGNING_KEY` | 可选 | 用于验证 Logto 发送的 Webhook 请求是否合法的密钥。 |
<Callout type={'tip'}>
前往 [📘 环境变量](/zh/docs/self-hosting/environment-variables/auth#logto) 可查阅相关变量详情。
@@ -62,3 +62,13 @@ Unstructured.io is a powerful document processing tool.
- **Note**: Evaluate processing needs based on document complexity
By correctly configuring and integrating these core components, you can build a powerful and efficient knowledge base system for LobeChat. Each component plays a crucial role in the overall architecture, supporting advanced document management and intelligent retrieval functions.
### 5. Custom Embedding
- **Purpose**: Use different Embedding generate vector representations for semantic search
- **Options**: support model provider list: zhipu/github/openai/bedrock/ollama
- **Deployment Tip**: Used to configure the default Embedding model
```
environment: DEFAULT_FILES_CONFIG=embedding_model=openai/embedding-text-3-small
```
@@ -60,3 +60,13 @@ Unstructured.io 是一个强大的文档处理工具。
- **注意事项**:评估处理需求,根据文档复杂度决定是否部署
通过正确配置和集成这些核心组件,您可以为 LobeChat 构建一个强大、高效的知识库系统。每个组件都在整体架构中扮演着关键角色,共同支持高级的文档管理和智能检索功能。
### 5. 自定义 Embedding(可选)
- **用途**: 使用不同的嵌入模型(Embedding)生成文本的向量表示,用于语义搜索
- **选项**: 支持的模型提供商:zhipu/github/openai/bedrock/ollama
- **部署建议**: 使用环境变量配置默认嵌入模型
```
environment: DEFAULT_FILES_CONFIG=embedding_model=openai/embedding-text-3-small
```
+11 -7
View File
@@ -17,7 +17,7 @@ LobeChat supports customizing the model list during deployment. This configurati
You can use `+` to add a model, `-` to hide a model, and use `model name=display name<extension configuration>` to customize the display name of a model, separated by English commas. The basic syntax is as follows:
```text
id=displayName<maxToken:vision:fc:file>,model2,model3
id=displayName<maxToken:vision:reasoning:search:fc:file>,model2,model3
```
For example: `+qwen-7b-chat,+glm-6b,-gpt-3.5-turbo,gpt-4-0125-preview=gpt-4-turbo`
@@ -29,7 +29,7 @@ In the above example, it adds `qwen-7b-chat` and `glm-6b` to the model list, rem
Considering the diversity of model capabilities, we started to add extension configuration in version `0.147.8`, with the following rules:
```shell
id=displayName<maxToken:vision:fc:file>
id=displayName<maxToken:vision:reasoning:search:fc:file>
```
The first value in angle brackets is designated as the `maxToken` for this model. The second value and beyond are the model's extension capabilities, separated by colons `:`, and the order is not important.
@@ -39,12 +39,16 @@ Examples are as follows:
- `chatglm-6b=ChatGLM 6B<4096>`: ChatGLM 6B, maximum context of 4k, no advanced capabilities;
- `spark-v3.5=讯飞星火 v3.5<8192:fc>`: Xunfei Spark 3.5 model, maximum context of 8k, supports Function Call;
- `gemini-1.5-flash-latest=Gemini 1.5 Flash<16000:vision>`: Google Vision model, maximum context of 16k, supports image recognition;
- `o3-mini=OpenAI o3-mini<200000:reasoning:fc>`: OpenAI o3-mini model, maximum context of 200k, supports reasoning and Function Call;
- `qwen-max-latest=Qwen Max<32768:search:fc>`: Qwen 2.5 Max model, maximum context of 32k, supports web search and Function Call;
- `gpt-4-all=ChatGPT Plus<128000:fc:vision:file>`, hacked version of ChatGPT Plus web, context of 128k, supports image recognition, Function Call, file upload.
Currently supported extension capabilities are:
| --- | Description |
| -------- | -------------------------------------------------------- |
| `fc` | Function Calling |
| `vision` | Image Recognition |
| `file` | File Upload (a bit hacky, not recommended for daily use) |
| --- | Description |
| ----------- | -------------------------------------------------------- |
| `fc` | Function Calling |
| `vision` | Image Recognition |
| `reasoning` | Support Reasoning |
| `search` | Support Web Search |
| `file` | File Upload (a bit hacky, not recommended for daily use) |
@@ -16,7 +16,7 @@ LobeChat 支持在部署时自定义模型列表,详情请参考 [模型提供
你可以使用 `+` 增加一个模型,使用 `-` 来隐藏一个模型,使用 `模型名=展示名<扩展配置>` 来自定义模型的展示名,用英文逗号隔开。通过 `<>` 来添加扩展配置。基本语法如下:
```text
id=displayName<maxToken:vision:fc:file>,model2,model3
id=displayName<maxToken:vision:reasoning:search:fc:file>,model2,model3
```
例如: `+qwen-7b-chat,+glm-6b,-gpt-3.5-turbo,gpt-4-0125-preview=gpt-4-turbo`
@@ -28,7 +28,7 @@ id=displayName<maxToken:vision:fc:file>,model2,model3
考虑到模型的能力多样性,我们在 `0.147.8` 版本开始增加扩展性配置,它的规则如下:
```shell
id=displayName<maxToken:vision:fc:file>
id=displayName<maxToken:vision:reasoning:search:fc:file>
```
尖括号第一个值约定为这个模型的 `maxToken` 。第二个及以后作为模型的扩展能力,能力与能力之间用冒号 `:` 作为分隔符,顺序不重要。
@@ -38,12 +38,16 @@ id=displayName<maxToken:vision:fc:file>
- `chatglm-6b=ChatGLM 6B<4096>`ChatGLM 6B,最大上下文 4k,没有高阶能力;
- `spark-v3.5=讯飞星火 v3.5<8192:fc>`:讯飞星火 3.5 模型,最大上下文 8k,支持 Function Call
- `gemini-1.5-flash-latest=Gemini 1.5 Flash<16000:vision>`Google 视觉模型,最大上下文 16k,支持图像识别;
- `o3-mini=OpenAI o3-mini<200000:reasoning:fc>`OpenAI o3-mini 模型,最大上下文 200k,支持推理及 Function Call
- `qwen-max-latest=Qwen Max<32768:search:fc>`:通义千问 2.5 Max 模型,最大上下文 32k,支持联网搜索及 Function Call
- `gpt-4-all=ChatGPT Plus<128000:fc:vision:file>`hack 的 ChatGPT Plus 网页版,上下 128k ,支持图像识别、Function Call、文件上传
目前支持的扩展能力有:
| --- | 描述 |
| -------- | ---------------------- |
| `fc` | 函数调用(function calling |
| `vision` | 视觉识别 |
| `file` | 文件上传(比较 hack,不建议日常使用) |
| --- | 描述 |
| ----------- | ---------------------- |
| `fc` | 函数调用(function calling |
| `vision` | 视觉识别 |
| `reasoning` | 支持推理 |
| `search` | 支持联网搜索 |
| `file` | 文件上传(比较 hack,不建议日常使用) |
@@ -0,0 +1,75 @@
---
title: Observability and Tracing for LobeChat
description: >-
Enhance your LobeChat applications with open-source observability and tracing
using Langfuse. Automatically capture detailed traces and metrics for every
request to optimize and debug your chats.
tags:
- Observability
- Tracing
- Langfuse
---
# Monitor your LobeChat application with Langfuse
## What is Langfuse?
[Langfuse](https://langfuse.com/) an **open-source LLM Observability platform**. By enabling the Langfuse integration, you can trace your application data to develop, monitor, and improve the use of LobeChat, including:
- Application [traces](https://langfuse.com/docs/tracing)
- Usage patterns
- Cost data by user and model
- [Evaluations](https://langfuse.com/docs/scores/overview)
## Get Started
<Steps>
### Set up Langfuse
Get your Langfuse API key by signing up for [Langfuse Cloud](https://cloud.langfuse.com) or [self-hosting](https://langfuse.com/docs/deployment/self-host) Langfuse.
### Set up LobeChat
There are multiple ways to [self-host LobeChat](https://lobehub.com/docs/self-hosting/start). For this example, we will use the Docker Desktop deployment.
<Tabs items={["Environment Variables", "Example in Docker Desktop"]}>
<Tab>
Before deploying LobeChat, set the following four environment variables with the Langfuse API keys you created in the previous step.
```sh
ENABLE_LANGFUSE = '1'
LANGFUSE_SECRET_KEY = 'sk-lf...'
LANGFUSE_PUBLIC_KEY = 'pk-lf...'
LANGFUSE_HOST = 'https://cloud.langfuse.com'
```
</Tab>
<Tab>
Before running the Docker container, set the environment variables in the Docker Desktop with the Langfuse API keys you created in the previous step.
<Image alt={'Environment Variables in Docker Desktop'} src={'https://langfuse.com/images/docs/lobechat-docker-desktop-env.png'} />
</Tab>
</Tabs>
### Activate Analytics in Settings
Once you have LobeChat running, navigate to the **About** tab in the **Settings** and activate analytics. This is necessary for traces to be sent to Langfuse.
<Image alt={'LobeChat Settings'} src={'https://langfuse.com/images/docs/lobechat-settings.png'} />
### See Chat Traces in Langfuse
After setting your LLM model key, you can start interacting with your LobeChat application.
<Image alt={'LobeChat Conversation'} src={'https://langfuse.com/images/docs/lobechat-converstation.png'} />
All conversations in the chat are automatically traced and sent to Langfuse. You can view the traces in the [Traces section](https://langfuse.com/docs/tracing) in the Langfuse UI.
<Image alt={'LobeChat Example Trace'} src={'https://langfuse.com/images/docs/lobechat-example-trace.png'} />
*[Example trace in the Langfuse UI](https://cloud.langfuse.com/project/cloramnkj0002jz088vzn1ja4/traces/63e9246d-3f22-4e45-936d-b0c4ccf55a1e?timestamp=2024-11-26T17%3A00%3A02.028Z\&observation=7ea75a0c-d9d1-425c-9b88-27561c63b413)*
</Steps>
## Feedback
If you have any feedback or requests, please create a GitHub [Issue](https://langfuse.com/issue) or share your work with the Langfuse community on [Discord](https://discord.langfuse.com/).
@@ -0,0 +1,70 @@
---
title: LobeChat 的可观测性和追踪
description: 使用 Langfuse 为你的 LobeChat 应用增强开源可观测性和追踪功能。自动捕获每个请求的详细追踪和指标,以优化和调试你的对话。
tags:
- 可观测性
- 追踪
- Langfuse
---
# 使用 Langfuse 监控你的 LobeChat 应用
## 什么是 Langfuse
[Langfuse](https://langfuse.com/) 是一个 **开源的 LLM 可观测性平台**。启用 Langfuse 集成后,你可以追踪应用数据,以开发、监控和优化 LobeChat 的使用,包括:
- 应用 [追踪](https://langfuse.com/docs/tracing)
- 使用模式
- 按用户和模型的成本数据
- [评估](https://langfuse.com/docs/scores/overview)
## 快速开始
<Steps>
### 设置 Langfuse
通过注册 [Langfuse Cloud](https://cloud.langfuse.com) 或 [自托管](https://langfuse.com/docs/deployment/self-host) Langfuse 来获取你的 Langfuse API 密钥。
### 设置 LobeChat
有多种方式可以 [自托管 LobeChat](https://lobehub.com/docs/self-hosting/start)。在本示例中,我们将使用 Docker Desktop 部署。
<Tabs items={["环境变量", "Docker Desktop 示例"]}>
<Tab>
在部署 LobeChat 之前,使用你在上一步创建的 Langfuse API 密钥设置以下四个环境变量。
```sh
ENABLE_LANGFUSE = '1'
LANGFUSE_SECRET_KEY = 'sk-lf...'
LANGFUSE_PUBLIC_KEY = 'pk-lf...'
LANGFUSE_HOST = 'https://cloud.langfuse.com'
```
</Tab>
<Tab>
在运行 Docker 容器之前,在 Docker Desktop 中设置环境变量,并填入你在上一步创建的 Langfuse API 密钥。
<Image alt={'Docker Desktop 中的环境变量'} src={'https://langfuse.com/images/docs/lobechat-docker-desktop-env.png'} />
</Tab>
</Tabs>
### 在设置中启用分析功能
当 LobeChat 运行后,进入 **设置** 中的 **关于** 选项卡,并启用分析功能。这是将追踪数据发送到 Langfuse 所必需的。
<Image alt={'LobeChat 设置'} src={'https://langfuse.com/images/docs/lobechat-settings.png'} />
### 在 Langfuse 中查看聊天追踪
设置好 LLM 模型密钥后,你就可以开始与 LobeChat 进行交互。
<Image alt={'LobeChat 对话'} src={'https://langfuse.com/images/docs/lobechat-converstation.png'} />
所有对话都会被自动追踪并发送到 Langfuse。你可以在 Langfuse UI 的 [追踪部分](https://langfuse.com/docs/tracing) 查看这些数据。
<Image alt={'LobeChat Trace 示例'} src={'https://langfuse.com/images/docs/lobechat-example-trace.png'} />
</Steps>
## 反馈
如果你有任何反馈或需求,请在 GitHub 上创建 [Issue](https://langfuse.com/issue),或在 [Discord](https://discord.langfuse.com/) 上与 Langfuse 社区分享你的想法。
@@ -19,6 +19,16 @@ LobeChat provides a complete authentication service capability when deployed. Th
### General Settings
#### `NEXT_PUBLIC_ENABLE_NEXT_AUTH`
- Changes after v1.52.0.
- For users who deploy with Vercel using Next Auth, it is necessary to add the environment variable NEXT\_PUBLIC\_ENABLE\_NEXT\_AUTH=1 to ensure that Next Auth is enabled.
- For users who use Clerk in their self-built image, it is necessary to configure the environment variable NEXT\_PUBLIC\_ENABLE\_NEXT\_AUTH=0 to disable Next Auth.\n
- Other standard deployment scenarios (using Clerk on Vercel and next-auth in Docker) are not affected
#### `NEXT_AUTH_SECRET`
- Type: Required
@@ -17,6 +17,13 @@ LobeChat 在部署时提供了完善的身份验证服务能力,以下是相
### 通用设置
#### `NEXT_PUBLIC_ENABLE_NEXT_AUTH`
- v1.52.0 之后有变更
- 针对使用 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 )不受影响
#### `NEXT_AUTH_SECRET`
- 类型:必选
@@ -47,7 +54,7 @@ LobeChat 在部署时提供了完善的身份验证服务能力,以下是相
- 默认值: `-`
- 示例: `evCnOJP1UX8FMnXR9Xkj5t0NyFn5p70P`
#### `AUTH_AUTH_SECRET`
#### `AUTH_AUTH0_SECRET`
- 类型:必选
- 描述: Auth0 应用程序的 Client Secret
@@ -169,6 +169,13 @@ If you need to use Azure OpenAI to provide model services, you can refer to the
## DeepSeek AI
### `DEEPSEEK_PROXY_URL`
- Type: Optional
- Description: If you manually configure the DeepSeek API proxy, you can use this configuration item to override the default DeepSeek API request base URL
- Default: -
- Example: `https://xxxx.models.ai.azure.com/v1`
### `DEEPSEEK_API_KEY`
- Type: Required
@@ -176,6 +183,24 @@ If you need to use Azure OpenAI to provide model services, you can refer to the
- Default: -
- Example: `sk-xxxxxx...xxxxxx`
## XAI
### `XAI_API_KEY`
- Type: Required
- Description: This is the API key you applied for in the XAI service
- Default: -
- Example: `xai-xxxxxx...xxxxxx`
## Wenxin
### `WENXIN_API_KEY`
- Type: Required
- Description: This is the API key you applied for in the Baidu Wenxin service
- Default: -
- Example: `xxxxxx...xxxxxx`
## OpenRouter AI
### `OPENROUTER_API_KEY`
@@ -192,6 +217,22 @@ If you need to use Azure OpenAI to provide model services, you can refer to the
- Default: `-`
- Example: `-all,+01-ai/yi-34b-chat,+huggingfaceh4/zephyr-7b-beta`
## PPIO
### `PPIO_API_KEY`
- Type: Required
- Description: This your PPIO API Key.
- Default: -
- Example: `sk_xxxxxxxxxx`
### `PPIO_MODEL_LIST`
- Type: Optional
- Description: Used to control the model list, use `+` to add a model, use `-` to hide a model, use `model_name=display_name` to customize the display name of a model, separated by commas. Definition syntax rules see [model-list][model-list]
- Default: `-`
- Example: `-all,+deepseek/deepseek-v3/community,+deepseek/deepseek-r1-distill-llama-70b`
## Github
### `GITHUB_TOKEN`
@@ -502,4 +543,21 @@ If you need to use Azure OpenAI to provide model services, you can refer to the
- Default: `-`
- Example: `-all,+hunyuan-lite,+hunyuan-standard`
## Volcengine
### `VOLCENGINE_API_KEY`
- Type: Required
- Description: This is the API key you applied from Volcengine service, you can check it out [here](https://console.volcengine.com/ark/region:ark+cn-beijing/endpoint)
- Default: -
- Example: `ad925b3d-aaaa-bbbb-cccc-51fde2f50547`
### `VOLCENGINE_MODEL_LIST`
- Type: Optional
- Description: Used to control the model list, use `+` to add a model, use `-` to hide a model, use `model_name=display_name` to customize the display name of a model, separated by commas. Definition syntax rules see [model-list][model-list]
- Default: `-`
- Example: `-all,+deepseek-r1-250120,+deepseek-v3-241226,+doubao-1-5-pro-256k-250115,+doubao-1-5-pro-32k-250115,+doubao-1-5-lite-32k-250115`
[model-list]: /docs/self-hosting/advanced/model-list
@@ -167,6 +167,13 @@ LobeChat 在部署时提供了丰富的模型服务商相关的环境变量,
## DeepSeek AI
### `DEEPSEEK_PROXY_URL`
- 类型:可选
- 描述:如果您手动配置了 DeepSeek API 代理,可以使用此配置项覆盖默认的 DeepSeek API 请求基础 URL
- 默认值: -
- 示例: `https://xxxx.models.ai.azure.com/v1`
### `DEEPSEEK_API_KEY`
- 类型:必选
@@ -174,6 +181,24 @@ LobeChat 在部署时提供了丰富的模型服务商相关的环境变量,
- 默认值:-
- 示例:`sk-xxxxxx...xxxxxx`
## XAI
### `XAI_API_KEY`
- 类型:必选
- 描述:这是你在 XAI 服务中申请的 API 密钥
- 默认值:-
- 示例:`xai-xxxxxx...xxxxxx`
## 文心一言
### `WENXIN_API_KEY`
- 类型:必选
- 描述:这是你在百度智能云平台申请的文心一言 API 密钥
- 默认值:-
- 示例:`xxxxxx...xxxxxx`
## OpenRouter AI
### `OPENROUTER_API_KEY`
@@ -190,6 +215,22 @@ LobeChat 在部署时提供了丰富的模型服务商相关的环境变量,
- 默认值:`-`
- 示例:`-all,+01-ai/yi-34b-chat,+huggingfaceh4/zephyr-7b-beta`
## PPIO
### `PPIO_API_KEY`
- 类型:必选
- 描述:这是你在 PPIO 网站申请的 API 密钥
- 默认值:-
- 示例:`sk_xxxxxxxxxxxx`
### `PPIO_MODEL_LIST`
- 类型:可选
- 描述:用来控制模型列表,使用 `+` 增加一个模型,使用 `-` 来隐藏一个模型,使用 `模型名=展示名<扩展配置>` 来自定义模型的展示名,用英文逗号隔开。模型定义语法规则见 [模型列表][model-list]
- 默认值:`-`
- 示例:`-all,+deepseek/deepseek-v3/community,+deepseek/deepseek-r1-distill-llama-70b`
## Github
### `GITHUB_TOKEN`
@@ -500,4 +541,20 @@ LobeChat 在部署时提供了丰富的模型服务商相关的环境变量,
- 默认值:`-`
- 示例:`-all,+hunyuan-lite,+hunyuan-standard`
## 火山引擎
### `VOLCENGINE_API_KEY`
- 类型:必选
- 描述:这是你在 火山引擎 服务中申请的 API 密钥,可以前往 [这里](https://console.volcengine.com/ark/region:ark+cn-beijing/endpoint) 查看
- 默认值:-
- 示例:`ad925b3d-aaaa-bbbb-cccc-51fde2f50547`
### `VOLCENGINE_MODEL_LIST`
- 类型:可选
- 描述:用来控制模型列表,使用 `+` 增加一个模型,使用 `-` 来隐藏一个模型,使用 `模型名=展示名<扩展配置>` 来自定义模型的展示名,用英文逗号隔开。模型定义语法规则见 [模型列表][model-list]
- 默认值:`-`
- 示例:`-all,+deepseek-r1-250120,+deepseek-v3-241226,+doubao-1-5-pro-256k-250115,+doubao-1-5-pro-32k-250115,+doubao-1-5-lite-32k-250115`
[model-list]: /zh/docs/self-hosting/advanced/model-list
+4
View File
@@ -36,6 +36,10 @@ To install aaPanel, go to the [aaPanel](https://www.aapanel.com/new/download.htm
6. After submission, the panel will automatically initialize the application, which will take about `1-3` minutes. It can be accessed after the initialization is completed.
<Callout type="warning">
⚠️ Do not enable any form of cache in the reverse proxy settings of the panel to avoid affecting the normal operation of the service. Read more at [https://github.com/lobehub/lobe-chat/discussions/5986](https://github.com/lobehub/lobe-chat/discussions/5986)
</Callout>
## Visit LobeChat
- If you have set a domain name, please directly enter the domain name in the browser address bar, such as `http://demo.lobechat`, to access the `LobeChat` console.
@@ -40,6 +40,10 @@ tags:
5. 提交后面板会自动进行应用初始化,大概需要`1-3`分钟,初始化完成后即可访问。
<Callout type="warning">
⚠️ 请不要在面板的反向代理设置中开启任何形式的缓存,以免影响服务的正常运行。详情请见 [https://github.com/lobehub/lobe-chat/discussions/5986](https://github.com/lobehub/lobe-chat/discussions/5986)
</Callout>
## 访问 LobeChat
- 如果您填写域名,请在浏览器输入您的域名访问,如`http://demo.lobechat`,即可访问 `LobeChat` 页面。
@@ -128,6 +128,6 @@ We provide a [Docker image][docker-release-link] for deploying the LobeChat serv
[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-release-shield]: https://img.shields.io/docker/v/lobehub/lobe-chat?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
[docker-size-shield]: https://img.shields.io/docker/image-size/lobehub/lobe-chat?color=369eff&labelColor=black&style=flat-square
[docker-size-shield]: https://img.shields.io/docker/image-size/lobehub/lobe-chat?color=369eff&labelColor=black&style=flat-square&sort=semver
@@ -12,11 +12,11 @@ tags:
# Docker Compose 部署指引
<div style={{display:"flex", gap: 4}}>
[![](https://img.shields.io/docker/v/lobehub/lobe-chat?color=369eff\&label=docker\&labelColor=black\&logo=docker\&logoColor=white\&style=flat-square)](https://hub.docker.com/r/lobehub/lobe-chat)
[![][docker-release-shield]][docker-release-link]
[![](https://img.shields.io/docker/image-size/lobehub/lobe-chat?color=369eff\&labelColor=black\&style=flat-square)](https://img.shields.io/docker/image-size/lobehub/lobe-chat?color=369eff\&labelColor=black\&style=flat-square)
[![][docker-size-shield]][docker-size-link]
[![](https://img.shields.io/docker/pulls/lobehub/lobe-chat?color=45cc11\&labelColor=black\&style=flat-square)](https://img.shields.io/docker/pulls/lobehub/lobe-chat?color=45cc11\&labelColor=black\&style=flat-square)
[![][docker-pulls-shield]][docker-pulls-link]
</div>
我们提供了 [Docker 镜像](https://hub.docker.com/r/lobehub/lobe-chat) ,供你在自己的私有设备上部署 LobeChat 服务。
@@ -121,3 +121,12 @@ tags:
*/5 * * * * /path/to/auto-update-lobe-chat.sh >> /path/to/auto-update-lobe-chat.log 2>&1
```
</Steps>
[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&sort=semver
[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&sort=semver
+2 -2
View File
@@ -159,6 +159,6 @@ We provide a [Docker image][docker-release-link] for you to deploy the LobeChat
[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-release-shield]: https://img.shields.io/docker/v/lobehub/lobe-chat?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
[docker-size-shield]: https://img.shields.io/docker/image-size/lobehub/lobe-chat?color=369eff&labelColor=black&style=flat-square
[docker-size-shield]: https://img.shields.io/docker/image-size/lobehub/lobe-chat?color=369eff&labelColor=black&style=flat-square&sort=semver
+2 -2
View File
@@ -204,6 +204,6 @@ API Key 是使用 LobeChat 进行大语言模型会话的必要信息,本节
[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-release-shield]: https://img.shields.io/docker/v/lobehub/lobe-chat?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
[docker-size-shield]: https://img.shields.io/docker/image-size/lobehub/lobe-chat?color=369eff&labelColor=black&style=flat-square
[docker-size-shield]: https://img.shields.io/docker/image-size/lobehub/lobe-chat?color=369eff&labelColor=black&style=flat-square&sort=semver
+8 -8
View File
@@ -1,20 +1,20 @@
---
title: Deploy LobeChat on SealOS
title: Deploy LobeChat on Sealos
description: >-
Learn how to deploy LobeChat on SealOS with ease. Follow the provided steps to
Learn how to deploy LobeChat on Sealos with ease. Follow the provided steps to
set up LobeChat and start using it efficiently.
tags:
- Deploy LobeChat
- SealOS Deployment
- Sealos Deployment
- OpenAI API Key
- Custom Domain Binding
---
# Deploy LobeChat with SealOS
# Deploy LobeChat with Sealos
If you want to deploy LobeChat on SealOS, you can follow the steps below:
If you want to deploy LobeChat on Sealos, you can follow the steps below:
## SealOS Deployment Process
## Sealos Deployment Process
<Steps>
### Prepare your OpenAI API Key
@@ -29,8 +29,8 @@ If you want to deploy LobeChat on SealOS, you can follow the steps below:
### Bind a custom domain (optional)
You can use the subdomain provided by SealOS, or choose to bind a custom domain. Currently, the domains provided by SealOS have not been contaminated, and can be directly accessed in most regions.
You can use the subdomain provided by Sealos, or choose to bind a custom domain. Currently, the domains provided by Sealos have not been contaminated, and can be directly accessed in most regions.
</Steps>
[deploy-button-image]: https://raw.githubusercontent.com/labring-actions/templates/main/Deploy-on-Sealos.svg
[deploy-link]: https://cloud.sealos.io/?openapp=system-template%3FtemplateName%3Dlobe-chat
[deploy-link]: https://template.usw.sealos.io/deploy?templateName=lobe-chat
+7 -7
View File
@@ -1,19 +1,19 @@
---
title: 在 SealOS 上部署 LobeChat
description: 学习如何在 SealOS 上部署 LobeChat,包括准备 OpenAI API Key、点击部署按钮、绑定自定义域名等操作。
title: 在 Sealos 上部署 LobeChat
description: 学习如何在 Sealos 上部署 LobeChat,包括准备 OpenAI API Key、点击部署按钮、绑定自定义域名等操作。
tags:
- SealOS
- Sealos
- LobeChat
- OpenAI API Key
- 部署流程
- 自定义域名
---
# 使用 SealOS 部署
# 使用 Sealos 部署
如果想在 SealOS 上部署 LobeChat,可以按照以下步骤进行操作:
如果想在 Sealos 上部署 LobeChat,可以按照以下步骤进行操作:
## SealOS 部署流程
## Sealos 部署流程
<Steps>
### 准备好你的 OpenAI API Key
@@ -28,7 +28,7 @@ tags:
### 绑定自定义域名(可选)
你可以使用 SealOS 提供的子域名,也可以选择绑定自定义域名。目前 SealOS 提供的域名还未被污染,大多数地区都可以直连。
你可以使用 Sealos 提供的子域名,也可以选择绑定自定义域名。目前 Sealos 提供的域名还未被污染,大多数地区都可以直连。
</Steps>
[deploy-button-image]: https://raw.githubusercontent.com/labring-actions/templates/main/Deploy-on-Sealos.svg
@@ -0,0 +1,33 @@
---
title: Deploy LobeChat on TencentCloud Lighthouse
description: >-
Learn how to deploy the LobeChat application on TencentCloud Lighthouse,
including preparing the large model API Key, clicking the deploy button, and
other operations.
tags:
- TencentCloud Lighthouse
- TencentCloud
- LobeChat
- API Key
---
# Deploy LobeChat with TencentCloud Lighthouse
If you want to deploy LobeChat on TencentCloud Lighthouse, you can follow the steps below:
## Tencent Cloud Deployment Process
<Steps>
### Prepare your API Key
Go to [OpenAI API Key](https://platform.openai.com/account/api-keys) to get your OpenAI API Key.
### One-click to deploy
[![][deploy-button-image]][deploy-link]
### Once deployed, you can start using it
</Steps>
[deploy-button-image]: https://cloudcache.tencent-cloud.com/qcloud/ui/static/static_source_business/d65fb782-4fb0-4348-ad85-f2943d6bee8f.svg
[deploy-link]: https://buy.tencentcloud.com/lighthouse?blueprintType=APP_OS&blueprintOfficialId=lhbp-6u0ti132&regionId=9&zone=ap-singapore-3&bundleId=bundle_starter_nmc_lin_med2_01&loginSet=AUTO&rule=true&from=lobechat
@@ -0,0 +1,31 @@
---
title: 在 腾讯轻量云 上部署 LobeChat
description: 学习如何快速在腾讯轻量云上部署LobeChat应用,包括准备大模型 API Key、点击部署按钮等操作。
tags:
- 腾讯云
- 腾讯轻量云
- LobeChat
- 部署流程
- 大模型 API Key
---
# 使用 腾讯轻量云 部署
如果想在 腾讯云 上部署 LobeChat,可以按照以下步骤进行操作:
## 腾讯轻量云 部署流程
<Steps>
### 准备好你的 API Key
前往 [OpenAI API Key](https://platform.openai.com/account/api-keys) 获取你的 OpenAI API Key
### 点击下方按钮进行部署
[![][deploy-button-image]][deploy-link]
### 部署完毕后,即可开始使用
</Steps>
[deploy-button-image]: https://cloudcache.tencent-cloud.com/qcloud/ui/static/static_source_business/d65fb782-4fb0-4348-ad85-f2943d6bee8f.svg
[deploy-link]: https://buy.cloud.tencent.com/lighthouse?blueprintType=APP_OS&blueprintOfficialId=lhbp-6u0ti132&regionId=8&zone=ap-beijing-3&bundleId=bundle_starter_mc_med2_01&loginSet=AUTO&rule=true&from=lobechat
+1 -1
View File
@@ -95,7 +95,7 @@ Since we support file-based conversations/knowledge base conversations, we need
<Callout type={'info'}>
You can generate a random 32-character string as the value of `KEY_VAULTS_SECRET` using `openssl
rand -base64 32`.
rand -base64 32`.
</Callout>
</Steps>
File diff suppressed because it is too large Load Diff
@@ -18,55 +18,81 @@ tags:
[![][docker-pulls-shield]][docker-pulls-link]
</div>
<Callout type="info">
本文已经假定你了解了 LobeChat 服务端数据库版本(下简称 DB
版)的部署基本原理和流程,因此只包含核心环境变量配置的内容。如果你还不了解 LobeChat DB
版的部署原理,请先查阅 [使用服务端数据库部署](/zh/docs/self-hosting/server-database) 。
</Callout>
<Callout type="warning">
由于无法使用 Docker 环境变量暴露 `NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY`,使用 Docker / Docker Compose
部署 LobeChat 时,你不能使用 Clerk 作为登录鉴权服务。
**Docker 部署限制说明**
Docker 及 Docker Compose 部署方案不支持通过环境变量注入 `NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY`
因此无法启用 Clerk 身份验证服务。建议替代方案:
如果你确实需要 Clerk 作为登录鉴权服务,你可以考虑使用 Vercel 部署或者自行构建镜像。
- 采用 Vercel 托管部署
- 执行本地镜像构建流程
</Callout>
一般来讲,想要完整的运行 LobeChat 数据库版本,你需要至少拥有如下四个服务
- LobeChat 数据库版本自身
- 带有 PGVector 插件的 PostgreSQL 数据库
- 支持 S3 协议的对象存储服务
- 受 LobeChat 支持的 SSO 登录鉴权服务
这些服务可以通过自建或者在线云服务组合搭配,以满足不同层次的部署需求。
本文中,我们提供了完全基于开源自建服务的 Docker Compose 配置,你可以直接使用这份配置文件来启动 LobeChat 数据库版本,也可以对之进行修改以适应你的需求。
我们默认使用 [MinIO](https://github.com/minio/minio) 作为本地 S3 对象存储服务,使用 [Casdoor](https://github.com/casdoor/casdoor) 作为本地鉴权服务。
## 快速启动
为方便快速上手,这一章使用 `docker-compose/local` 目录中的 `docker-compose.yml` 配置文件,启动后的 LobeChat 应用运行在 `http://localhost:3210`,可在本地运行。
<Callout type="info">
**系统兼容性说明**
<Callout type="warning">
为了快速上手,此 `docker-compose.yml` 内置了大量的 Secret/Password
的敏感字段配置,仅适用于快速演示或个人本地使用。请勿直接用于线上生产环境!否则遇到安全问题请自行负责!
- 支持 Unix 环境(Linux/macOS)的一键部署
- Windows 用户需通过 [WSL 2](https://aka.ms/wsl) 运行
- 一键启动脚本为首次部署专用,非首次部署请参考 [自定义部署](#自定义部署) 章节
- 端口占用检查:确保 `3210`、`8000`、`9000`、`9001` 端口可用
</Callout>
执行以下命令初始化部署环境,目录 `lobe-chat-db` 将用于存放你的配置文件和后续的数据库文件。
```sh
mkdir lobe-chat-db && cd lobe-chat-db
```
获取并执行部署脚本:
```sh
bash <(curl -fsSL https://lobe.li/setup.sh) -l zh_CN
```
脚本支持以下部署模式,请根据你的需求选择相应的模式,并继续阅读文档的剩余部分。
- [本地模式(默认)](#本地模式):仅能在本地访问,不支持局域网 / 公网访问,适用于初次体验;
- [端口模式](#端口模式):支持局域网 / 公网的 `http` 访问,适用于无域名或内部办公场景使用;
- [域名模式](#域名模式):支持局域网 / 公网在使用反向代理下的 `http/https` 访问,适用于个人或团队日常使用;
<Callout type="info">
在脚本的选项提示 `(选项1/选项2)[选项1]` 中:`(选项1 / 选项2)` 代表可以选择的选项,`[选项1]`代表默认选项,直接回车即可选择默认选项。
</Callout>
### 本地模式
<Steps>
### 一键启动脚本
### 在交互式脚本中完成剩余配置
新建一个 `lobe-chat-db` 目录,用于存放你的配置文件和后续的数据库文件
持续回车采用默认配置
```sh
mkdir lobe-chat-db
cd lobe-chat-db
```
### 查看配置生成报告
我们提供了一个一键启动脚本 `setup.sh`,可以自动使用默认配置并启动服务:
你需要在脚本运行结束后查看配置生成报告,包括 Casdoor 管理员的帐号、用户账号和它们的初始登录密码。
```sh
bash <(curl -fsSL https://raw.githubusercontent.com/lobehub/lobe-chat/HEAD/docker-compose/local/setup.sh) -f -l zh_CN
<Callout type="warning">
请使用用户账号登录 LobeChat,管理员账号仅用于管理 Casdoor。
</Callout>
```log
安全密钥生成结果如下:
LobeChat:
- URL: http://localhost:3210
- Username: user
- Password: c66f8c
Casdoor:
- URL: http://localhost:8000
- Username: admin
- Password: c66f8c
Minio:
- URL: http://localhost:9000
- Username: admin
- Password: 8c82ea41
```
### 启动 Docker
@@ -75,8 +101,6 @@ tags:
docker compose up -d
```
默认登录账号即 Casdoor 的默认账号,账号名 `admin`,密码 `123`
### 检查日志
```sh
@@ -96,47 +120,324 @@ tags:
✓ Starting...
✓ Ready in 95ms
```
### 访问应用
通过 [http://localhost:3210](http://localhost:3210) 访问你的 LobeChat 服务。
应用的账号密码在步骤`2`的报告中。
</Steps>
至此,你已经成功部署了 LobeChat 数据库版本,你可以通过 `http://localhost:3210` 访问你的 LobeChat 服务。
### 端口模式
如果你遇到问题,请尝试查看 Docker 日志和控制台日志进行排查。
<Steps>
### 在交互式脚本中完成剩余配置
## 发布到生产(IP 模式)
在端口模式中,你需要根据脚本提示完成:
下文假设局域网 / 公网需要运行 LobeChat 服务的机器 IP 为 `your_server_ip`
- 服务器 IP 地址设置:以便局域网 / 公网访问
- 安全密钥重新生成:我们强烈建议你重新生成安全密钥,如果你缺少脚本所需的密钥生成库,我们建议你参考 [自定义部署](#自定义部署) 章节对密钥进行修改。
想要通过局域网 IP 访问,你需要首先按照本地启动运行:
### 查看配置生成报告
你需要在脚本运行结束后查看配置生成报告,包括 Casdoor 管理员的帐号、用户账号和它们的初始登录密码。
<Callout type="warning">
请使用用户账号登录 LobeChat,管理员账号仅用于管理 Casdoor。
</Callout>
```log
安全密钥生成结果如下:
LobeChat:
- URL: http://your_server_ip:3210
- Username: user
- Password: 837e26
Casdoor:
- URL: http://your_server_ip:8000
- Username: admin
- Password: 837e26
Minio:
- URL: http://your_server_ip:9000
- Username: admin
- Password: dbac8440
```
### 启动 Docker
```sh
docker compose up -d
```
### 检查日志
```sh
docker logs -f lobe-chat
```
如果你在容器中看到了以下日志,则说明已经启动成功:
```log
[Database] Start to migration...
✅ database migration pass.
-------------------------------------
▲ Next.js 14.x.x
- Local: http://your_server_ip:3210
- Network: http://0.0.0.0:3210
✓ Starting...
✓ Ready in 95ms
```
### 访问应用
你可以通过 `http://your_server_ip:3210` 访问你的 LobeChat 服务。
应用的账号密码在步骤`2`的报告中。
<Callout type="warning">
请注意,如果你的服务能够被公网访问,我们强烈建议你参考 [文档](https://lobehub.com/docs/self-hosting/advanced/auth/next-auth/casdoor) 关闭注册功能。
</Callout>
</Steps>
### 域名模式
<Steps>
### 完成反向代理配置
在域名模式中,你需要完成反向代理配置,并确保局域网 / 公网能访问到以下服务。请使用反向代理将以下服务端口映射到域名:
| 域名 | 反代端口 | 是否必选 |
| ---------------------- | ------ | ---- |
| `lobe.example.com` | `3210` | 必选 |
| `auth.example.com` | `8000` | 必选 |
| `minio.example.com` | `9000` | 必选 |
| `minio-ui.example.com` | `9001` | |
<Callout type="important">
如果你使用如 [宝塔面板](https://www.bt.cn/) 等面板软件进行反向代理配置,
你需要确保其对 `.well-known` 路径的请求不进行拦截,以确保 Casdoor 的 OAuth2 配置能够正常工作。
这里提供一份针对 Casdoor 服务的 Nginx server 块的路径白名单配置:
```nginx
location /.well-known/openid-configuration {
proxy_pass http://localhost:8000; # 转发到 localhost:8000
proxy_set_header Host $host; # 保留原始主机头
proxy_set_header X-Real-IP $remote_addr; # 保留客户端真实IP
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; # 保留转发的IP
proxy_set_header X-Forwarded-Proto $scheme; # 保留请求协议
}
```
⚠️ 请不要在此类面板软件的反向代理设置中开启任何形式的缓存,以免影响服务的正常运行。
详情请见 [https://github.com/lobehub/lobe-chat/discussions/5986](https://github.com/lobehub/lobe-chat/discussions/5986)
</Callout>
### 在交互式脚本中完成剩余配置
在域名模式中,你需要根据脚本提示完成:
- LobeChat 服务的域名设置:`lobe.example.com`
- Minio 服务的域名设置:`minio.example.com`
- Casdoor 服务的域名设置:`auth.example.com`
- 选择访问协议:`http` 或 `https`
- 安全密钥重新生成:我们强烈建议你重新生成安全密钥,如果你缺少脚本所需的密钥生成库,我们建议你参考 [自定义部署](#自定义部署) 章节对密钥进行修改。
<Callout type="warning">
以下问题可能导致你的服务无法正常访问:
- 此处的域名配置需要与步骤`1`中的反向代理配置保持一致。
- 如果你使用 Cloudflare 的域名解析服务并开启了 `全程代理`,请使用 `https` 协议。
- 如果你使用了 HTTPS 协议,请确保你的域名证书已经正确配置,一键部署默认不支持自签发证书。
</Callout>
### 查看配置生成报告
你需要在脚本运行结束后查看配置生成报告,包括 Casdoor 管理员的初始登录密码。
<Callout type="warning">
请使用用户账号登录 LobeChat,管理员账号仅用于管理 Casdoor。
</Callout>
```log
安全密钥生成结果如下:
LobeChat:
- URL: https://lobe.example.com
- Username: user
- Password: 837e26
Casdoor:
- URL: https://auth.example.com
- Username: admin
- Password: 837e26
Minio:
- URL: https://minio.example.com
- Username: admin
- Password: dbac8440
```
### 启动 Docker
```sh
docker compose up -d
```
### 检查日志
```sh
docker logs -f lobe-chat
```
如果你在容器中看到了以下日志,则说明已经启动成功:
```log
[Database] Start to migration...
✅ database migration pass.
-------------------------------------
▲ Next.js 14.x.x
- Local: https://localhost:3210
- Network: http://0.0.0.0:3210
✓ Starting...
✓ Ready in 95ms
```
### 访问应用
你可以通过 `https://lobe.example.com` 访问你的 LobeChat 服务。应用的账号密码在步骤`3`的报告中。
<Callout type="warning">
请注意,如果你的服务能够被公网访问,我们强烈建议你参考 [文档](https://lobehub.com/docs/self-hosting/advanced/auth/next-auth/casdoor) 关闭注册功能。
</Callout>
</Steps>
## 自定义部署
该章节主要为你介绍在不同的网络环境下自定义部署 LobeChat 服务必须要修改的配置。
在开始前,你可以先下载 [Docker Compose 配置文件](https://raw.githubusercontent.com/lobehub/lobe-chat/HEAD/docker-compose/local/docker-compose.yml) 以及 [环境变量配置文件](https://raw.githubusercontent.com/lobehub/lobe-chat/HEAD/docker-compose/local/.env.zh-CN.example)。
```sh
bash <(curl -fsSL https://raw.githubusercontent.com/lobehub/lobe-chat/HEAD/docker-compose/local/setup.sh) -f -l zh_CN
docker compose up -d
curl -O https://raw.githubusercontent.com/lobehub/lobe-chat/HEAD/docker-compose/local/docker-compose.yml
curl -O https://raw.githubusercontent.com/lobehub/lobe-chat/HEAD/docker-compose/local/.env.zh-CN.example
mv .env.zh-CN.example .env
```
接着,你需要修改下载下来的 `docker-compose.yml` 文件,执行一次全文替换,将 `localhost` 替换为 `your_server_ip`,随后重新启动:
<Callout type="info">
本章节并不包含所有完整变量,剩余的变量可以查阅 [使用服务端数据库部署](/zh/docs/self-hosting/server-database) 。
</Callout>
### 预备知识
一般来讲,想要完整的运行 LobeChat 数据库版本,你需要至少拥有如下四个服务
- LobeChat 数据库版本自身
- 带有 PGVector 插件的 PostgreSQL 数据库
- 支持 S3 协议的对象存储服务
- 受 LobeChat 支持的 SSO 登录鉴权服务
这些服务可以通过自建或者在线云服务组合搭配,以满足不同层次的部署需求。
本文中,我们提供了完全基于开源自建服务的 Docker Compose 配置,你可以直接使用这份配置文件来启动 LobeChat 数据库版本,也可以对之进行修改以适应你的需求。
我们默认使用 [MinIO](https://github.com/minio/minio) 作为本地 S3 对象存储服务,使用 [Casdoor](https://github.com/casdoor/casdoor) 作为本地鉴权服务。
<Callout type="warning">
如果你的网络拓扑较为复杂,请先确保在你的网络环境中这些服务能够正常通讯。
</Callout>
### 必要配置
以下我们将介绍运行这些服务的必要配置:
1. Casdoor
- LobeChat 需要与 Casdoor 通讯,因此你需要配置 Casdoor 的 Issuer 。
```env
AUTH_CASDOOR_ISSUER=https://auth.example.com
```
该配置会影响 LobeChat 的登录鉴权服务,你需要确保 Casdoor 服务的地址正确。
你可以在 [常见问题](#常见问题) 中找到该配置错误的常见现象及解决方案。
- 同时,你也需要在 Casdoor 中允许回调地址为 LobeChat 的地址:
请在 Casdoor 的 Web 面板的 `身份认证 -> 应用` -> `<应用ID,默认为 app-built-in>` -> `重定向URL` 中添加一行:
```
https://auth.example.com/api/auth/callback/casdoor
```
- Casdoor 需要在环境变量中提供访问的 Origin 信息:
```env
origin=https://auth.example.com
```
2. MinIO
- LobeChat 需要为 LLM 服务提供商提供文件对象的公网访问地址,因此你需要配置 MinIO 的 Endpoint 。
```env
S3_PUBLIC_DOMAIN=https://minio.example.com
S3_ENDPOINT=https://minio.example.com
```
3. PostgreSQL
该配置位于 `docker-compose.yml` 文件中,你需要配置数据库的名称和密码:
```yaml
services:
lobe:
environment:
- 'DATABASE_URL=postgresql://postgres:${POSTGRES_PASSWORD}@postgresql:5432/${LOBE_DB_NAME}'
```
## 常见问题
#### 无法正常登陆
请根据容器日志检查是否存在以下错误
```sh
sed -i 's/localhost/your_server_ip/g' docker-compose.yml
docker compose up -d
docker logs -f lobe-chat
```
### 配置 Casdoor
- r3: "response" is not a conform Authorization Server Metadata response (unexpected HTTP status code)
1. 使用 `setup.sh` 脚本启动后,Casdoor WebUI 默认端口为 `8000`,你可以通过 `http://your_server_ip:8000` 访问,默认用户名 `admin`,密码 `123`
```log
lobe-chat | [auth][error] r3: "response" is not a conform Authorization Server Metadata response (unexpected HTTP status code)
```
2. 在 `身份认证 -> 应用` 中添加一行
成因:该问题一般是由于你的反向代理配置不正确导致的,你需要确保你的反向代理配置不会拦截 Casdoor 的 OAuth2 配置请求。
```
http://your_server_ip:3210/api/auth/callback/casdoor
```
解决方案:
3. 其他配置大多保持默认即可,你也可以在 `身份认证 -> 应用` 中修改默认配置
- 请参考 [域名模式](#域名模式) 章节中的反向代理配置注意事项。
### 配置 MinIO S3
- 一个直接的排查方式,你可以直接访问 `https://auth.example.com/.well-known/openid-configuration`,如果
- 返回了非 JSON 格式的数据,则说明你的反向代理配置错误。
- 如果返回的 JSON 格式数据中的 `"issuer": "URL"` 字段不是你配置的 `https://auth.example.com`,则说明你的环境变量配置错误。
1. 使用 `setup.sh` 脚本启动后,MinIO WebUI 默认端口为 `9001`,你可以通过 `http://your_server_ip:9001` 访问,默认用户名 `YOUR_MINIO_USER`,密码 `YOUR_MINIO_PASSWORD`
- TypeError: fetch failed
2. 大多数配置保持默认即可,如果你希望能允许用户更换头像功能,你需要首先在 `buckets` 中创建一个名为 `casdoor` 的桶,选择自定义策略,复制并粘贴如下内容(如果你修改了桶名,请自行查找替换)
```log
lobe-chat | [auth][error] TypeError: fetch failed
```
成因:LobeChat 无法访问鉴权服务。
解决方案:
- 请检查你的鉴权服务是否正常运行,以及 LobeChat 所在的网络是否能够访问到鉴权服务。
- 一个直接的排查方式,你可以在 LobeChat 容器的终端中,使用 `curl` 命令访问你的鉴权服务 `https://auth.example.com/.well-known/openid-configuration`,如果返回了 JSON 格式的数据,则说明你的鉴权服务正常运行。
## 拓展配置
为了完善你的 LobeChat 服务,你可以根据你的需求进行以下拓展配置。
### 使用 MinIO 存储 Casdoor 头像
允许用户在 Casdoor 中更换头像
1. 你需要首先在 `buckets` 中创建一个名为 `casdoor` 的桶,选择自定义策略,复制并粘贴如下内容(如果你修改了桶名,请自行查找替换)
```json
{
@@ -175,62 +476,103 @@ docker compose up -d
}
```
3. 创建一个新的访问密钥,将生成的 `Access Key` 和 `Secret Key` 存储之
2. 创建一个新的访问密钥,将生成的 `Access Key` 和 `Secret Key` 存储之
4. 在 Casdoor 的 `身份认证 -> 提供商` 中关联 MinIO S3 服务,以下是一个示例配置:
3. 在 Casdoor 的 `身份认证 -> 提供商` 中关联 MinIO S3 服务,以下是一个示例配置:
![casdoor](https://github.com/user-attachments/assets/71035610-0706-434e-9488-ab5819b55330)
其中,客户端 ID、客户端密钥为上一步创建的访问密钥中的 `Access Key` 和 `Secret Key``192.168.31.251` 应当被替换为 `your_server_ip`。
5. 在 Casdoor 的 `身份认证 -> 应用` 中,对 `app-built-in` 应用添加提供商,选择 `minio`,保存并退出
4. 在 Casdoor 的 `身份认证 -> 应用` 中,对 `app-built-in` 应用添加提供商,选择 `minio`,保存并退出
6. 你可以在 Casdoor 的 `身份认证 -> 资源` 中,尝试上传文件以测试配置是否正确
5. 你可以在 Casdoor 的 `身份认证 -> 资源` 中,尝试上传文件以测试配置是否正确
## 发布到生产(域名模式)
### 生产部署下从 `logto` 迁移至 `Casdoor`
适用于已经在生产环境下使用 `logto` 作为登录鉴权服务的用户
<Callout type="info">
对于拥有域名的部署,我们推荐使用 [Logto](https://logto.io/)
作为登录鉴权服务。本文剩余部分也将以其为例进行说明。如果你使用其他诸如 Casdoor
由于使用[Logto](https://logto.io/)
作为登录鉴权服务存在比较大的不稳定性。
因此,下文基于发布到 IP 模式的教程,实现了使用 Casdoor 作为鉴权服务提供商的域名发布方案。
本文剩余部分也将以其为例进行说明。如果你使用其他诸如 Logto
等其他登录鉴权服务,流程应当相近,但请注意不同的登录鉴权服务的端口配置可能有所差异。
</Callout>
在下文中,我们假设在上述服务之外,你还运行了一层 Nginx 来进行反向代理、配置 SSL。
在下文中,我们假设在上述服务之外,你还运行了一层 **Nginx** 来进行反向代理、配置 SSL。
域名和配套服务端口说明如下:
- `lobe.example.com`:为你的 LobeChat 服务端域名,需要反向代理到 LobeChat 服务端口,默认为 `3210`
- `lobe-auth-api.example.com`:为你的 Logto 服务端域名,需要反向代理到 Logto API 服务端口,默认为 `3001`
- `lobe-auth-ui.example.com`:为你的 Logto UI 域名,需要反向代理到 Logto WebUI 服务端口,默认为 `3002`
- `lobe-s3-api.example.com`:为你的 MinIO API 域名,需要反向代理到 MinIO API 服务端口,默认为 `9000`
- `lobe-s3-ui.example.com`:可选,为你的 MinIO UI 域名,需要反向代理到 MinIO WebUI 服务端口,默认为 `9001`
- `auth.example.com`:为你的 Logto UI 域名,需要反向代理到 Logto WebUI 服务端口,默认为 `8000`
- `minio.example.com`:为你的 MinIO API 域名,需要反向代理到 MinIO API 服务端口,默认为 `9000`
- `minio-ui.example.com`可选,为你的 MinIO UI 域名,需要反向代理到 MinIO WebUI 服务端口,默认为 `9001`
以及不进行反向代理的服务端口:
- `postgresql`:你的 PostgreSQL 数据库服务端口,默认为 `5432`
<Callout type="warning">
请务必注意,CORS 跨域是在 MinIO / Logto 服务端内部配置的,请勿在你的反向代理中额外配置 CORS,这会导致错误。
对于 minio 非 443 端口时,Host 必须是 `$http_host`(带端口号),否则会 403 错误:`proxy_set_header Host $http_host`。
如果你需要配置 SSL 证书,请统一在外层的 Nginx 反向代理中配置,而不是在 MinIO 中配置。
</Callout>
### 配置文件
#### 配置文件
```sh
curl -fsSL https://raw.githubusercontent.com/lobehub/lobe-chat/HEAD/docker-compose/production/logto/docker-compose.yml > docker-compose.yml
curl -fsSL https://raw.githubusercontent.com/lobehub/lobe-chat/HEAD/docker-compose/production/logto/.env.zh-CN.example > .env
bash <(curl -fsSL https://lobe.li/setup.sh) -l zh_CN
docker compose up -d
```
配置文件包括 `.env` 和 `docker-compose.yml` 两个文件,其中 `.env` 文件用于配置 LobeChat 的环境变量,`docker-compose.yml` 文件用于配置 Postgres、MinIO 和 Logto 服务。
注意保存此时生成的新密码!
一般情况下,你只应修改其中的域名和账号密码等敏感信息,其他配置项请按照默认值进行配置。
运行后会获得三个文件
它们的示例配置请参见本文附录。
- init\_data.json
- docker-compose.yml
- .env
### Postgres 数据库配置
接下来,修改配置文件以实现域名发布
1. 修改 `docker-compose.yml` 文件
1. 修改 `minio`的`MINIO_API_CORS_ALLOW_ORIGIN`字段。
```yaml
'MINIO_API_CORS_ALLOW_ORIGIN=https://lobe.example.com'
```
2. 修改`casdoor`的`origin`字段。
```yaml
origin: 'https://auth.example.com'
```
3. 修改`lobe`的`environment`字段。
```yaml
# - 'APP_URL=http://localhost:3210'
- 'APP_URL=https://lobe.example.com'
- 'NEXT_AUTH_SSO_PROVIDERS=casdoor'
- 'KEY_VAULTS_SECRET=Kix2wcUONd4CX51E/ZPAd36BqM4wzJgKjPtz2sGztqQ='
- 'NEXT_AUTH_SECRET=NX2kaPE923dt6BL2U8e9oSre5RfoT7hg'
# - 'AUTH_URL=http://localhost:${LOBE_PORT}/api/auth'
- 'AUTH_URL=https://lobe.example.com/api/auth'
# - 'AUTH_CASDOOR_ISSUER=http://localhost:${CASDOOR_PORT}'
- 'AUTH_CASDOOR_ISSUER=https://auth.example.com'
- 'DATABASE_URL=postgresql://postgres:${POSTGRES_PASSWORD}@postgresql:5432/${LOBE_DB_NAME}'
# - 'S3_ENDPOINT=http://localhost:${MINIO_PORT}'
- 'S3_ENDPOINT=https://minio.example.com'
- 'S3_BUCKET=${MINIO_LOBE_BUCKET}'
# - 'S3_PUBLIC_DOMAIN=http://localhost:${MINIO_PORT}'
- 'S3_PUBLIC_DOMAIN=https://minio.example.com'
- 'S3_ENABLE_PATH_STYLE=1'
- 'LLM_VISION_IMAGE_USE_BASE64=1'
```
2. 修改 `.env` 文件
<Callout type="info">
为了安全起见,修改 `.env` 文件中的 ROOT USER 的字段
</Callout>
```sh
# MinIO S3 configuration
MINIO_ROOT_USER=XXXX
MINIO_ROOT_PASSWORD=XXXX
```
#### Postgres 数据库配置
你可以使用下述指令检查日志:
@@ -253,52 +595,36 @@ sudo rm -rf ./data # 移除挂载的数据库数据
docker compose up -d # 重新启动
```
### 登录鉴权服务配置
本文以 Logto 为例,解释配置过程,如果你使用的是其他登录鉴权服务商,请参照其文档进行配置。
<Callout type="warning">
请记得注意配置对应登录鉴权服务提供商的 CORS 跨域配置,以确保 LobeChat 能够正常访问登录鉴权服务。
在本文中,你需要允许 `https://lobe.example.com` 的跨域请求。
</Callout>
#### 登录鉴权服务配置
你需要首先访问 WebUI 来进行配置:
- 如果你按照前文配置了反向代理,打开 `https://lobe-auth-ui.example.com`
- 否则,请在进行端口映射后,打开 `http://localhost:3002`
- 如果你按照前文配置了反向代理,打开 `https://auth.example.com`
- 否则,请在进行端口映射后,打开 `http://localhost:8000`
1. 注册一个新账户,首个注册的账户将自动成为管理员
登录管理员账户
2. 在 `Applications` 里创建一个 `Next.js (App Router)` 应用,名称随意
- 默认用户名为 admin
- 默认密码为 下载配置文件时生成的随机密码。如忘记可到 `init_data.json` 文件中找回
3. 配置 `Redirect URI` 为 `https://lobe.example.com/api/auth/callback/logto``Post sign-out redirect URI` 为 `https://lobe.example.com/`
登入后执行如下操作
4. 配置 `CORS allowed origins` 为 `https://lobe.example.com`
1. 在 `用户管理 -> 组织` 中,添加一个新的组织。名称与显示名称为 `Lobe Users`。其余保持默认即可。
2. 在 `身份认证 -> 应用` 中,添加一个新的应用。
<Image alt="配置 Logto" src="https://github.com/user-attachments/assets/5b816379-c07b-40ea-bde4-df16e2e4e523" />
- 名称与显示名称为 `LobeChat`。
- 组织为 `Lobe Users`。
- 重定向 URLS 中添加一行 为 `https://lobe.example.com/api/auth/callback/casdoor`。
- 关闭除密码外的登录方式 。
- 将客户端 ID 和客户端密钥分别填入 `.env`中的 `AUTH_CASDOOR_ID` 和 `AUTH_CASDOOR_SECRET` 中。
- (可选) 仿照`built-in`应用的配置,来设计登录和注册的页面外观。
- 保存并退出。
5. 获取 `App ID` 和 `App secrets`,填入你的 `.env` 文件中的 `AUTH_LOGTO_ID` 和 `AUTH_LOGTO_SECRET` 中
6. 配置你的 `.env` 文件中 `AUTH_LOGTO_ISSUER` 为 `https://lobe-auth-api.example.com/oidc`
<Image alt="配置 Logto 环境变量" src="https://github.com/user-attachments/assets/15af6d94-af4f-4aa9-bbab-7a46e9f9e837" />
7. 可选,在左侧 `Sign-in experience` 面板的 `Sign-up and sign-in - Advanced Options` 中关闭 `Enable user registration`,禁止用户自行注册。如果你禁止了用户自行注册,那么你只能在左侧 `User Management` 里手动添加用户。
<Image alt="关闭用户注册" src="https://github.com/user-attachments/assets/6b2e6f7b-fec5-41c6-864a-a1add40f74a0" />
8. 重启 LobeChat 服务:
```sh
docker compose up -d
```
<Callout type="warning">
请注意,管理员账户不等同于注册用户,不要用你的管理员账户登录 LobeChat,那样只会报错。
<Callout type="info">
通过上述步骤,可以避免默认情况下所有用户均为管理员导致的不安全的情况。
</Callout>
### S3 对象存储服务配置
#### S3 对象存储服务配置
本文以 MinIO 为例,解释配置过程,如果你使用的是其他 S3 服务商,请参照其文档进行配置。
@@ -312,26 +638,16 @@ docker compose up -d # 重新启动
你需要首先访问 WebUI 来进行配置:
- 如果你按照前文配置了反向代理,打开 `https://lobe-s3-ui.example.com`
- 如果你按照前文配置了反向代理,打开 `https://minio-ui.example.com`
- 否则,请在进行端口映射后,打开 `http://localhost:9001`
1. 在登录界面输入你设置的 `MINIO_ROOT_USER` 和 `MINIO_ROOT_PASSWORD`,然后点击登录
2. 在左侧面板 Administer / Buckets 中点击 `Create Bucket`,输入 `lobe`(对应你的 `S3_BUCKET` 环境变量),然后点击 `Create`
<Image alt="创建 MinIO 桶" src="https://github.com/user-attachments/assets/79f44a13-00d3-4302-a6bc-5f4c6cdbffab" />
3. 选中你的桶,点击 Summary - Access Policy,编辑,选择 `Custom`,输入 `minio-bucket-config.json` 中的内容(见附录)并保存(同样默认你的桶名为 `lobe`):
<Image alt="选中 MinIO 桶策略" src="https://github.com/user-attachments/assets/57032a82-7604-45d3-ba12-884af6fbcb7c" />
<Image alt="配置 MinIO 桶策略" src="https://github.com/user-attachments/assets/d8109f4e-71fc-4ba8-8402-ede92669d5e0" />
4. 在左侧面板 User / Access Keys 处,点击 `Create New Access Key`,无需额外修改,将生成的 `Access Key` 和 `Secret Key` 填入你的 `.env` 文件中的 `S3_ACCESS_KEY_ID` 和 `S3_SECRET_ACCESS_KEY` 中
2. 在左侧面板 User / Access Keys 处,点击 `Create New Access Key`,无需额外修改,将生成的 `Access Key` 和 `Secret Key` 填入你的 `.env` 文件中的 `S3_ACCESS_KEY_ID` 和 `S3_SECRET_ACCESS_KEY` 中
<Image alt="创建 MinIO 访问密钥" src="https://github.com/user-attachments/assets/72f02ce5-9991-425b-9864-9113ee1ed6bf" />
5. 重启 LobeChat 服务:
3. 重启 LobeChat 服务:
```sh
docker compose up -d
@@ -339,75 +655,68 @@ docker compose up -d # 重新启动
至此,你已经成功部署了 LobeChat 数据库版本,你可以通过 `https://lobe.example.com` 访问你的 LobeChat 服务。
## 附录
#### 配置文件
为方便一键复制,在此汇总域名方式下生产部署配置服务端数据库所需要的示例配置文件(对于本地快速启动、局域网 IP 访问等场景,请直接使用 `setup.sh` 脚本生成后自行修改):
为方便一键复制,在此汇总基于 casdoor 鉴权方案的域名方式下生产部署配置服务端数据库所需要的示例配置文件
### `.env`
- `.env`
```sh
# 必填,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 作为鉴权服务提供商)
# Proxy, if you need it
# 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 中指定此模型
# 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
# Postgres related, which are the necessary environment variables for DB
LOBE_DB_NAME=lobechat
POSTGRES_PASSWORD=uWNZugjBqixf8dxC
# Casdoor secret
AUTH_CASDOOR_ID=943e627d79d5dd8a22a1
AUTH_CASDOOR_SECRET=6ec24ac304e92e160ef0d0656ecd86de8cb563f1
# MinIO S3 configuration
MINIO_ROOT_USER=Joe
MINIO_ROOT_PASSWORD=Crj1570768
# Configure the bucket information of MinIO
MINIO_LOBE_BUCKET=lobe
S3_ACCESS_KEY_ID=dB6Uq9CYZPdWSZouPyEd
S3_SECRET_ACCESS_KEY=aPBW8CVULkh8bw1GatlT0GjLihcXHLNwRml4pieS
```
### `docker-compose.yml`
- `docker-compose.yml`
```yaml
name: lobe-chat-database
services:
network-service:
image: alpine
container_name: lobe-network
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:pg16
container_name: lobe-postgres
@@ -416,57 +725,88 @@ services:
volumes:
- './data:/var/lib/postgresql/data'
environment:
- 'POSTGRES_DB=lobe'
- 'POSTGRES_PASSWORD=uWNZugjBqixf8dxC'
- '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
ports:
- '9000:9000'
- '9001:9001'
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_DOMAIN=lobe-s3-api.example.com'
- 'MINIO_API_CORS_ALLOW_ORIGIN=https://lobe.example.com' # Your LobeChat's domain name.
- 'MINIO_ROOT_USER=${MINIO_ROOT_USER}'
- 'MINIO_ROOT_PASSWORD=${MINIO_ROOT_PASSWORD}'
# - 'MINIO_API_CORS_ALLOW_ORIGIN=http://localhost:${LOBE_PORT}'
- 'MINIO_API_CORS_ALLOW_ORIGIN=https://lobe.example.com'
restart: always
command: >
server /etc/minio/data --address ":9000" --console-address ":9001"
server /etc/minio/data --address ":${MINIO_PORT}" --console-address ":9001"
logto:
image: svhd/logto
container_name: lobe-logto
ports:
- '3001:3001'
- '3002:3002'
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:
- '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']
RUNNING_IN_DOCKER: 'true'
driverName: 'postgres'
dataSourceName: 'user=postgres password=${POSTGRES_PASSWORD} host=postgresql port=5432 sslmode=disable dbname=casdoor'
# origin: 'http://localhost:${CASDOOR_PORT}'
origin: 'https://auth.example.com'
runmode: 'dev'
volumes:
- ./init_data.json:/init_data.json
lobe:
image: lobehub/lobe-chat-database
container_name: lobe-chat
ports:
- '3210:3210'
container_name: lobe-chat-database
network_mode: 'service:network-service'
depends_on:
- postgresql
- minio
- logto
postgresql:
condition: service_healthy
network-service:
condition: service_started
minio:
condition: service_started
casdoor:
condition: service_started
environment:
# - 'APP_URL=http://localhost:3210'
- 'APP_URL=https://lobe.example.com'
- 'NEXT_AUTH_SSO_PROVIDERS=casdoor'
- 'KEY_VAULTS_SECRET=Kix2wcUONd4CX51E/ZPAd36BqM4wzJgKjPtz2sGztqQ='
- 'NEXT_AUTH_SECRET=NX2kaPE923dt6BL2U8e9oSre5RfoT7hg'
# - 'AUTH_URL=http://localhost:${LOBE_PORT}/api/auth'
- 'AUTH_URL=https://lobe.example.com/api/auth'
# - 'AUTH_CASDOOR_ISSUER=http://localhost:${CASDOOR_PORT}'
- 'AUTH_CASDOOR_ISSUER=https://auth.example.com'
- 'DATABASE_URL=postgresql://postgres:${POSTGRES_PASSWORD}@postgresql:5432/${LOBE_DB_NAME}'
# - 'S3_ENDPOINT=http://localhost:${MINIO_PORT}'
- 'S3_ENDPOINT=https://minio.example.com'
- 'S3_BUCKET=${MINIO_LOBE_BUCKET}'
# - 'S3_PUBLIC_DOMAIN=http://localhost:${MINIO_PORT}'
- 'S3_PUBLIC_DOMAIN=https://minio.example.com'
- 'S3_ENABLE_PATH_STYLE=1'
- 'LLM_VISION_IMAGE_USE_BASE64=1'
env_file:
- .env
restart: always
@@ -476,50 +816,15 @@ volumes:
driver: local
s3_data:
driver: local
```
### `minio-bucket-config.json`
```json
{
"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"
}
networks:
lobe-network:
driver: bridge
```
[docker-pulls-link]: https://hub.docker.com/r/lobehub/lobe-chat-database
[docker-pulls-shield]: https://img.shields.io/docker/pulls/lobehub/lobe-chat-database?color=45cc11&labelColor=black&style=flat-square
[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
[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
[docker-size-shield]: https://img.shields.io/docker/image-size/lobehub/lobe-chat-database?color=369eff&labelColor=black&style=flat-square&sort=semver
+2 -2
View File
@@ -165,6 +165,6 @@ $ docker run -it -d --name lobe-chat-database -p 3210:3210 \
[docker-pulls-link]: https://hub.docker.com/r/lobehub/lobe-chat-database
[docker-pulls-shield]: https://img.shields.io/docker/pulls/lobehub/lobe-chat-database?color=45cc11&labelColor=black&style=flat-square
[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
[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
[docker-size-shield]: https://img.shields.io/docker/image-size/lobehub/lobe-chat-database?color=369eff&labelColor=black&style=flat-square&sort=semver
@@ -166,6 +166,6 @@ $ docker run -it -d --name lobe-chat-database -p 3210:3210 \
[docker-pulls-link]: https://hub.docker.com/r/lobehub/lobe-chat-database
[docker-pulls-shield]: https://img.shields.io/docker/pulls/lobehub/lobe-chat-database?color=45cc11&labelColor=black&style=flat-square
[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
[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
[docker-size-shield]: https://img.shields.io/docker/image-size/lobehub/lobe-chat-database?color=369eff&labelColor=black&style=flat-square&sort=semver
+88 -5
View File
@@ -1,15 +1,98 @@
---
title: Deploy LobeChat on SealOS
title: Deploy Lobe Chat Database Version on Sealos
description: >-
Learn how to deploy LobeChat on SealOS with ease. Follow the provided steps to
Learn how to deploy LobeChat on Sealos with ease. Follow the provided steps to
set up LobeChat and start using it efficiently.
tags:
- Deploy LobeChat
- SealOS Deployment
- Sealos Deployment
- OpenAI API Key
- Custom Domain Binding
---
# Deploy LobeChat on SealOS
# Deploying Lobe Chat Database Version on Sealos
<Callout type="info">
This article assumes that you are familiar with the basic principles and processes of deploying
the LobeChat server database version, so it only includes content related to core environment
variable configuration. If you are not familiar with the deployment principles of the LobeChat
server database version, please refer to [Deploying Server
Database](/docs/self-hosting/server-database) first.
</Callout>
The application on Sealos includes 4 services:
- Logto for authrization(need to deploy separately).
- PostgreSQL with Vector plugin for data storage and indexing.
- One object storage Bucket.
- Lobe Chat database version.
Here is the process for deploying the Lobe Chat server database version on Sealos:
## Pre-Deployment Setup
**Step 1**Click the button below to deploy a Logto service:
[![](https://raw.githubusercontent.com/labring-actions/templates/main/Deploy-on-Sealos.svg)](https://template.usw.sealos.io/deploy?templateName=logto)
> Logto is an open-source identity and access management (IAM) platform, an open-source alternative to Auth0, designed to help developers quickly build secure and scalable login and registration systems and user identity systems.
**Step 2**After the deployment is complete, wait for all the components of the application to be in the "Running" state, click the application's "Details" button to enter the application details page.
![Logto application deployment status on Sealos](https://raw.githubusercontent.com/labring-actions/templates/main/template/lobe-chat-db/images/logto-app-deployment-status-sealos-en.png)
Click the public address corresponding to port 3002, you can use the public address to access the Logto service.
![Logto service public address](https://raw.githubusercontent.com/labring-actions/templates/main/template/lobe-chat-db/images/logto-public-address-en.png)
**Step 3**Register a management account, then click the `Applications` menu on the left, enter the application list page. Click the `Create application` button in the upper right corner to create an application.
![Logto application list page](https://raw.githubusercontent.com/labring-actions/templates/main/template/lobe-chat-db/images/logto-application-list.png)
Select `Next.js (App Router)` as the framework, then click the `Start building` button.
![Logto create application page](https://raw.githubusercontent.com/labring-actions/templates/main/template/lobe-chat-db/images/logto-create-application.png)
**Step 4**In the pop-up window, fill in the application name as `Lobe Chat`, then click the `Create application` button. Next, do not fill in anything, just click the bottom `Finish and done` button to create it.
![Logto create application done page](https://raw.githubusercontent.com/labring-actions/templates/main/template/lobe-chat-db/images/logto-create-application-done.png)
**Step 5**In the `Lobe Chat` application, find the following three parameters, which will be used later when deploying the Lobe Chat database version.
![Logto application detail page](https://raw.githubusercontent.com/labring-actions/templates/main/template/lobe-chat-db/images/logto-app-detail.png)
## Deploy Lobe Chat Database Version
**Step 1**Click the button below to visit the Lobe Chat database version application deployment page:
[![](https://raw.githubusercontent.com/labring-actions/templates/main/Deploy-on-Sealos.svg)](https://template.usw.sealos.io/deploy?templateName=lobe-chat-db)
Fill in the following three required parameters:
- `AUTH_LOGTO_ID`The App ID of the Logto application
- `AUTH_LOGTO_SECRET`The App Secret of the Logto application
- `AUTH_LOGTO_ISSUER`The Issuer endpoint of the Logto application
**Step 2**Click the `Deploy App` button, after the deployment is complete, wait for all the components of the application to be in the "Running" state, click the application's "Details" button to enter the application details page.
![Lobe Chat database version deployment done page](https://raw.githubusercontent.com/labring-actions/templates/main/template/lobe-chat-db/images/lobe-chat-db-deployment-done-en.png)
**Step 3**Find the public address, copy it, and use it later.
## Post-Deployment Configuration
**Step 1**Enter the `Applications` page of Logto, find the `Lobe Chat` application, click to enter the application details page.
**Step 2**In the `Settings` page, find the `Redirect URI` and `Post sign-out redirect URI` parameters, fill in the following values:
- Redirect URI: `https://<lobe-chat-db-public-address>/api/auth/callback/logto`
- Post sign-out redirect URI: `https://<lobe-chat-db-public-address>`
**Step 3**Click the `Save changes` button to save the configuration.
**Step 4**Now, access the Lobe Chat database version through `https://<lobe-chat-db-public-address>`, click the avatar in the upper left corner, and then click the [Log in / Sign up] button.
**Step 5**Next, you will be redirected to the Logto login page, click the [Create account] button to register an account.
**Step 6**After registration, you can use Logto to login to the Lobe Chat database version.
TODO
@@ -1,14 +1,114 @@
---
title: 在 SealOS 上部署 LobeChat
description: 学习如何在 SealOS 上部署 LobeChat,包括准备 OpenAI API Key、点击部署按钮、绑定自定义域名等操作。
title: 在 Sealos 上部署 LobeChat 数据库版
description: 学习如何在 Sealos 上部署 LobeChat,包括准备 OpenAI API Key、点击部署按钮、绑定自定义域名等操作。
tags:
- SealOS
- Sealos
- LobeChat
- OpenAI API Key
- 部署流程
- 自定义域名
---
# 使用 SealOS 部署 LobeChat 数据库版
# 使用 Sealos 部署 LobeChat 数据库版
TODO
<Callout type="info">
本文假设你已经熟悉 Lobe Chat
服务器数据库版的部署基本原理和流程,因此只包含与核心环境变量配置相关的内容。如果你对 Lobe Chat
服务器数据库版的部署原理不熟悉,请先参考[部署服务器数据库](/zh/docs/self-hosting/server-database)。
</Callout>
在 Sealos 的 Lobe Chat 数据库版应用中总共包含有以下四个服务:
- Logto 提供身份校验(需额外部署)
- 带有 Vector 插件的 PostgreSQL 来做数据存储和向量化
- 一个对象存储 Bucket
- LobeChat Database 的实例
这里是在 Sealos 上部署 Lobe Chat 服务器数据库版的流程:
## 预部署配置
在开始部署之前,您需要完成以下配置:
<Steps>
### 部署 Logto 服务
点击下方按钮部署一个 Logto 服务:
[![](https://raw.githubusercontent.com/labring-actions/templates/main/Deploy-on-Sealos.svg)](https://template.hzh.sealos.run/deploy?templateName=logto)
> Logto 是一个开源的身份与访问管理(IAM)平台,是 Auth0 的开源替代方案,旨在帮助开发者快速构建安全、可扩展的登录注册系统和用户身份体系。
部署完成后,等待应用的所有组件状态都变成“运行中”,点击应用的【详情】按钮,进入应用详情页面。
![Logto 应用详情页面部署完成状态](https://raw.githubusercontent.com/labring-actions/templates/main/template/lobe-chat-db/images/logto-app-deployment-status-sealos.png)
点击 3002 端口对应的公网地址,即可使用公网域名访问 Logto 服务。
![Logto 服务公网地址](https://raw.githubusercontent.com/labring-actions/templates/main/template/lobe-chat-db/images/logto-public-address.png)
### 创建 Application
注册一个管理员账号,然后点击左侧的 `Applications` 菜单,进入应用列表页面。再点击右上角的 `Create application` 按钮创建应用。
![Logto 应用列表页面](https://raw.githubusercontent.com/labring-actions/templates/main/template/lobe-chat-db/images/logto-application-list.png)
选择 `Next.js (App Router)` 作为框架,然后点击 `Start building` 按钮。
![Logto 创建应用页面](https://raw.githubusercontent.com/labring-actions/templates/main/template/lobe-chat-db/images/logto-create-application.png)
在弹窗中填写应用的名称为 `Lobe Chat`,然后点击 `Create application` 按钮。接下来啥也不用填,直接点击底部的 `Finish and done` 按钮就创建完成了。
![Logto 创建应用完成页面](https://raw.githubusercontent.com/labring-actions/templates/main/template/lobe-chat-db/images/logto-create-application-done.png)
在 `Lobe Chat` 应用中找到以下三个参数,后面部署 Lobe Chat 数据库版时需要用到。
![Logto 应用详情页面](https://raw.githubusercontent.com/labring-actions/templates/main/template/lobe-chat-db/images/logto-app-detail.png)
</Steps>
## 部署 Lobe Chat 数据库版
点击下方按钮访问 Lobe Chat 数据库版应用部署页面:
[![](https://raw.githubusercontent.com/labring-actions/templates/main/Deploy-on-Sealos.svg)](https://template.hzh.sealos.run/deploy?templateName=lobe-chat-db)
填入三个必填参数:
- `AUTH_LOGTO_ID`Logto 应用的 App ID
- `AUTH_LOGTO_SECRET`Logto 应用的 App Secret
- `AUTH_LOGTO_ISSUER`Logto 应用的 Issuer endpoint
点击【部署】按钮,部署完成后,等待应用的所有组件状态都变成“运行中”,点击应用的【详情】按钮,进入应用详情页面。
![Lobe Chat 数据库版部署完成页面](https://raw.githubusercontent.com/labring-actions/templates/main/template/lobe-chat-db/images/lobe-chat-db-deployment-done.png)
找到公网地址,复制下来,后面需要用到。
![Lobe Chat 数据库版公网地址](https://raw.githubusercontent.com/labring-actions/templates/main/template/lobe-chat-db/images/lobe-chat-db-public-address.png)
## 部署后配置
进入 Logto 的 `Applications` 页面,找到 `Lobe Chat` 应用,点击进入应用详情页面。
在 `Settings` 页面中找到 “Redirect URI” 和 “Post sign-out redirect URI” 这两个参数,填入以下值:
- Redirect URI`https://<lobe-chat-db-public-address>/api/auth/callback/logto`
- Post sign-out redirect URI`https://<lobe-chat-db-public-address>`
其中 `https://<lobe-chat-db-public-address>` 为 Lobe Chat 数据库版的公网地址。
填完之后点击 `Save changes` 按钮保存配置。
现在通过 `https://<lobe-chat-db-public-address>` 访问 Lobe Chat 数据库版,点击左上角的头像,然后点击【登录 / 注册】按钮:
![Lobe Chat 数据库版登录页面](https://raw.githubusercontent.com/labring-actions/templates/main/template/lobe-chat-db/images/lobe-chat-db-login.png)
接下来会跳转到 Logto 的登录页面,点击【注册】注册一个账号。
![Lobe Chat 数据库版注册页面](https://raw.githubusercontent.com/labring-actions/templates/main/template/lobe-chat-db/images/lobe-chat-db-register.png)
注册完成后,即可使用 Logto 登录 Lobe Chat 数据库版。
![Lobe Chat 数据库版登录成功页面](https://raw.githubusercontent.com/labring-actions/templates/main/template/lobe-chat-db/images/lobe-chat-db-login-success.png)
@@ -98,7 +98,7 @@ tags:
### 添加 `APP_URL` 环境变量
该部分最后需要添加 `APP_UR`L 环境变量,用于指定 LobeChat 应用的 URL 地址。
该部分最后需要添加 `APP_URL` 环境变量,用于指定 LobeChat 应用的 URL 地址。
</Steps>
## 二、 配置身份验证服务
+5 -2
View File
@@ -2,20 +2,23 @@
title: 构建属于自己的 LobeChat - 自选部署平台
description: >-
选择适合自己的部署平台,构建个性化的 Lobe Chat。支持 Docker、Docker
Compose、Netlify、Railway、Repocloud、SealOS、Vercel 和 Zeabur 部署。
Compose、Netlify、Railway、Repocloud、Sealos、Vercel 和 Zeabur 部署。
tags:
- Lobe Chat
- 部署平台
- Docker
- Netlify
- Vercel
- Sealos
- 阿里云计算巢
- 个性化
- 腾讯云
- 腾讯轻量云
---
# 构建属于自己的 Lobe Chat
LobeChat 支持多种部署平台,包括 Vercel、Docker、 Docker Compose 阿里云计算巢 等,你可以选择适合自己的部署平台进行部署,构建属于自己的 Lobe Chat。
LobeChat 支持多种部署平台,包括 Vercel、Docker、 Docker Compose 阿里云计算巢 和腾讯轻量云 等,你可以选择适合自己的部署平台进行部署,构建属于自己的 Lobe Chat。
## 快速部署
+16
View File
@@ -77,3 +77,19 @@ It is a mechanism that penalizes frequently occurring new vocabulary in the text
- `0.0` When the morning sun poured into the small diner, a tired postman appeared at the door, carrying a bag of letters in his hands. The owner warmly prepared a breakfast for him, and he started sorting the mail while enjoying his breakfast. **(The highest frequency word is "of", accounting for 8.45%)**
- `1.0` A girl in deep sleep was woken up by a warm ray of sunshine, she saw the first ray of morning light, surrounded by birdsong and flowers, everything was full of vitality. (The highest frequency word is "of", accounting for 5.45%)
- `2.0` Every morning, he would sit on the balcony to have breakfast. Under the soft setting sun, everything looked very peaceful. However, one day, when he was about to pick up his breakfast, an optimistic little bird flew by, bringing him a good mood for the day. (The highest frequency word is "of", accounting for 4.94%)
<br />
### `reasoning_effort`
The `reasoning_effort` parameter controls the strength of the reasoning process. This setting affects the depth of reasoning the model performs when generating a response. The available values are **`low`**, **`medium`**, and **`high`**, with the following meanings:
- **low**: Lower reasoning effort, resulting in faster response times. Suitable for scenarios where quick responses are needed, but it may sacrifice some reasoning accuracy.
- **medium** (default): Balances reasoning accuracy and response speed, suitable for most scenarios.
- **high**: Higher reasoning effort, producing more detailed and complex responses, but slower response times and greater token consumption.
By adjusting the `reasoning_effort` parameter, you can find an appropriate balance between response speed and reasoning depth based on your needs. For example, in conversational scenarios, if fast responses are a priority, you can choose low reasoning effort; if more complex analysis or reasoning is needed, you can opt for high reasoning effort.
<Callout>
This parameter is only applicable to reasoning models, such as OpenAI's `o1`, `o1-mini`, `o3-mini`, etc.
</Callout>
+16
View File
@@ -72,3 +72,19 @@ Presence Penalty 参数可以看作是对生成文本中重复内容的一种惩
- `0.0` 当清晨的阳光洒进小餐馆时,一名疲倦的邮递员出现在门口,他的手中提着一袋信件。店主热情地为他准备了一份早餐,他在享用早餐的同时开始整理邮件。**(频率最高的词是 “的”,占比 8.45%)**
- `1.0` 一个深度睡眠的女孩被一阵温暖的阳光唤醒,她看到了早晨的第一缕阳光,周围是鸟语花香,一切都充满了生机。*(频率最高的词是 “的”,占比 5.45%)*
- `2.0` 每天早上,他都会在阳台上坐着吃早餐。在柔和的夕阳照耀下,一切看起来都非常宁静。然而有一天,当他准备端起早餐的时候,一只乐观的小鸟飞过,给他带来了一天的好心情。 *(频率最高的词是 “的”,占比 4.94%)*
<br />
### `reasoning_effort`
`reasoning_effort` 参数用于控制推理过程的强度。此参数的设置会影响模型在生成回答时的推理深度。可选值包括 **`low`**、**`medium`** 和 **`high`**,具体含义如下:
- **low(低)**:推理强度较低,生成速度较快,适用于需要快速响应的场景,但可能牺牲一定的推理精度。
- **medium(中,默认值)**:平衡推理精度与响应速度,适用于大多数场景。
- **high(高)**:推理强度较高,生成更为详细和复杂的回答,但响应时间较长,且消耗更多的 Token。
通过调整 `reasoning_effort` 参数,可以根据需求在生成速度与推理深度之间找到适合的平衡。例如,在对话场景中,如果更关注快速响应,可以选择低推理强度;如果需要更复杂的分析或推理,可以选择高推理强度。
<Callout>
该参数仅适用于推理模型,如 OpenAI 的 `o1`、`o1-mini`、`o3-mini` 等。
</Callout>
+1 -1
View File
@@ -19,7 +19,7 @@ tags:
borderless
cover
src={
'https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/268670869-f1ffbf66-42b6-42cf-a937-9ce1f8328514.png'
'https://github.com/user-attachments/assets/b3ab6e35-4fbc-468d-af10-e3e0c687350f'
}
/>
+1 -1
View File
@@ -18,7 +18,7 @@ tags:
alt={'助手市场'}
cover
src={
'https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/268670869-f1ffbf66-42b6-42cf-a937-9ce1f8328514.png'
'https://github.com/user-attachments/assets/b3ab6e35-4fbc-468d-af10-e3e0c687350f'
}
/>
+23
View File
@@ -0,0 +1,23 @@
---
title: Artifacts Support
description: >-
Discover the power of Claude Artifacts for dynamic content creation and
visualization.
tags:
- Claude Artifacts
- LobeChat
- AI Interaction
- Dynamic Content
---
# Artifacts Support
<Image alt={'Artifacts'} cover src={'https://github.com/user-attachments/assets/7f95fad6-b210-4e6e-84a0-7f39e96f3a00'} />
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
+22
View File
@@ -0,0 +1,22 @@
---
title: 支持白板 (Artifacts)
description: 体验 LobeChat 的 Claude Artifacts,实时创建和可视化内容。
tags:
- Claude Artifacts
- LobeChat
- 实时创作
- 动态 SVG
- 交互式 HTML
---
# 支持白板 (Artifacts)
<Image alt={'Artifacts'} cover src={'https://github.com/user-attachments/assets/7f95fad6-b210-4e6e-84a0-7f39e96f3a00'} />
体验集成于 LobeChat 的 Claude Artifacts 能力。这项革命性功能突破了 AI 人机交互的边界,让您能够实时创建和可视化各种格式的内容。
以前所未有的灵活度进行创作与可视化:
- 生成并展示动态 SVG 图形
- 实时构建与渲染交互式 HTML 页面
- 输出多种格式的专业文档
+1 -1
View File
@@ -17,7 +17,7 @@ tags:
# Support Multi-User Management
<Image alt={'Identity Verification System'} cover src={'https://github.com/lobehub/lobe-chat/assets/17870709/8ce70e15-40df-451e-b700-66090fe5b8c2'} />
<Image alt={'Identity Verification System'} cover src={'https://github.com/user-attachments/assets/80bb232e-19d1-4f97-98d6-e291f3585e6d'} />
In modern applications, user management and identity verification are essential functions. To meet the diverse needs of different users, LobeChat provides two main user authentication and management solutions: `next-auth` and `Clerk`. Whether you are looking for simple user registration and login or need advanced multi-factor authentication and user management, LobeChat can flexibly accommodate your requirements.
+1 -1
View File
@@ -12,7 +12,7 @@ tags:
# 身份验证系统 / 多用户管理支持
<Image alt={'身份验证系统'} cover src={'https://github.com/lobehub/lobe-chat/assets/17870709/8ce70e15-40df-451e-b700-66090fe5b8c2'} />
<Image alt={'身份验证系统'} cover src={'https://github.com/user-attachments/assets/80bb232e-19d1-4f97-98d6-e291f3585e6d'} />
在现代应用中,用户管理和身份验证是至关重要的功能。为满足不同用户的多样化需求,LobeChat 提供了两种主要的用户认证和管理方案:`next-auth` 和 `Clerk`。无论您是追求简便的用户注册登录,还是需要更高级的多因素认证和用户管理,LobeChat 都可以灵活实现。
@@ -0,0 +1,21 @@
---
title: Branching Conversations
description: Explore dynamic AI chats with Branching Conversations for deeper interactions.
tags:
- Branching Conversations
- AI Chat
- Dynamic Conversations
---
# Branching Conversations
<Image alt={'Branching Conversations'} cover src={'https://github.com/user-attachments/assets/92f72082-02bd-4835-9c54-b089aad7fd41'} />
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.
@@ -0,0 +1,21 @@
---
title: 分支对话
description: 探索分支对话功能,提升 AI 交流的自然性与灵活性。
tags:
- 分支对话
- AI 交流
- 对话模式
---
# 分支对话
<Image alt={'Branching Conversations'} cover src={'https://github.com/user-attachments/assets/92f72082-02bd-4835-9c54-b089aad7fd41'} />
为您带来更自然、更灵活的 AI 对话方式。通过分支对话功能,您的讨论可以像人类对话一样自然延伸。在任意消息处创建新的对话分支,让您在保留原有上下文的同时,自由探索不同的对话方向。
两种强大模式任您选择:
- **延续模式**:无缝延展当前讨论,保持宝贵的对话上下文
- **独立模式**:基于任意历史消息,开启全新话题探讨
这项突破性功能将线性对话转变为动态的树状结构,让您能够更深入地探索想法,实现更高效的互动体验。
+18
View File
@@ -0,0 +1,18 @@
---
title: Chain of Thought
description: >-
Explore AI's decision-making with Chain of Thought visualization for clear
insights.
tags:
- AI Reasoning
- Chain of Thought
- CoT Visualization
---
# Chain of Thought
<Image alt={'Chain of Thought'} cover src={'https://github.com/user-attachments/assets/f74f1139-d115-4e9c-8c43-040a53797a5e'} />
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.
+18
View File
@@ -0,0 +1,18 @@
---
title: 思维链 (CoT)
description: 体验思维链 (CoT) 的 AI 推理过程,了解复杂问题的解析步骤。
tags:
- 思维链
- AI 推理
- 可视化
- 逻辑步骤
- 决策过程
---
# 思维链 (CoT)
<Image alt={'思维链 (CoT)'} cover src={'https://github.com/user-attachments/assets/f74f1139-d115-4e9c-8c43-040a53797a5e'} />
体验前所未有的 AI 推理过程。通过创新的思维链(CoT)可视化功能,您可以实时观察复杂问题是如何一步步被解析的。这项突破性的功能为 AI 的决策过程提供了前所未有的透明度,让您能够清晰地了解结论是如何得出的。
通过将复杂的推理过程分解为清晰的逻辑步骤,您可以更好地理解和验证 AI 的解题思路。无论您是在调试问题、学习知识,还是单纯对 AI 推理感兴趣,思维链可视化都能将抽象思维转化为一种引人入胜的互动体验。
+1 -1
View File
@@ -16,7 +16,7 @@ tags:
# Local / Cloud Database
<Image alt={'Local / Cloud Database'} cover src={'https://github.com/lobehub/lobe-chat/assets/17870709/c27a0234-a4e9-40e5-8bcb-42d5ce7e40f9'} />
<Image alt={'Local / Cloud Database'} cover src={'https://github.com/user-attachments/assets/f1697c8b-d1fb-4dac-ba05-153c6295d91d'} />
In modern application development, the choice of data storage solution is crucial. To meet the needs of different users, LobeChat offers flexible configurations that support both local and server-side databases. Whether you prioritize data privacy and control or seek a convenient user experience, LobeChat can provide excellent solutions for you.
+1 -1
View File
@@ -12,7 +12,7 @@ tags:
# 本地 / 云端数据存储
<Image alt={'本地 / 云端数据存储'} cover src={'https://github.com/lobehub/lobe-chat/assets/17870709/c27a0234-a4e9-40e5-8bcb-42d5ce7e40f9'} />
<Image alt={'本地 / 云端数据存储'} cover src={'https://github.com/user-attachments/assets/f1697c8b-d1fb-4dac-ba05-153c6295d91d'} />
在现代应用开发中,数据存储方案的选择至关重要。为了满足不同用户的需求,LobeChat 提供了同时支持本地数据库和服务端数据库的灵活配置。无论您是注重数据隐私与掌控,还是追求便捷的使用体验,LobeChat 都能为您提供卓越的解决方案。
+24
View File
@@ -0,0 +1,24 @@
---
title: File Upload / Knowledge Base
description: >-
Discover LobeChat's file upload and knowledge base features for enhanced user
experience.
tags:
- File Upload
- Knowledge Base
- LobeChat
- User Management
- File Management
---
# File Upload / Knowledge Base
<Image alt={'File Upload / Knowledge Base'} cover src={'https://github.com/user-attachments/assets/7da7a3b2-92fd-4630-9f4e-8560c74955ae'} />
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.
<Video src="https://github.com/user-attachments/assets/faa8cf67-e743-4590-8bf6-ebf6ccc34175" />
<Callout type={'tip'}>
Learn more on [📘 LobeChat Knowledge Base Launch — From Now On, Every Step Counts](https://lobehub.com/blog/knowledge-base)
</Callout>
@@ -0,0 +1,21 @@
---
title: 文件上传 / 知识库
description: 了解LobeChat的文件上传与知识库功能,提升对话体验。
tags:
- 文件上传
- 知识库
- LobeChat
- 对话体验
---
# 文件上传 / 知识库
<Image alt={'文件上传 / 知识库'} cover src={'https://github.com/user-attachments/assets/7da7a3b2-92fd-4630-9f4e-8560c74955ae'} />
LobeChat 支持文件上传与知识库功能,你可以上传文件、图片、音频、视频等多种类型的文件,以及创建知识库,方便用户管理和查找文件。同时在对话中使用文件和知识库功能,实现更加丰富的对话体验。
<Video src="https://github.com/user-attachments/assets/faa8cf67-e743-4590-8bf6-ebf6ccc34175" />
<Callout type={'tip'}>
查阅 [📘 LobeChat 知识库上线 —— 此刻起,跬步千里](https://lobehub.com/zh/blog/knowledge-base) 了解详情。
</Callout>
+1 -1
View File
@@ -15,7 +15,7 @@ tags:
# Local Large Language Model (LLM) Support
<Image alt={'Ollama Local Large Language Model (LLM) Support'} borderless cover src={'https://github.com/lobehub/lobe-chat/assets/28616219/ca9a21bc-ea6c-4c90-bf4a-fa53b4fb2b5c'} />
<Image alt={'Ollama Local Large Language Model (LLM) Support'} borderless cover src={' https://github.com/user-attachments/assets/1239da50-d832-4632-a7ef-bd754c0f3850'} />
<Callout>Available in >=0.127.0, currently only supports Docker deployment</Callout>
+1 -1
View File
@@ -7,7 +7,7 @@ tags:
# 支持本地大语言模型(LLM
<Image alt={'Ollama 支持本地大语言模型'} borderless cover src={'https://github.com/lobehub/lobe-chat/assets/28616219/ca9a21bc-ea6c-4c90-bf4a-fa53b4fb2b5c'} />
<Image alt={'Ollama 支持本地大语言模型'} borderless cover src={' https://github.com/user-attachments/assets/1239da50-d832-4632-a7ef-bd754c0f3850'} />
<Callout>在 >=v0.127.0 版本中可用,目前仅支持 Docker 部署</Callout>
+1 -1
View File
@@ -13,7 +13,7 @@ tags:
# Mobile Device Adaptation
<Image alt={'Mobile Device Adaptation'} cover src={'https://github.com/lobehub/lobe-chat/assets/28616219/11110732-8d5a-4049-b556-c2561cb66182'} />
<Image alt={'Mobile Device Adaptation'} cover src={'https://github.com/user-attachments/assets/32cf43c4-96bd-4a4c-bfb6-59acde6fe380'} />
LobeChat has undergone a series of optimized designs for mobile devices to enhance the user's mobile experience.
+1 -1
View File
@@ -12,7 +12,7 @@ tags:
# 移动设备适配
<Image alt={'移动端设备适配'} cover src={'https://github.com/lobehub/lobe-chat/assets/28616219/11110732-8d5a-4049-b556-c2561cb66182'} />
<Image alt={'移动端设备适配'} cover src={'https://github.com/user-attachments/assets/32cf43c4-96bd-4a4c-bfb6-59acde6fe380'} />
LobeChat 针对移动设备进行了一系列的优化设计,以提升用户的移动体验。
+2 -2
View File
@@ -18,7 +18,7 @@ tags:
# Multi-Model Service Provider Support
<Image alt={'Multi-Model Service Provider Support'} borderless cover src={'https://github.com/lobehub/lobe-chat/assets/28616219/b164bc54-8ba2-4c1e-b2f2-f4d7f7e7a551'} />
<Image alt={'Multi-Model Service Provider Support'} borderless cover src={'https://github.com/user-attachments/assets/e553e407-42de-4919-977d-7dbfcf44a821'} />
<Callout>Available in version 0.123.0 and later</Callout>
@@ -43,7 +43,7 @@ We have implemented support for the following model service providers:
- **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 with the Qwen series models, including the latest **qwen-turbo**, **qwen-plus** and **qwen-max**. [Learn more](https://help.aliyun.com/zh/dashscope/developer-reference/model-introduction)
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).
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/6157).
## Local Model Support
@@ -18,7 +18,7 @@ tags:
# 多模型服务商支持
<Image alt={'多模型服务商支持'} borderless cover src={'https://github.com/lobehub/lobe-chat/assets/28616219/b164bc54-8ba2-4c1e-b2f2-f4d7f7e7a551'} />
<Image alt={'多模型服务商支持'} borderless cover src={'https://github.com/user-attachments/assets/e553e407-42de-4919-977d-7dbfcf44a821'} />
<Callout>在 0.123.0 及以后版本中可用</Callout>
@@ -43,7 +43,7 @@ tags:
- **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)
同时,我们也在计划支持更多的模型服务商,如 Replicate 和 Perplexity 等,以进一步丰富我们的服务商库。如果你希望让 LobeChat 支持你喜爱的服务商,欢迎加入我们的[社区讨论](https://github.com/lobehub/lobe-chat/discussions/1284)。
同时,我们也在计划支持更多的模型服务商,如 Replicate 和 Perplexity 等,以进一步丰富我们的服务商库。如果你希望让 LobeChat 支持你喜爱的服务商,欢迎加入我们的[社区讨论](https://github.com/lobehub/lobe-chat/discussions/6157)。
## 本地模型支持
+2 -2
View File
@@ -20,7 +20,7 @@ tags:
borderless
cover
src={
'https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/268670883-33c43a5c-a512-467e-855c-fa299548cce5.png'
'https://github.com/user-attachments/assets/66a891ac-01b6-4e3f-b978-2eb07b489b1b'
}
/>
@@ -32,7 +32,7 @@ By utilizing plugins, LobeChat assistants can obtain and process real-time infor
In addition, these plugins are not limited to news aggregation, but can also extend to other practical functions, such as quickly searching documents, generating images, obtaining data from various platforms like Bilibili, Steam, and interacting with various third-party services.
Learn more about [plugin usage](/docs/usage/plugins/basic) by checking it out.
Learn more about [plugin usage](/docs/usage/plugins/basic-usage) by checking it out.
<Callout type={'tip'}>
To help developers better participate in this ecosystem, we provide comprehensive development
+2 -2
View File
@@ -15,7 +15,7 @@ tags:
borderless
cover
src={
'https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/268670883-33c43a5c-a512-467e-855c-fa299548cce5.png'
'https://github.com/user-attachments/assets/66a891ac-01b6-4e3f-b978-2eb07b489b1b'
}
/>
@@ -27,7 +27,7 @@ LobeChat 的插件生态系统是其核心功能的重要扩展,它极大地
此外,这些插件不仅局限于新闻聚合,还可以扩展到其他实用的功能,如快速检索文档、生成图片、获取 Bilibili 、Steam 等各种平台数据,以及与其他各式各样的第三方服务交互。
通过查看 [插件使用](/zh/docs/usage/plugins/basic) 了解更多。
通过查看 [插件使用](/zh/docs/usage/plugins/basic-usage) 了解更多。
<Callout type={'tip'}>
为了帮助开发者更好地参与到这个生态中来,我们在提供了全面的开发资源。这包括详尽的组件开发文档、功能齐全的软件开发工具包(SDK),以及样板示例,这些都是为了简化开发过程,降低开发者的入门门槛。
+1 -1
View File
@@ -14,7 +14,7 @@ tags:
# Progressive Web App (PWA)
<Image alt={'Progressive Web App (PWA)'} borderless cover src={'https://github.com/lobehub/lobe-chat/assets/28616219/ecc8364a-cfc4-4a3d-b6fd-68b2d9bc5f0d'} />
<Image alt={'Progressive Web App (PWA)'} borderless cover src={'https://github.com/user-attachments/assets/9647f70f-b71b-43b6-9564-7cdd12d1c24d'} />
We understand the importance of providing a seamless experience for users in today's multi-device environment. To achieve this, we have adopted Progressive Web App [PWA](https://support.google.com/chrome/answer/9658361) technology, which is a modern web technology that elevates web applications to a near-native app experience. Through PWA, LobeChat is able to provide a highly optimized user experience on both desktop and mobile devices, while maintaining lightweight and high performance characteristics. Visually and perceptually, we have also carefully designed it to ensure that its interface is indistinguishable from a native app, providing smooth animations, responsive layouts, and adaptation to different screen resolutions of various devices.
+1 -1
View File
@@ -14,7 +14,7 @@ tags:
# 渐进式 Web 应用(PWA
<Image alt={'渐进式 Web 应用(PWA'} borderless cover src={'https://github.com/lobehub/lobe-chat/assets/28616219/ecc8364a-cfc4-4a3d-b6fd-68b2d9bc5f0d'} />
<Image alt={'渐进式 Web 应用(PWA'} borderless cover src={'https://github.com/user-attachments/assets/9647f70f-b71b-43b6-9564-7cdd12d1c24d'} />
我们深知在当今多设备环境下为用户提供无缝体验的重要性。为此,我们采用了渐进式 Web 应用 [PWA](https://support.google.com/chrome/answer/9658361) 技术,这是一种能够将网页应用提升至接近原生应用体验的现代 Web 技术。通过 PWA,LobeChat 能够在桌面和移动设备上提供高度优化的用户体验,同时保持轻量级和高性能的特点。在视觉和感觉上,我们也经过精心设计,以确保它的界面与原生应用无差别,提供流畅的动画、响应式布局和适配不同设备的屏幕分辨率。
+1 -1
View File
@@ -19,7 +19,7 @@ tags:
borderless
cover
src={
'https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/297746445-0ff762b9-aa08-4337-afb7-12f932b6efbb.png'
'https://github.com/user-attachments/assets/708274a7-2458-494b-a6ec-b73dfa1fa7c2'
}
/>
+1 -1
View File
@@ -19,7 +19,7 @@ tags:
borderless
cover
src={
'https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/297746445-0ff762b9-aa08-4337-afb7-12f932b6efbb.png'
'https://github.com/user-attachments/assets/708274a7-2458-494b-a6ec-b73dfa1fa7c2'
}
/>

Some files were not shown because too many files have changed in this diff Show More